objectionary / eo-phi-normalizer

Command Line Normalizer and Rewriter of 𝜑-calculus Expressions (part of EOLANG family)
https://www.objectionary.com/eo-phi-normalizer/
MIT License
7 stars 2 forks source link

Run normalizer on the `spring-fat` archive with the optimization as a custom rule #379

Closed deemp closed 1 month ago

deemp commented 5 months ago

Details

Here's an instruction on running opeo.

Here's the latest archive https://github.com/objectionary/normalizer/issues/379#issuecomment-2276113231.

Questions & Answers

Subtasks

deemp commented 5 months ago

@volodya-lombrozo, what is the "main" PHI file in the spring-fat.zip archive?

volodya-lombrozo commented 5 months ago

@deemp I don't clearly understand what is the "main" PHI file, but all the files we are interested in are placed in ./spring-fat/org/eolang/jeo/spring. I've checked the archive and it doesn't contain the necessary Factorial.phi file. Could you try to print PHI expressions one more time with the newest opeo-maven-plugin version?

deemp commented 5 months ago

@volodya-lombrozo, I got phi-expressions.zip with the latest opeo-maven-plugin. I do see Factorial.phi. Is this the "main file" (the file that we should normalize)?

deemp commented 5 months ago

@fizruk, I got a parsing error.

normalizer dataize --recursive --minimize-stuck-terms --as-package org/eolang/jeo/spring/Factorial.phi 
normalizer: An error occurred when parsing the input program:
syntax error at line 19, column 22 before `access-j$d'
volodya-lombrozo commented 5 months ago

@volodya-lombrozo, I got phi-expressions.zip with the latest opeo-maven-plugin. I do see Factorial.phi. Is this the "main file" (the file that we should normalize)?

@deemp Yes

volodya-lombrozo commented 5 months ago

@fizruk, I got a parsing error.

normalizer dataize --recursive --minimize-stuck-terms --as-package org/eolang/jeo/spring/Factorial.phi 
normalizer: An error occurred when parsing the input program:
syntax error at line 19, column 22 before `access-j$d'

@deemp I will create an issue for that. Thank you. Could you provide a bit of context, please? Which version of normalizer you are using and where I can get it?

deemp commented 5 months ago

I use normalizer from the last commit on master.

You can install the normalizer from the repository (link).

fizruk commented 5 months ago

@fizruk, I got a parsing error.

It appears that Fibonacci.phi contains invalid syntax:

              j$d ↦ ξ.field(
                α0 ↦ access-j$d ↦ ξ.int(
                  Δ ⤍ 00-00-00-00-00-00-00-02
                ),
                α1 ↦ descriptor-j$d ↦ ξ.string(
                  Δ ⤍ 49-
                ),
                α2 ↦ signature-j$d ↦ ξ.string(
                  Δ ⤍ --
                ),
                α3 ↦ value-j$d ↦ ξ.int(
                  Δ ⤍ --
                )
              ),

I do not think that α0 ↦ access-j$d ↦ ... is valid? @maxonfjvipon perhaps, this concerns eo phi?

deemp commented 4 months ago

@volodya-lombrozo, I ran the translation again.

Here are the resulting files phi-expressions.zip.

Here's the command I used.

normalizer dataize --recursive --minimize-stuck-terms --as-package phi-expressions/org/eolang/jeo/spring/Factorial.phi

I got a syntax error.

