$ ./2compile_graal.sh
deleting old JAR file ...
copying JAR file to current dir ...
running 'native-image' command on sbtmkdirs_2.13-0.2.jar ...
[sbtmkdirs:11328] classlist: 1,764.38 ms, 0.96 GB
[sbtmkdirs:11328] (cap): 3,299.98 ms, 0.96 GB
[sbtmkdirs:11328] setup: 4,321.97 ms, 0.96 GB
[sbtmkdirs:11328] (clinit): 83.12 ms, 1.20 GB
[sbtmkdirs:11328] (typeflow): 3,533.91 ms, 1.20 GB
[sbtmkdirs:11328] (objects): 3,202.95 ms, 1.20 GB
[sbtmkdirs:11328] (features): 166.95 ms, 1.20 GB
[sbtmkdirs:11328] analysis: 7,162.12 ms, 1.20 GB
Error: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: Invoke with MethodHandle argument could not be reduced to at most a single call or single field access. The method handle must be a compile time constant, e.g., be loaded from a `static final` field. Method that contains the method handle invocation: java.lang.invoke.LambdaForm$MH/1354397278.invoke_MT(Object, Object)
To diagnose the issue, you can add the option --report-unsupported-elements-at-runtime. The error is then reported at run time when the invoke is executed.
Detailed message:
Trace:
at parsing scala.runtime.Statics.releaseFence(Statics.java:148)
Call path from entry point to scala.runtime.Statics.releaseFence():
at scala.runtime.Statics.releaseFence(Statics.java:148)
at scala.collection.immutable.List.map(List.scala:255)
at scala.collection.immutable.List.map(List.scala:79)
at scala.collection.StringOps$.format$extension(StringOps.scala:968)
at scala.Console$.printf(Console.scala:280)
at scala.io.StdIn.readLine(StdIn.scala:40)
at scala.io.StdIn.readLine$(StdIn.scala:39)
at scala.io.StdIn$.readLine(StdIn.scala:241)
at sbtmkdirs.Sbtmkdirs$.delayedEndpoint$sbtmkdirs$Sbtmkdirs$1(Sbtmkdirs.scala:50)
at sbtmkdirs.Sbtmkdirs$delayedInit$body.apply(Sbtmkdirs.scala:8)
at scala.Function0.apply$mcV$sp(Function0.scala:39)
at scala.Function0.apply$mcV$sp$(Function0.scala:39)
at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:17)
at scala.App.$anonfun$main$1(App.scala:73)
at scala.App.$anonfun$main$1$adapted(App.scala:73)
at scala.App$$Lambda$666/0x00000007c0e23840.apply(Unknown Source)
at scala.collection.IterableOnceOps.foreach(IterableOnce.scala:553)
at scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:551)
at scala.collection.AbstractIterable.foreach(Iterable.scala:920)
at scala.App.main(App.scala:73)
at scala.App.main$(App.scala:71)
at sbtmkdirs.Sbtmkdirs$.main(Sbtmkdirs.scala:8)
at sbtmkdirs.Sbtmkdirs.main(Sbtmkdirs.scala)
at com.oracle.svm.core.JavaMainWrapper.runCore(JavaMainWrapper.java:149)
at com.oracle.svm.core.JavaMainWrapper.run(JavaMainWrapper.java:184)
at com.oracle.svm.core.code.IsolateEnterStub.JavaMainWrapper_run_5087f5482cc9a6abc971913ece43acb471d2631b(generated:0)
Error: Use -H:+ReportExceptionStackTraces to print stacktrace of underlying exception
Error: Image build request failed with exit status 1