objectionary / eo

EOLANG, an Experimental Pure Object-Oriented Programming Language Based on 𝜑-calculus
https://www.eolang.org
MIT License
1.16k stars 150 forks source link

Unable to compile "Hello World" program from README #3994

Closed Suban05 closed 1 month ago

Suban05 commented 1 month ago

in new version 0.53.0 I can't compile the following eo program:

+package foo

# Just prints hello.
[args] > app
  QQ.io.stdout > @
    "Hello, world!\n"

I run

eoc --easy --parser=0.53.0 --home-tag=0.53.0 dataize foo.app

I get the error:

[ERROR] org.eolang.sys.win32:2 The line 2 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.sys.win32:3 The line 3 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.sys.win32:4 The line 4 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.sys.win32:5 The line 5 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.sys.win32:6 The line 6 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.sys.win32:7 The line 7 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.sys.win32:8 The line 8 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.sys.win32:9 The line 9 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.sys.win32:28 The line 28 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.sys.win32:28 The line 28 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.sys.win32:28 The line 28 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.sys.win32:28 The line 28 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.sys.win32:28 The line 28 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.try:6 Using the +rt meta without any atoms in the program doesn't make sense (rt-without-atoms)
[ERROR] org.eolang.try:14 The global object doesn't have a name (@base='Q.org.eolang.org.eolang.bytes') (global-noname)
[ERROR] org.eolang.sys.win32:28 The line 28 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.sys.win32:28 The line 28 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.sys.win32:28 The line 28 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.sys.win32:19 The line 19 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.sys.win32:6 Using the +rt meta without any atoms in the program doesn't make sense (rt-without-atoms)
[ERROR] org.eolang.sys.os:2 The line 2 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.sys.os:3 The line 3 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.sys.os:4 The line 4 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.sys.os:5 The line 5 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.sys.os:6 The line 6 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.sys.os:7 The line 7 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.sys.os:8 The line 8 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.sys.os:9 The line 9 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.sys.os:23 The line 23 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.sys.os:23 The line 23 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.sys.os:23 The line 23 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.sys.os:14 The line 14 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.sys.os:3 The alias "Q.org.eolang.txt.regex" is not used, but defined as "regex⌴Q.org.eolang.txt.regex" (unused-alias)
[ERROR] org.eolang.sys.os:7 Using the +rt meta without any atoms in the program doesn't make sense (rt-without-atoms)
[ERROR] org.eolang.error:6 Using the +rt meta without any atoms in the program doesn't make sense (rt-without-atoms)
[ERROR] org.eolang.error:16 The global object doesn't have a name (@base='Q.org.eolang.org.eolang.error') (global-noname)
[ERROR] org.eolang.txt.sprintf:6 Using the +rt meta without any atoms in the program doesn't make sense (rt-without-atoms)
[ERROR] org.eolang.txt.sprintf:19 The global object doesn't have a name (@base='Q.org.eolang.org.eolang.string') (global-noname)
[ERROR] org.eolang.number:2 The line 2 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.number:3 The line 3 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.number:4 The line 4 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.number:5 The line 5 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.number:6 The line 6 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.number:7 The line 7 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.number:8 The line 8 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.number:30 The line 30 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.number:77 The line 77 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.number:91 The line 91 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.number:96 The line 96 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.number:109 The line 109 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.number:113 The line 113 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.number:30 The line 30 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.number:30 The line 30 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.number:30 The line 30 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.number:14 The line 14 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.number:6 Using the +rt meta without any atoms in the program doesn't make sense (rt-without-atoms)
[ERROR] org.eolang.bytes:2 The line 2 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.bytes:3 The line 3 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.bytes:4 The line 4 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.bytes:5 The line 5 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.bytes:6 The line 6 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.bytes:7 The line 7 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.bytes:8 The line 8 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.bytes:9 The line 9 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.bytes:70 The line 70 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.bytes:74 The line 74 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.bytes:77 The line 77 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.bytes:80 The line 80 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.bytes:83 The line 83 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.bytes:86 The line 86 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.bytes:89 The line 89 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.bytes:95 The line 95 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.bytes:100 The line 100 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.bytes:70 The line 70 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.bytes:70 The line 70 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.bytes:70 The line 70 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.bytes:70 The line 70 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.bytes:16 The line 16 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.bytes:3 The alias "Q.org.eolang.txt.sprintf" is not used, but defined as "sprintf⌴Q.org.eolang.txt.sprintf" (unused-alias)
[ERROR] org.eolang.bytes:7 Using the +rt meta without any atoms in the program doesn't make sense (rt-without-atoms)
[ERROR] org.eolang.sys.posix:2 The line 2 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.sys.posix:3 The line 3 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.sys.posix:4 The line 4 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.sys.posix:5 The line 5 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.sys.posix:6 The line 6 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.sys.posix:7 The line 7 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.sys.posix:8 The line 8 is out of listing, which contains only 1 lines (meta-line-out-of-listing)
[ERROR] org.eolang.sys.posix:20 The line 20 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.sys.posix:20 The line 20 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.sys.posix:20 The line 20 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.sys.posix:20 The line 20 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.sys.posix:14 The line 14 is out of listing, which contains only 1 lines (error-line-out-of-listing)
[ERROR] org.eolang.sys.posix:6 Using the +rt meta without any atoms in the program doesn't make sense (rt-without-atoms)
[ERROR] org.eolang.sys.os:3 Alias "regex Q.org.eolang.txt.regex" points to "org.eolang.txt.regex", but it's not in scope (17): ["foo.app", "org.eolang.try", "org.eolang.sys.win32", "org.eolang.false", "org.eolang.dataized", "org.eolang.true", "org.eolang.io.console", "org.eolang.string", "org.eolang.number", "org.eolang.error", "org.eolang.sys.os", "org.eolang.io.stdout", "org.eolang.txt.sprintf", "org.eolang.bytes", "org.eolang.sys.posix", "org.eolang.tuple", "org.eolang.seq"] (incorrect-alias)
[ERROR] In 17 XMIR files, we found 1 critical error, and 206 warnings (must stop here)
[ERROR] Failed to execute goal org.eolang:eo-maven-plugin:0.53.0:lint (default-cli) on project eoc: 'LintMojo' execution failed: java.lang.IllegalStateException: In 17 XMIR files, we found 1 critical error, and 206 warnings (must stop here) -> [Help 1]

although if I use version 0.52, then everything compiles:

eoc --easy --parser=0.52.0 --home-tag=0.52.0 dataize foo.app

System

Ubuntu 24.04.2

Due to this issue, I can't check if tickets #3986 and #3990 are fixed.

Suban05 commented 1 month ago

@maxonfjvipon please help

yegor256 commented 1 month ago

@Suban05 I suspect it's Windows?

Suban05 commented 1 month ago

@yegor256 no, I use Ubuntu 24.04.2

yegor256 commented 1 month ago

@Suban05 can you show what's inside .eoc/**/org/eolang/sys/posix.xmir file?

maxonfjvipon commented 1 month ago

@Suban05 you got the issue before we updated EO objects in objectionary/home, not it should work

Suban05 commented 1 month ago

@maxonfjvipon got it, yes, now it compiles. I'm closing the problem, thank you