normalizer: An error occurred when parsing the input program:
syntax error at line 113, column 17 before `'

Here's the code at this location.

new-KEkpVg== ↦ ⟦
                Φ.org.eolang.int(
                  α0 ↦ Φ.org.eolang.bytes(
                    Δ ⤍ 00-00-00-00-00-00-00-00
                  )
                ),

The problem here is that Φ.org.eolang.int isn't attached to an attribute.

volodya-lombrozo commented 3 months ago

@deemp Thank you for the raising the problem. Indeed, it is a bug in the opeo-maven-plugin. This happened, because we disabled this syntax check in eo-maven-plugin for some reason. I will fix it soon.

deemp commented 3 months ago

@volodya-lombrozo, I ran the following command in the root of the opeo-maven-plugin repo.

mvn clean integration-test -Dinvoker.test=spring-fat -DskipTests -Dinvoker.invokerPropertiesFile="invoker.phi.properties"

I got an error.

[ERROR] Processing terminated by xsl:message at line 31 in fail-on-errors.xsl
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  18:18 min
[INFO] Finished at: 2024-08-02T11:48:20+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eolang:eo-maven-plugin:0.39.0:xmir-to-phi (convert-xmir-to-phi) on project opeo-spring-fat-it: 'org.eolang.maven.PhiMojo@20be0042' execution failed: java.io.UncheckedIOException: java.io.IOException: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Failed to transform by net.sf.saxon.jaxp.TransformerImpl: Processing terminated by xsl:message at line 31 in fail-on-errors.xsl; SystemID: file:///org/eolang/parser/fail-on-errors.xsl; Line#: 31; Column#: 34 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eolang:eo-maven-plugin:0.39.0:xmir-to-phi (convert-xmir-to-phi) on project opeo-spring-fat-it: 'org.eolang.maven.PhiMojo@20be0042' execution failed
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
    at java.lang.reflect.Method.invoke (Method.java:580)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
Caused by: org.apache.maven.plugin.MojoFailureException: 'org.eolang.maven.PhiMojo@20be0042' execution failed
    at org.eolang.maven.SafeMojo.exitError (SafeMojo.java:391)
    at org.eolang.maven.SafeMojo.execute (SafeMojo.java:292)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
    at java.lang.reflect.Method.invoke (Method.java:580)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
Caused by: java.util.concurrent.ExecutionException: java.io.UncheckedIOException: java.io.IOException: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Failed to transform by net.sf.saxon.jaxp.TransformerImpl: Processing terminated by xsl:message at line 31 in fail-on-errors.xsl; SystemID: file:///org/eolang/parser/fail-on-errors.xsl; Line#: 31; Column#: 34
    at java.util.concurrent.FutureTask.report (FutureTask.java:122)
    at java.util.concurrent.FutureTask.get (FutureTask.java:205)
    at org.eolang.maven.SafeMojo.execWithTimeout (SafeMojo.java:340)
    at org.eolang.maven.SafeMojo.execute (SafeMojo.java:274)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
    at java.lang.reflect.Method.invoke (Method.java:580)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
Caused by: java.io.UncheckedIOException: java.io.IOException: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Failed to transform by net.sf.saxon.jaxp.TransformerImpl: Processing terminated by xsl:message at line 31 in fail-on-errors.xsl; SystemID: file:///org/eolang/parser/fail-on-errors.xsl; Line#: 31; Column#: 34
    at org.cactoos.scalar.Unchecked.value (Unchecked.java:58)
    at org.cactoos.iterator.Mapped$1.next (Mapped.java:68)
    at org.cactoos.iterator.IteratorEnvelope.next (IteratorEnvelope.java:59)
    at org.cactoos.scalar.Folded.value (Folded.java:82)
    at org.cactoos.number.NumberOfScalars.lambda$new$1 (NumberOfScalars.java:68)
    at org.cactoos.scalar.Checked.value (Checked.java:76)
    at org.cactoos.scalar.IoChecked.value (IoChecked.java:63)
    at org.cactoos.scalar.Unchecked.value (Unchecked.java:56)
    at org.cactoos.number.NumberOfScalars.intValue (NumberOfScalars.java:93)
    at org.cactoos.number.NumberEnvelope.intValue (NumberEnvelope.java:55)
    at org.eolang.maven.PhiMojo.exec (PhiMojo.java:190)
    at org.eolang.maven.SafeMojo.lambda$execWithTimeout$4 (SafeMojo.java:337)
    at java.util.concurrent.FutureTask.run (FutureTask.java:317)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1144)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:642)
    at java.lang.Thread.run (Thread.java:1583)
Caused by: java.io.IOException: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Failed to transform by net.sf.saxon.jaxp.TransformerImpl: Processing terminated by xsl:message at line 31 in fail-on-errors.xsl; SystemID: file:///org/eolang/parser/fail-on-errors.xsl; Line#: 31; Column#: 34
    at org.cactoos.func.UncheckedFunc.lambda$apply$0 (UncheckedFunc.java:56)
    at org.cactoos.scalar.Checked.value (Checked.java:76)
    at org.cactoos.scalar.IoChecked.value (IoChecked.java:63)
    at org.cactoos.scalar.Unchecked.value (Unchecked.java:56)
    at org.cactoos.func.UncheckedFunc.apply (UncheckedFunc.java:57)
    at org.cactoos.scalar.Checked.wrappedException (Checked.java:100)
    at org.cactoos.scalar.Checked.value (Checked.java:85)
    at org.cactoos.scalar.IoChecked.value (IoChecked.java:63)
    at org.cactoos.scalar.Unchecked.value (Unchecked.java:56)
    at org.cactoos.iterator.Mapped$1.next (Mapped.java:68)
    at org.cactoos.iterator.IteratorEnvelope.next (IteratorEnvelope.java:59)
    at org.cactoos.scalar.Folded.value (Folded.java:82)
    at org.cactoos.number.NumberOfScalars.lambda$new$1 (NumberOfScalars.java:68)
    at org.cactoos.scalar.Checked.value (Checked.java:76)
    at org.cactoos.scalar.IoChecked.value (IoChecked.java:63)
    at org.cactoos.scalar.Unchecked.value (Unchecked.java:56)
    at org.cactoos.number.NumberOfScalars.intValue (NumberOfScalars.java:93)
    at org.cactoos.number.NumberEnvelope.intValue (NumberEnvelope.java:55)
    at org.eolang.maven.PhiMojo.exec (PhiMojo.java:190)
    at org.eolang.maven.SafeMojo.lambda$execWithTimeout$4 (SafeMojo.java:337)
    at java.util.concurrent.FutureTask.run (FutureTask.java:317)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1144)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:642)
    at java.lang.Thread.run (Thread.java:1583)
Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Failed to transform by net.sf.saxon.jaxp.TransformerImpl: Processing terminated by xsl:message at line 31 in fail-on-errors.xsl; SystemID: file:///org/eolang/parser/fail-on-errors.xsl; Line#: 31; Column#: 34
    at java.util.concurrent.FutureTask.report (FutureTask.java:122)
    at java.util.concurrent.FutureTask.get (FutureTask.java:191)
    at org.cactoos.scalar.Mapped.lambda$new$0 (Mapped.java:58)
    at org.cactoos.scalar.ScalarEnvelope.value (ScalarEnvelope.java:53)
    at org.cactoos.scalar.Checked.value (Checked.java:76)
    at org.cactoos.scalar.IoChecked.value (IoChecked.java:63)
    at org.cactoos.scalar.Unchecked.value (Unchecked.java:56)
    at org.cactoos.iterator.Mapped$1.next (Mapped.java:68)
    at org.cactoos.iterator.IteratorEnvelope.next (IteratorEnvelope.java:59)
    at org.cactoos.scalar.Folded.value (Folded.java:82)
    at org.cactoos.number.NumberOfScalars.lambda$new$1 (NumberOfScalars.java:68)
    at org.cactoos.scalar.Checked.value (Checked.java:76)
    at org.cactoos.scalar.IoChecked.value (IoChecked.java:63)
    at org.cactoos.scalar.Unchecked.value (Unchecked.java:56)
    at org.cactoos.number.NumberOfScalars.intValue (NumberOfScalars.java:93)
    at org.cactoos.number.NumberEnvelope.intValue (NumberEnvelope.java:55)
    at org.eolang.maven.PhiMojo.exec (PhiMojo.java:190)
    at org.eolang.maven.SafeMojo.lambda$execWithTimeout$4 (SafeMojo.java:337)
    at java.util.concurrent.FutureTask.run (FutureTask.java:317)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1144)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:642)
    at java.lang.Thread.run (Thread.java:1583)
Caused by: java.lang.IllegalArgumentException: Failed to transform by net.sf.saxon.jaxp.TransformerImpl: Processing terminated by xsl:message at line 31 in fail-on-errors.xsl; SystemID: file:///org/eolang/parser/fail-on-errors.xsl; Line#: 31; Column#: 34
    at com.jcabi.xml.XSLDocument.transformInto (XSLDocument.java:468)
    at com.jcabi.xml.XSLDocument.transform (XSLDocument.java:420)
    at com.yegor256.xsline.StXSL.lambda$new$1 (StXSL.java:45)
    at com.yegor256.xsline.StLambda.apply (StLambda.java:115)
    at com.yegor256.xsline.StEnvelope.apply (StEnvelope.java:61)
    at com.yegor256.xsline.StEnvelope.apply (StEnvelope.java:61)
    at com.yegor256.xsline.Xsline.pass (Xsline.java:85)
    at org.eolang.maven.PhiMojo.translated (PhiMojo.java:241)
    at org.eolang.maven.PhiMojo.lambda$exec$0 (PhiMojo.java:152)
    at org.cactoos.scalar.CallableEnvelope.call (CallableEnvelope.java:53)
    at java.util.concurrent.FutureTask.run (FutureTask.java:317)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1144)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:642)
    at java.lang.Thread.run (Thread.java:1583)
Caused by: net.sf.saxon.expr.instruct.TerminationException: Processing terminated by xsl:message at line 31 in fail-on-errors.xsl
    at net.sf.saxon.expr.instruct.MessageInstr$MessageInstrElaborator.lambda$elaborateForPush$0 (MessageInstr.java:361)
    at net.sf.saxon.expr.instruct.Block$BlockElaborator.lambda$elaborateForPush$1 (Block.java:851)
    at net.sf.saxon.expr.LetExpression$LetExprElaborator.lambda$elaborateForPush$6 (LetExpression.java:942)
    at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail (TemplateRule.java:376)
    at net.sf.saxon.trans.Mode.handleRuleNotNull (Mode.java:587)
    at net.sf.saxon.trans.Mode.applyTemplates (Mode.java:521)
    at net.sf.saxon.expr.instruct.ApplyTemplates$ApplyTemplatesElaborator.lambda$elaborateForPush$1 (ApplyTemplates.java:655)
    at net.sf.saxon.expr.instruct.Copy$CopyElaborator.lambda$elaborateForPush$0 (Copy.java:589)
    at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail (TemplateRule.java:376)
    at net.sf.saxon.trans.Mode.handleRuleNotNull (Mode.java:587)
    at net.sf.saxon.trans.Mode.applyTemplates (Mode.java:521)
    at net.sf.saxon.expr.instruct.ApplyTemplates$ApplyTemplatesElaborator.lambda$elaborateForPush$1 (ApplyTemplates.java:655)
    at net.sf.saxon.expr.instruct.Copy$CopyElaborator.lambda$elaborateForPush$0 (Copy.java:589)
    at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail (TemplateRule.java:376)
    at net.sf.saxon.trans.Mode.handleRuleNotNull (Mode.java:587)
    at net.sf.saxon.trans.Mode.applyTemplates (Mode.java:521)
    at net.sf.saxon.trans.rules.TextOnlyCopyRuleSet.process (TextOnlyCopyRuleSet.java:72)
    at net.sf.saxon.trans.Mode.applyTemplates (Mode.java:518)
    at net.sf.saxon.trans.XsltController.applyTemplates (XsltController.java:684)
    at net.sf.saxon.s9api.AbstractXsltTransformer.applyTemplatesToSource (AbstractXsltTransformer.java:430)
    at net.sf.saxon.s9api.XsltTransformer.transform (XsltTransformer.java:358)
    at net.sf.saxon.jaxp.TransformerImpl.transform (TransformerImpl.java:75)
    at com.jcabi.xml.XSLDocument.transformInto (XSLDocument.java:458)
    at com.jcabi.xml.XSLDocument.transform (XSLDocument.java:420)
    at com.yegor256.xsline.StXSL.lambda$new$1 (StXSL.java:45)
    at com.yegor256.xsline.StLambda.apply (StLambda.java:115)
    at com.yegor256.xsline.StEnvelope.apply (StEnvelope.java:61)
    at com.yegor256.xsline.StEnvelope.apply (StEnvelope.java:61)
    at com.yegor256.xsline.Xsline.pass (Xsline.java:85)
    at org.eolang.maven.PhiMojo.translated (PhiMojo.java:241)
    at org.eolang.maven.PhiMojo.lambda$exec$0 (PhiMojo.java:152)
    at org.cactoos.scalar.CallableEnvelope.call (CallableEnvelope.java:53)
    at java.util.concurrent.FutureTask.run (FutureTask.java:317)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1144)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:642)
    at java.lang.Thread.run (Thread.java:1583)
[ERROR] 
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Running post-build script: /home/eyjafjallajokull/Desktop/gh/opeo-maven-plugin/target/it/spring-fat/verify.groovy
Assertion failed: 

assert success
       |
       false

        at org.codehaus.groovy.runtime.InvokerHelper.createAssertError(InvokerHelper.java:414)
        at Script1.run(Script1.groovy:28)
        at groovy.lang.GroovyShell.evaluate(GroovyShell.java:460)
        at groovy.lang.GroovyShell.evaluate(GroovyShell.java:495)
        at groovy.lang.GroovyShell.evaluate(GroovyShell.java:469)
        at org.apache.maven.shared.scriptinterpreter.GroovyScriptInterpreter.evaluateScript(GroovyScriptInterpreter.java:85)
        at org.apache.maven.shared.scriptinterpreter.ScriptRunner.executeRun(ScriptRunner.java:222)
        at org.apache.maven.shared.scriptinterpreter.ScriptRunner.run(ScriptRunner.java:158)
        at org.apache.maven.plugins.invoker.AbstractInvokerMojo.runPostBuildHook(AbstractInvokerMojo.java:1957)
        at org.apache.maven.plugins.invoker.AbstractInvokerMojo.runBuild(AbstractInvokerMojo.java:1914)
        at org.apache.maven.plugins.invoker.AbstractInvokerMojo.runBuild(AbstractInvokerMojo.java:1584)
        at org.apache.maven.plugins.invoker.AbstractInvokerMojo.lambda$runBuilds$4(AbstractInvokerMojo.java:1346)
        at org.apache.maven.plugins.invoker.JobExecutor.lambda$forEach$0(JobExecutor.java:63)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
        at java.base/java.lang.Thread.run(Thread.java:1583)
*** end build.log for: spring-fat/pom.xml ***

[ERROR] -------------------------------------------------
[ERROR] 
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 0, Failed: 1, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] *  spring-fat/pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  19:18 min
[INFO] Finished at: 2024-08-02T11:48:25+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:3.7.0:run (default) on project opeo-maven-plugin: 1 build failed. See console output above for details. -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
deemp commented 3 months ago

@volodya-lombrozo, will try again.

deemp commented 3 months ago

@volodya-lombrozo, the same error again.

[INFO] Translated to phi: module-info.xmir (1Kb) -> module-info.phi (387b)
[ERROR] Processing terminated by xsl:message at line 31 in fail-on-errors.xsl
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  21:27 min
[INFO] Finished at: 2024-08-02T12:25:12+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eolang:eo-maven-plugin:0.39.0:xmir-to-phi (convert-xmir-to-phi) on project opeo-spring-fat-it: 'org.eolang.maven.PhiMojo@47dd0136' execution failed: java.io.UncheckedIOException: java.io.IOException: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Failed to transform by net.sf.saxon.jaxp.TransformerImpl: ; Processing terminated by xsl:message at line 31 in fail-on-errors.xsl; SystemID: file:///org/eolang/parser/fail-on-errors.xsl; Line#: 31; Column#: 34 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eolang:eo-maven-plugin:0.39.0:xmir-to-phi (convert-xmir-to-phi) on project opeo-spring-fat-it: 'org.eolang.maven.PhiMojo@47dd0136' execution failed
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
    at java.lang.reflect.Method.invoke (Method.java:580)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
Caused by: org.apache.maven.plugin.MojoFailureException: 'org.eolang.maven.PhiMojo@47dd0136' execution failed
    at org.eolang.maven.SafeMojo.exitError (SafeMojo.java:391)
    at org.eolang.maven.SafeMojo.execute (SafeMojo.java:292)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
    at java.lang.reflect.Method.invoke (Method.java:580)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
Caused by: java.util.concurrent.ExecutionException: java.io.UncheckedIOException: java.io.IOException: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Failed to transform by net.sf.saxon.jaxp.TransformerImpl: ; Processing terminated by xsl:message at line 31 in fail-on-errors.xsl; SystemID: file:///org/eolang/parser/fail-on-errors.xsl; Line#: 31; Column#: 34
    at java.util.concurrent.FutureTask.report (FutureTask.java:122)
    at java.util.concurrent.FutureTask.get (FutureTask.java:205)
    at org.eolang.maven.SafeMojo.execWithTimeout (SafeMojo.java:340)
    at org.eolang.maven.SafeMojo.execute (SafeMojo.java:274)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
    at java.lang.reflect.Method.invoke (Method.java:580)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
Caused by: java.io.UncheckedIOException: java.io.IOException: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Failed to transform by net.sf.saxon.jaxp.TransformerImpl: ; Processing terminated by xsl:message at line 31 in fail-on-errors.xsl; SystemID: file:///org/eolang/parser/fail-on-errors.xsl; Line#: 31; Column#: 34
    at org.cactoos.scalar.Unchecked.value (Unchecked.java:58)
    at org.cactoos.iterator.Mapped$1.next (Mapped.java:68)
    at org.cactoos.iterator.IteratorEnvelope.next (IteratorEnvelope.java:59)
    at org.cactoos.scalar.Folded.value (Folded.java:82)
    at org.cactoos.number.NumberOfScalars.lambda$new$1 (NumberOfScalars.java:68)
    at org.cactoos.scalar.Checked.value (Checked.java:76)
    at org.cactoos.scalar.IoChecked.value (IoChecked.java:63)
    at org.cactoos.scalar.Unchecked.value (Unchecked.java:56)
    at org.cactoos.number.NumberOfScalars.intValue (NumberOfScalars.java:93)
    at org.cactoos.number.NumberEnvelope.intValue (NumberEnvelope.java:55)
    at org.eolang.maven.PhiMojo.exec (PhiMojo.java:190)
    at org.eolang.maven.SafeMojo.lambda$execWithTimeout$4 (SafeMojo.java:337)
    at java.util.concurrent.FutureTask.run (FutureTask.java:317)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1144)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:642)
    at java.lang.Thread.run (Thread.java:1583)
Caused by: java.io.IOException: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Failed to transform by net.sf.saxon.jaxp.TransformerImpl: ; Processing terminated by xsl:message at line 31 in fail-on-errors.xsl; SystemID: file:///org/eolang/parser/fail-on-errors.xsl; Line#: 31; Column#: 34
    at org.cactoos.func.UncheckedFunc.lambda$apply$0 (UncheckedFunc.java:56)
    at org.cactoos.scalar.Checked.value (Checked.java:76)
    at org.cactoos.scalar.IoChecked.value (IoChecked.java:63)
    at org.cactoos.scalar.Unchecked.value (Unchecked.java:56)
    at org.cactoos.func.UncheckedFunc.apply (UncheckedFunc.java:57)
    at org.cactoos.scalar.Checked.wrappedException (Checked.java:100)
    at org.cactoos.scalar.Checked.value (Checked.java:85)
    at org.cactoos.scalar.IoChecked.value (IoChecked.java:63)
    at org.cactoos.scalar.Unchecked.value (Unchecked.java:56)
    at org.cactoos.iterator.Mapped$1.next (Mapped.java:68)
    at org.cactoos.iterator.IteratorEnvelope.next (IteratorEnvelope.java:59)
    at org.cactoos.scalar.Folded.value (Folded.java:82)
    at org.cactoos.number.NumberOfScalars.lambda$new$1 (NumberOfScalars.java:68)
    at org.cactoos.scalar.Checked.value (Checked.java:76)
    at org.cactoos.scalar.IoChecked.value (IoChecked.java:63)
    at org.cactoos.scalar.Unchecked.value (Unchecked.java:56)
    at org.cactoos.number.NumberOfScalars.intValue (NumberOfScalars.java:93)
    at org.cactoos.number.NumberEnvelope.intValue (NumberEnvelope.java:55)
    at org.eolang.maven.PhiMojo.exec (PhiMojo.java:190)
    at org.eolang.maven.SafeMojo.lambda$execWithTimeout$4 (SafeMojo.java:337)
    at java.util.concurrent.FutureTask.run (FutureTask.java:317)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1144)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:642)
    at java.lang.Thread.run (Thread.java:1583)
Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Failed to transform by net.sf.saxon.jaxp.TransformerImpl: ; Processing terminated by xsl:message at line 31 in fail-on-errors.xsl; SystemID: file:///org/eolang/parser/fail-on-errors.xsl; Line#: 31; Column#: 34
    at java.util.concurrent.FutureTask.report (FutureTask.java:122)
    at java.util.concurrent.FutureTask.get (FutureTask.java:191)
    at org.cactoos.scalar.Mapped.lambda$new$0 (Mapped.java:58)
    at org.cactoos.scalar.ScalarEnvelope.value (ScalarEnvelope.java:53)
    at org.cactoos.scalar.Checked.value (Checked.java:76)
    at org.cactoos.scalar.IoChecked.value (IoChecked.java:63)
    at org.cactoos.scalar.Unchecked.value (Unchecked.java:56)
    at org.cactoos.iterator.Mapped$1.next (Mapped.java:68)
    at org.cactoos.iterator.IteratorEnvelope.next (IteratorEnvelope.java:59)
    at org.cactoos.scalar.Folded.value (Folded.java:82)
    at org.cactoos.number.NumberOfScalars.lambda$new$1 (NumberOfScalars.java:68)
    at org.cactoos.scalar.Checked.value (Checked.java:76)
    at org.cactoos.scalar.IoChecked.value (IoChecked.java:63)
    at org.cactoos.scalar.Unchecked.value (Unchecked.java:56)
    at org.cactoos.number.NumberOfScalars.intValue (NumberOfScalars.java:93)
    at org.cactoos.number.NumberEnvelope.intValue (NumberEnvelope.java:55)
    at org.eolang.maven.PhiMojo.exec (PhiMojo.java:190)
    at org.eolang.maven.SafeMojo.lambda$execWithTimeout$4 (SafeMojo.java:337)
    at java.util.concurrent.FutureTask.run (FutureTask.java:317)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1144)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:642)
    at java.lang.Thread.run (Thread.java:1583)
Caused by: java.lang.IllegalArgumentException: Failed to transform by net.sf.saxon.jaxp.TransformerImpl: ; Processing terminated by xsl:message at line 31 in fail-on-errors.xsl; SystemID: file:///org/eolang/parser/fail-on-errors.xsl; Line#: 31; Column#: 34
    at com.jcabi.xml.XSLDocument.transformInto (XSLDocument.java:468)
    at com.jcabi.xml.XSLDocument.transform (XSLDocument.java:420)
    at com.yegor256.xsline.StXSL.lambda$new$1 (StXSL.java:45)
    at com.yegor256.xsline.StLambda.apply (StLambda.java:115)
    at com.yegor256.xsline.StEnvelope.apply (StEnvelope.java:61)
    at com.yegor256.xsline.StEnvelope.apply (StEnvelope.java:61)
    at com.yegor256.xsline.Xsline.pass (Xsline.java:85)
    at org.eolang.maven.PhiMojo.translated (PhiMojo.java:241)
    at org.eolang.maven.PhiMojo.lambda$exec$0 (PhiMojo.java:152)
    at org.cactoos.scalar.CallableEnvelope.call (CallableEnvelope.java:53)
    at java.util.concurrent.FutureTask.run (FutureTask.java:317)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1144)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:642)
    at java.lang.Thread.run (Thread.java:1583)
Caused by: net.sf.saxon.expr.instruct.TerminationException: Processing terminated by xsl:message at line 31 in fail-on-errors.xsl
    at net.sf.saxon.expr.instruct.MessageInstr$MessageInstrElaborator.lambda$elaborateForPush$0 (MessageInstr.java:361)
    at net.sf.saxon.expr.instruct.Block$BlockElaborator.lambda$elaborateForPush$1 (Block.java:851)
    at net.sf.saxon.expr.LetExpression$LetExprElaborator.lambda$elaborateForPush$6 (LetExpression.java:942)
    at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail (TemplateRule.java:376)
    at net.sf.saxon.trans.Mode.handleRuleNotNull (Mode.java:587)
    at net.sf.saxon.trans.Mode.applyTemplates (Mode.java:521)
    at net.sf.saxon.expr.instruct.ApplyTemplates$ApplyTemplatesElaborator.lambda$elaborateForPush$1 (ApplyTemplates.java:655)
    at net.sf.saxon.expr.instruct.Copy$CopyElaborator.lambda$elaborateForPush$0 (Copy.java:589)
    at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail (TemplateRule.java:376)
    at net.sf.saxon.trans.Mode.handleRuleNotNull (Mode.java:587)
    at net.sf.saxon.trans.Mode.applyTemplates (Mode.java:521)
    at net.sf.saxon.expr.instruct.ApplyTemplates$ApplyTemplatesElaborator.lambda$elaborateForPush$1 (ApplyTemplates.java:655)
    at net.sf.saxon.expr.instruct.Copy$CopyElaborator.lambda$elaborateForPush$0 (Copy.java:589)
    at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail (TemplateRule.java:376)
    at net.sf.saxon.trans.Mode.handleRuleNotNull (Mode.java:587)
    at net.sf.saxon.trans.Mode.applyTemplates (Mode.java:521)
    at net.sf.saxon.trans.rules.TextOnlyCopyRuleSet.process (TextOnlyCopyRuleSet.java:72)
    at net.sf.saxon.trans.Mode.applyTemplates (Mode.java:518)
    at net.sf.saxon.trans.XsltController.applyTemplates (XsltController.java:684)
    at net.sf.saxon.s9api.AbstractXsltTransformer.applyTemplatesToSource (AbstractXsltTransformer.java:430)
    at net.sf.saxon.s9api.XsltTransformer.transform (XsltTransformer.java:358)
    at net.sf.saxon.jaxp.TransformerImpl.transform (TransformerImpl.java:75)
    at com.jcabi.xml.XSLDocument.transformInto (XSLDocument.java:458)
    at com.jcabi.xml.XSLDocument.transform (XSLDocument.java:420)
    at com.yegor256.xsline.StXSL.lambda$new$1 (StXSL.java:45)
    at com.yegor256.xsline.StLambda.apply (StLambda.java:115)
    at com.yegor256.xsline.StEnvelope.apply (StEnvelope.java:61)
    at com.yegor256.xsline.StEnvelope.apply (StEnvelope.java:61)
    at com.yegor256.xsline.Xsline.pass (Xsline.java:85)
    at org.eolang.maven.PhiMojo.translated (PhiMojo.java:241)
    at org.eolang.maven.PhiMojo.lambda$exec$0 (PhiMojo.java:152)
    at org.cactoos.scalar.CallableEnvelope.call (CallableEnvelope.java:53)
    at java.util.concurrent.FutureTask.run (FutureTask.java:317)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1144)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:642)
    at java.lang.Thread.run (Thread.java:1583)
[ERROR] 
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Running post-build script: /home/eyjafjallajokull/Desktop/gh/opeo-maven-plugin/target/it/spring-fat/verify.groovy
Assertion failed: 

assert success
       |
       false

        at org.codehaus.groovy.runtime.InvokerHelper.createAssertError(InvokerHelper.java:414)
        at Script1.run(Script1.groovy:28)
        at groovy.lang.GroovyShell.evaluate(GroovyShell.java:460)
        at groovy.lang.GroovyShell.evaluate(GroovyShell.java:495)
        at groovy.lang.GroovyShell.evaluate(GroovyShell.java:469)
        at org.apache.maven.shared.scriptinterpreter.GroovyScriptInterpreter.evaluateScript(GroovyScriptInterpreter.java:85)
        at org.apache.maven.shared.scriptinterpreter.ScriptRunner.executeRun(ScriptRunner.java:222)
        at org.apache.maven.shared.scriptinterpreter.ScriptRunner.run(ScriptRunner.java:158)
        at org.apache.maven.plugins.invoker.AbstractInvokerMojo.runPostBuildHook(AbstractInvokerMojo.java:1957)
        at org.apache.maven.plugins.invoker.AbstractInvokerMojo.runBuild(AbstractInvokerMojo.java:1914)
        at org.apache.maven.plugins.invoker.AbstractInvokerMojo.runBuild(AbstractInvokerMojo.java:1584)
        at org.apache.maven.plugins.invoker.AbstractInvokerMojo.lambda$runBuilds$4(AbstractInvokerMojo.java:1346)
        at org.apache.maven.plugins.invoker.JobExecutor.lambda$forEach$0(JobExecutor.java:63)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
        at java.base/java.lang.Thread.run(Thread.java:1583)
*** end build.log for: spring-fat/pom.xml ***

[ERROR] -------------------------------------------------
[ERROR] 
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 0, Failed: 1, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] *  spring-fat/pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  21:45 min
[INFO] Finished at: 2024-08-02T12:25:17+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:3.7.0:run (default) on project opeo-maven-plugin: 1 build failed. See console output above for details. -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
volodya-lombrozo commented 3 months ago

@deemp Thank you for reporting the bug. I'm working on it now. https://github.com/objectionary/opeo-maven-plugin/issues/344

deemp commented 3 months ago

@volodya-lombrozo, when approximately will the fix be ready?

volodya-lombrozo commented 3 months ago

@deemp I hope at the beginning of the next week.

deemp commented 3 months ago

@volodya-lombrozo, I see there's a new issue. When do you expect to fix it?

volodya-lombrozo commented 3 months ago

@deemp I hoped this issue solves the problem, but it doesn't. So, yes, I have created a new issue for that and I plan to solve it tomorrow.

volodya-lombrozo commented 3 months ago

@deemp Could you try new versions of plugins, please?

deemp commented 3 months ago

@volodya-lombrozo, started running.

deemp commented 3 months ago

@volodya-lombrozo, here's phi-expressions.zip.

I ran

normalizer dataize --recursive --minimize-stuck-terms --as-package phi-expressions/org/eolang/jeo/spring/Factorial.phi

and got a syntax error:

normalizer: An error occurred when parsing the input program:
syntax error at line 59, column 17 before `I'

