:aot-smoke-test-plugin:compileJava FROM-CACHE :aot-smoke-test-plugin:pluginDescriptors :aot-smoke-test-plugin:processResources :aot-smoke-test-plugin:classes :aot-smoke-test-plugin:jar :boot:flyway:compileJava FROM-CACHE :boot:flyway:processResources :boot:flyway:classes :boot:flyway:jar :aot-smoke-test-support:compileJava FROM-CACHE :aot-smoke-test-support:processResources NO-SOURCE :aot-smoke-test-support:classes UP-TO-DATE :aot-smoke-test-support:jar :boot:flyway:compileAppTestJava FROM-CACHE :boot:flyway:processAppTestResources NO-SOURCE :boot:flyway:appTestClasses UP-TO-DATE :boot:flyway:resolveMainClassName :boot:flyway:processAot FROM-CACHE :boot:flyway:compileAotJava FROM-CACHE :boot:flyway:processAotResources :boot:flyway:aotClasses :boot:flyway:generateResourcesConfigFile FROM-CACHE :boot:flyway:nativeCompile [native-image-plugin] GraalVM Toolchain detection is disabled [native-image-plugin] GraalVM location read from environment variable: GRAALVM_HOME [native-image-plugin] Native Image executable path: /opt/hostedtoolcache/bellsoft-liberica-vm-linux-amd64/17.0.0/x64/bellsoft-liberica-vm-openjdk17-22.3.5/lib/svm/bin/native-image ======================================================================================================================== GraalVM Native Image: Generating '/home/runner/work/spring-aot-smoke-tests/spring-aot-smoke-tests/boot/flyway/build/native/nativeCompile/flyway' (executable)... ======================================================================================================================== Warning: Method ch.qos.logback.core.FileAppender.valueOf(String) not found. Warning: Method ch.qos.logback.core.Layout.valueOf(String) not found. Warning: Method ch.qos.logback.core.rolling.RollingPolicy.valueOf(String) not found. Warning: Method ch.qos.logback.core.rolling.TriggeringPolicy.valueOf(String) not found. Warning: Method ch.qos.logback.core.spi.ContextAware.valueOf(String) not found. Warning: Method com.zaxxer.hikari.HikariConfig.getScheduledExecutorService() not found. Warning: Method com.zaxxer.hikari.HikariConfig.isInitializationFailFast() not found. Warning: Method com.zaxxer.hikari.HikariConfig.isJdbc4ConnectionTest() not found. Warning: Method com.zaxxer.hikari.HikariConfig.setInitializationFailFast(boolean) not found. Warning: Method com.zaxxer.hikari.HikariConfig.setJdbc4ConnectionTest(boolean) not found. Warning: Method com.zaxxer.hikari.HikariConfig.setScheduledExecutorService(ScheduledThreadPoolExecutor) not found. Warning: Could not register method org.h2.fulltext.FullTextLucene.createIndex(Connection, String, String, String) for reflection. Reason: java.lang.NoClassDefFoundError: org/apache/lucene/index/IndexFormatTooOldException. Warning: Could not register method org.h2.fulltext.FullTextLucene.dropAll(Connection) for reflection. Reason: java.lang.NoClassDefFoundError: org/apache/lucene/index/IndexFormatTooOldException. Warning: Could not register method org.h2.fulltext.FullTextLucene.dropIndex(Connection, String, String) for reflection. Reason: java.lang.NoClassDefFoundError: org/apache/lucene/index/IndexFormatTooOldException. Warning: Could not register method org.h2.fulltext.FullTextLucene.init(Connection) for reflection. Reason: java.lang.NoClassDefFoundError: org/apache/lucene/index/IndexFormatTooOldException. Warning: Could not register method org.h2.fulltext.FullTextLucene.reindex(Connection) for reflection. Reason: java.lang.NoClassDefFoundError: org/apache/lucene/index/IndexFormatTooOldException. Warning: Could not register method org.h2.fulltext.FullTextLucene.search(Connection, String, int, int) for reflection. Reason: java.lang.NoClassDefFoundError: org/apache/lucene/index/IndexFormatTooOldException. Warning: Could not register method org.h2.fulltext.FullTextLucene.searchData(Connection, String, int, int) for reflection. Reason: java.lang.NoClassDefFoundError: org/apache/lucene/index/IndexFormatTooOldException. Warning: Could not register method org.h2.fulltext.FullTextLucene$FullTextTrigger.() for reflection. Reason: java.lang.NoClassDefFoundError: org/apache/lucene/index/IndexableFieldType. Warning: Could not resolve jakarta.inject.Inject for reflection configuration. Reason: java.lang.ClassNotFoundException: jakarta.inject.Inject. Warning: Could not resolve jakarta.inject.Provider for reflection configuration. Reason: java.lang.ClassNotFoundException: jakarta.inject.Provider. Warning: Could not resolve jakarta.inject.Qualifier for reflection configuration. Reason: java.lang.ClassNotFoundException: jakarta.inject.Qualifier. Warning: Could not resolve javax.inject.Inject for reflection configuration. Reason: java.lang.ClassNotFoundException: javax.inject.Inject. Warning: Could not resolve javax.inject.Qualifier for reflection configuration. Reason: java.lang.ClassNotFoundException: javax.inject.Qualifier. Warning: Could not resolve javax.money.MonetaryAmount for reflection configuration. Reason: java.lang.ClassNotFoundException: javax.money.MonetaryAmount. Warning: Could not resolve kotlin.Metadata for reflection configuration. Reason: java.lang.ClassNotFoundException: kotlin.Metadata. Warning: Could not resolve kotlin.reflect.full.KClasses for reflection configuration. Reason: java.lang.ClassNotFoundException: kotlin.reflect.full.KClasses. Warning: Could not resolve org.eclipse.core.runtime.FileLocator for reflection configuration. Reason: java.lang.ClassNotFoundException: org.eclipse.core.runtime.FileLocator. Warning: Could not resolve org.reactivestreams.Publisher for reflection configuration. Reason: java.lang.ClassNotFoundException: org.reactivestreams.Publisher. [1/7] Initializing... (6.5s @ 0.21GB) Version info: 'GraalVM 22.3.5 Java 17 CE' Java version info: '17.0.10+13-LTS' C compiler: gcc (linux, x86_64, 13.2.0) Garbage collector: Serial GC 1 user-specific feature(s) - org.springframework.aot.nativex.feature.PreComputeFieldFeature SLF4J(W): No SLF4J providers were found. SLF4J(W): Defaulting to no-operation (NOP) logger implementation SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details. [2/7] Performing analysis... [*********] (66.1s @ 2.56GB) 15,956 (90.37%) of 17,656 classes reachable 26,164 (66.24%) of 39,500 fields reachable 78,250 (60.01%) of 130,404 methods reachable 902 classes, 293 fields, and 3,998 methods registered for reflection 130 classes, 209 fields, and 111 methods registered for JNI access 7 native libraries: dl, freetype, m, pthread, rt, stdc++, z [3/7] Building universe... (9.2s @ 1.98GB) [4/7] Parsing methods... [***] (6.6s @ 3.68GB) [5/7] Inlining methods... [***] (3.8s @ 2.77GB) [6/7] Compiling methods... [*******] (52.9s @ 3.49GB) [7/7] Creating image... (4.7s @ 2.84GB) 36.60MB (48.51%) for code area: 51,331 compilation units 34.42MB (45.62%) for image heap: 387,292 objects and 188 resources 4.43MB ( 5.87%) for other data 75.45MB in total ------------------------------------------------------------------------------------------------------------------------ Top 10 packages in code area: Top 10 object types in image heap: 1.46MB sun.security.ssl 7.86MB byte[] for code metadata 1.08MB java.util 3.82MB java.lang.Class 834.69KB java.lang.invoke 3.70MB java.lang.String 712.87KB com.sun.crypto.provider 3.17MB byte[] for general heap data 612.37KB org.h2.table 2.93MB byte[] for java.lang.String 581.96KB org.h2.command 2.44MB byte[] for embedded resources 514.43KB java.lang 1.34MB com.oracle.svm.core.hub.DynamicHubCompanion 467.31KB c.s.org.apache.xerces.internal.impl.xs.traversers 889.51KB byte[] for reflection metadata 450.32KB sun.security.x509 738.07KB java.lang.String[] 445.60KB java.util.concurrent 722.11KB java.util.HashMap$Node 29.17MB for 675 more packages 6.21MB for 3265 more object types ------------------------------------------------------------------------------------------------------------------------ 7.8s (5.0% of total time) in 43 GCs | Peak RSS: 5.93GB | CPU load: 3.57 ------------------------------------------------------------------------------------------------------------------------ Produced artifacts: /home/runner/work/spring-aot-smoke-tests/spring-aot-smoke-tests/boot/flyway/build/native/nativeCompile/flyway (executable) /home/runner/work/spring-aot-smoke-tests/spring-aot-smoke-tests/boot/flyway/build/native/nativeCompile/flyway.build_artifacts.txt (txt) ======================================================================================================================== Finished generating '/home/runner/work/spring-aot-smoke-tests/spring-aot-smoke-tests/boot/flyway/build/native/nativeCompile/flyway' in 2m 34s. [native-image-plugin] Native Image written to: /home/runner/work/spring-aot-smoke-tests/spring-aot-smoke-tests/boot/flyway/build/native/nativeCompile :boot:flyway:startNativeApp :boot:flyway:nativeAppTest FAILED FlywayApplicationAotTests > initializationError FAILED java.lang.IllegalStateException at AwaitApplication.java:67 1 test completed, 1 failed :boot:flyway:stopNativeApp FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':boot:flyway:nativeAppTest'. > There were failing tests. See the report at: file:///home/runner/work/spring-aot-smoke-tests/spring-aot-smoke-tests/boot/flyway/build/reports/tests/nativeAppTest/index.html Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. For more on this, please refer to https://docs.gradle.org/8.10.2/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD FAILED in 4m 10s 19 actionable tasks: 12 executed, 7 from cache