The problematic line:

I-0 ↦ Φ.org.eolang.param,

AFAIK, in PHI, all attribute labels must start with a lowercase letter.

https://github.com/objectionary/eo/blob/59b85c926ccdc3e891f9848554500ba7de4a526d/eo-parser/src/main/antlr4/org/eolang/parser/Phi.g4#L164

https://github.com/objectionary/normalizer/blob/34833ecaac2d2608493140bb936c28837465e64a/eo-phi-normalizer/grammar/EO/Phi/Syntax.cf#L12

volodya-lombrozo commented 3 months ago

@deemp Could you try one more time with new versions, please?

deemp commented 3 months ago

@volodya-lombrozo, the command worked without errors. I got phi-expressions.zip

deemp commented 3 months ago

@fizruk, I ran

normalizer dataize --recursive --minimize-stuck-terms --as-package phi-expressions/org/eolang/jeo/spring/Factorial.phi

and got

{⟦
  org ↦ ⟦
    eolang ↦ ⟦
      jeo ↦ ⟦
        spring ↦ ⟦
          j$Factorial ↦ ⟦
            version ↦ Φ.org.eolang.int (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 00-00-00-00-00-00-00-34)),
            access ↦ Φ.org.eolang.int (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 00-00-00-00-00-00-00-20)),
            supername ↦ Φ.org.eolang.string (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 6A-61-76-61-2F-6C-61-6E-67-2F-4F-62-6A-65-63-74)),
            interfaces ↦ Φ.org.eolang.tuple.empty, j$d ↦ Φ.org.eolang.field (α0 ↦ ξ.access-j$d, α1 ↦ ξ.descriptor-j$d, α2 ↦ ξ.signature-j$d, α3 ↦ ξ.value-j$d),
            new-KEkpVg== ↦ ⟦
              access ↦ Φ.org.eolang.int (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 00-00-00-00-00-00-00-00)),
              descriptor ↦ Φ.org.eolang.string (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 28-49-29-56)),
              signature ↦ Φ.org.eolang.string (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ --)),
              exceptions ↦ Φ.org.eolang.tuple.empty, maxs ↦ ⟦
                stack ↦ Φ.org.eolang.int (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 00-00-00-00-00-00-00-02)),
                locals ↦ Φ.org.eolang.int (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 00-00-00-00-00-00-00-02))
              ⟧,
              param-SQ==-0 ↦ Φ.org.eolang.param, φ ↦ Φ.org.eolang.seq (α0 ↦ ξ.instructions),
              instructions ↦ Φ.org.eolang.tuple (α0 ↦ Φ.org.eolang.tuple (α0 ↦ Φ.org.eolang.tuple (α0 ↦ Φ.org.eolang.tuple (α0 ↦ Φ.org.eolang.tuple.empty, α1 ↦ Φ.org.eolang.labeled (α0 ↦ Φ.org.eolang.label (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 62-34-62-31-65-37-66-61-2D-31-65-36-62-2D-34-64-37-30-2D-38-33-34-35-2D-65-30-36-33-66-63-35-31-33-36-66-39)))),
              α1 ↦ Φ.org.eolang.labeled (α0 ↦ Φ.org.eolang.string (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 64-65-73-63-72-69-70-74-6F-72-3D-28-29-56-7C-6E-61-6D-65-3D-3C-69-6E-69-74-3E-7C-6F-77-6E-65-72-3D-6A-61-76-61-2F-6C-61-6E-67-2F-4F-62-6A-65-63-74)).super (α0 ↦ ξ (α0 ↦ Φ.org.eolang.string (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 64-65-73-63-72-69-70-74-6F-72-3D-6F-72-67-2E-65-6F-6C-61-6E-67-2E-6A-65-6F-2E-73-70-72-69-6E-67-2E-46-61-63-74-6F-72-69-61-6C)))),
              α1 ↦ Φ.org.eolang.label (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 32-63-62-62-33-63-36-33-2D-62-38-62-35-2D-34-63-39-66-2D-62-62-39-37-2D-35-30-65-39-32-37-61-35-37-65-36-32)))),
              α1 ↦ Φ.org.eolang.labeled (α0 ↦ Φ.org.eolang.string (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 64-65-73-63-72-69-70-74-6F-72-3D-49-7C-6E-61-6D-65-3D-64-7C-6F-77-6E-65-72-3D-6F-72-67-2F-65-6F-6C-61-6E-67-2F-6A-65-6F-2F-73-70-72-69-6E-67-2F-46-61-63-74-6F-72-69-61-6C)).d (α0 ↦ ξ (α0 ↦ Φ.org.eolang.string (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 64-65-73-63-72-69-70-74-6F-72-3D-6F-72-67-2E-65-6F-6C-61-6E-67-2E-6A-65-6F-2E-73-70-72-69-6E-67-2E-46-61-63-74-6F-72-69-61-6C)))).write-field (α0 ↦ Φ.org.eolang.local-1 (α0 ↦ Φ.org.eolang.string (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 64-65-73-63-72-69-70-74-6F-72-3D-49-7C-74-79-70-65-3D-6C-6F-63-61-6C)))),
              α1 ↦ Φ.org.eolang.label (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 64-63-36-39-30-62-61-30-2D-37-66-39-33-2D-34-30-34-64-2D-38-38-35-66-2D-37-30-32-36-66-65-65-30-34-61-66-61)))),
              α1 ↦ Φ.org.eolang.labeled (α0 ↦ Φ.org.eolang.return, α1 ↦ Φ.org.eolang.label (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 32-31-32-61-66-35-34-35-2D-30-37-34-62-2D-34-61-37-35-2D-62-65-34-39-2D-38-62-31-34-39-66-33-35-34-34-35-39))))
            ⟧,
            j$get-KClJ ↦ ⟦
              access ↦ Φ.org.eolang.int (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 00-00-00-00-00-00-00-01)),
              descriptor ↦ Φ.org.eolang.string (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 28-29-49)),
              signature ↦ Φ.org.eolang.string (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ --)),
              exceptions ↦ Φ.org.eolang.tuple.empty, maxs ↦ ⟦
                stack ↦ Φ.org.eolang.int (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 00-00-00-00-00-00-00-04)),
                locals ↦ Φ.org.eolang.int (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 00-00-00-00-00-00-00-01))
              ⟧,
              φ ↦ Φ.org.eolang.seq (α0 ↦ ξ.instructions),
              instructions ↦ Φ.org.eolang.tuple (α0 ↦ Φ.org.eolang.tuple (α0 ↦ Φ.org.eolang.tuple (α0 ↦ Φ.org.eolang.tuple (α0 ↦ Φ.org.eolang.tuple.empty, α1 ↦ Φ.org.eolang.labeled (α0 ↦ Φ.org.eolang.label (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 39-61-35-62-31-34-34-65-2D-33-38-30-32-2D-34-66-63-30-2D-62-36-38-62-2D-31-30-35-36-64-33-30-62-64-30-61-63)))),
              α1 ↦ Φ.org.eolang.labeled (α0 ↦ Φ.org.eolang.string (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 64-65-73-63-72-69-70-74-6F-72-3D-49-7C-6E-61-6D-65-3D-64-7C-6F-77-6E-65-72-3D-6F-72-67-2F-65-6F-6C-61-6E-67-2F-6A-65-6F-2F-73-70-72-69-6E-67-2F-46-61-63-74-6F-72-69-61-6C-7C-74-79-70-65-3D-66-69-65-6C-64)).d (α0 ↦ ξ (α0 ↦ Φ.org.eolang.string (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 64-65-73-63-72-69-70-74-6F-72-3D-6F-72-67-2E-65-6F-6C-61-6E-67-2E-6A-65-6F-2E-73-70-72-69-6E-67-2E-46-61-63-74-6F-72-69-61-6C)))).get-field.gt (α0 ↦ Φ.org.eolang.int (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 00-00-00-00-00-00-00-01))).if (α0 ↦ Φ.org.eolang.label (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 65-31-30-35-62-36-36-65-2D-35-37-64-32-2D-34-35-32-36-2D-62-36-65-62-2D-35-31-31-61-61-66-36-65-66-64-35-33)),
              α1 ↦ Φ.org.eolang.nop),
              α1 ↦ Φ.org.eolang.label (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 63-35-65-38-62-65-35-30-2D-34-63-38-38-2D-34-30-61-30-2D-61-34-31-62-2D-39-38-38-63-61-32-35-36-33-39-36-32)))),
              α1 ↦ Φ.org.eolang.labeled (α0 ↦ Φ.org.eolang.return (α0 ↦ Φ.org.eolang.int (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 00-00-00-00-00-00-00-01))),
              α1 ↦ Φ.org.eolang.label (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 65-31-30-35-62-36-36-65-2D-35-37-64-32-2D-34-35-32-36-2D-62-36-65-62-2D-35-31-31-61-61-66-36-65-66-64-35-33)))),
              α1 ↦ Φ.org.eolang.labeled (α0 ↦ Φ.org.eolang.return (α0 ↦ Φ.org.eolang.times (α0 ↦ Φ.org.eolang.string (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 64-65-73-63-72-69-70-74-6F-72-3D-28-29-49-7C-69-6E-74-65-72-66-61-63-65-64-3D-66-61-6C-73-65-7C-6E-61-6D-65-3D-67-65-74-7C-6F-77-6E-65-72-3D-6F-72-67-2F-65-6F-6C-61-6E-67-2F-6A-65-6F-2F-73-70-72-69-6E-67-2F-46-61-63-74-6F-72-69-61-6C-7C-74-79-70-65-3D-6D-65-74-68-6F-64)).get (α0 ↦ Φ.org.eolang.string (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 64-65-73-63-72-69-70-74-6F-72-3D-28-49-29-56-7C-69-6E-74-65-72-66-61-63-65-64-3D-66-61-6C-73-65)).new (α0 ↦ Φ.org.eolang.duplicated (α0 ↦ Φ.org.eolang.string (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 6F-72-67-2F-65-6F-6C-61-6E-67-2F-6A-65-6F-2F-73-70-72-69-6E-67-2F-46-61-63-74-6F-72-69-61-6C)).new-type),
              α1 ↦ Φ.org.eolang.string (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 64-65-73-63-72-69-70-74-6F-72-3D-49-7C-6E-61-6D-65-3D-64-7C-6F-77-6E-65-72-3D-6F-72-67-2F-65-6F-6C-61-6E-67-2F-6A-65-6F-2F-73-70-72-69-6E-67-2F-46-61-63-74-6F-72-69-61-6C-7C-74-79-70-65-3D-66-69-65-6C-64)).d (α0 ↦ ξ (α0 ↦ Φ.org.eolang.string (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 64-65-73-63-72-69-70-74-6F-72-3D-6F-72-67-2E-65-6F-6C-61-6E-67-2E-6A-65-6F-2E-73-70-72-69-6E-67-2E-46-61-63-74-6F-72-69-61-6C)))).get-field.minus (α0 ↦ Φ.org.eolang.int (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 00-00-00-00-00-00-00-01))))),
              α1 ↦ Φ.org.eolang.string (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 64-65-73-63-72-69-70-74-6F-72-3D-49-7C-6E-61-6D-65-3D-64-7C-6F-77-6E-65-72-3D-6F-72-67-2F-65-6F-6C-61-6E-67-2F-6A-65-6F-2F-73-70-72-69-6E-67-2F-46-61-63-74-6F-72-69-61-6C-7C-74-79-70-65-3D-66-69-65-6C-64)).d (α0 ↦ ξ (α0 ↦ Φ.org.eolang.string (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 64-65-73-63-72-69-70-74-6F-72-3D-6F-72-67-2E-65-6F-6C-61-6E-67-2E-6A-65-6F-2E-73-70-72-69-6E-67-2E-46-61-63-74-6F-72-69-61-6C)))).get-field)),
              α1 ↦ Φ.org.eolang.label (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 66-30-32-34-65-38-34-36-2D-64-37-34-66-2D-34-61-33-33-2D-38-31-30-65-2D-34-37-65-62-66-38-62-32-37-62-36-64))))
            ⟧,
            access-j$d ↦ Φ.org.eolang.int (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 00-00-00-00-00-00-00-02)),
            descriptor-j$d ↦ Φ.org.eolang.string (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 49-)),
            signature-j$d ↦ Φ.org.eolang.string (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ --)),
            value-j$d ↦ Φ.org.eolang.int (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ --))
          ⟧,
          λ ⤍ Package
        ⟧,
        λ ⤍ Package
      ⟧,
      λ ⤍ Package
    ⟧,
    λ ⤍ Package
  ⟧
⟧}

What to do next?

deemp commented 3 months ago

@volodya-lombrozo

  1. How can I convert generated PHI to Java bytecode?
  2. How can I run the bytecode?
volodya-lombrozo commented 3 months ago

@deemp Right now, we have only a one-direction transformation to PHI expressions, and we don't have a back transformation yet. I will implement this issue here.

fizruk commented 1 month ago

It appears that this can be closed in favor of #470.