: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:freemarker-webmvc:compileJava FROM-CACHE :boot:freemarker-webmvc:processResources :boot:freemarker-webmvc:classes :boot:freemarker-webmvc: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:freemarker-webmvc:compileAppTestJava FROM-CACHE :boot:freemarker-webmvc:processAppTestResources NO-SOURCE :boot:freemarker-webmvc:appTestClasses UP-TO-DATE :boot:freemarker-webmvc:resolveMainClassName :boot:freemarker-webmvc:processAot FROM-CACHE :boot:freemarker-webmvc:compileAotJava FROM-CACHE :boot:freemarker-webmvc:processAotResources :boot:freemarker-webmvc:aotClasses :boot:freemarker-webmvc:generateResourcesConfigFile FROM-CACHE :boot:freemarker-webmvc: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-23.0.6/lib/svm/bin/native-image ======================================================================================================================== GraalVM Native Image: Generating 'freemarker-webmvc' (executable)... ======================================================================================================================== For detailed information and explanations on the build output, visit: https://github.com/oracle/graal/blob/master/docs/reference-manual/native-image/BuildOutput.md ------------------------------------------------------------------------------------------------------------------------ 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. [1/8] Initializing... (6.9s @ 0.19GB) Java version: 17.0.13+12-LTS, vendor version: Liberica-NIK-23.0.6-1 Graal compiler: optimization level: 2, target machine: x86-64-v3 C compiler: gcc (linux, x86_64, 13.2.0) Garbage collector: Serial GC (max heap size: 80% of RAM) 1 user-specific feature(s) - org.springframework.aot.nativex.feature.PreComputeFieldFeature Field org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport#romePresent set to false at build time Field org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport#jaxb2Present set to false at build time Field org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport#jackson2Present set to true at build time Field org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport#jackson2XmlPresent set to false at build time Field org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport#jackson2SmilePresent set to false at build time Field org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport#jackson2CborPresent set to false at build time Field org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport#gsonPresent set to false at build time Field org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport#jsonbPresent set to false at build time Field org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport#kotlinSerializationCborPresent set to false at build time Field org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport#kotlinSerializationJsonPresent set to false at build time Field org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport#kotlinSerializationProtobufPresent set to false at build time Field org.springframework.http.converter.json.Jackson2ObjectMapperBuilder#jackson2XmlPresent set to false at build time Field org.springframework.boot.logging.logback.LogbackLoggingSystem$Factory#PRESENT set to true at build time Field org.apache.commons.logging.LogAdapter#log4jSpiPresent set to true at build time Field org.apache.commons.logging.LogAdapter#log4jSlf4jProviderPresent set to true at build time Field org.apache.commons.logging.LogAdapter#slf4jSpiPresent set to true at build time Field org.apache.commons.logging.LogAdapter#slf4jApiPresent set to true at build time Field org.springframework.boot.logging.java.JavaLoggingSystem$Factory#PRESENT set to true at build time Field org.springframework.cglib.core.AbstractClassGenerator#inNativeImage set to true at build time Field org.springframework.web.servlet.view.InternalResourceViewResolver#jstlPresent set to false at build time Field org.springframework.core.NativeDetector#inNativeImage set to true at build time Field org.springframework.web.client.RestTemplate#romePresent set to false at build time Field org.springframework.web.client.RestTemplate#jaxb2Present set to false at build time Field org.springframework.web.client.RestTemplate#jackson2Present set to true at build time Field org.springframework.web.client.RestTemplate#jackson2XmlPresent set to false at build time Field org.springframework.web.client.RestTemplate#jackson2SmilePresent set to false at build time Field org.springframework.web.client.RestTemplate#jackson2CborPresent set to false at build time Field org.springframework.web.client.RestTemplate#gsonPresent set to false at build time Field org.springframework.web.client.RestTemplate#jsonbPresent set to false at build time Field org.springframework.web.client.RestTemplate#kotlinSerializationCborPresent set to false at build time Field org.springframework.web.client.RestTemplate#kotlinSerializationJsonPresent set to false at build time Field org.springframework.web.client.RestTemplate#kotlinSerializationProtobufPresent set to false at build time Field org.springframework.boot.logging.log4j2.Log4J2LoggingSystem$Factory#PRESENT set to false at build time Field org.springframework.aot.AotDetector#inNativeImage set to true at build time Field org.springframework.core.KotlinDetector#kotlinPresent set to false at build time Field org.springframework.core.KotlinDetector#kotlinReflectPresent set to false at build time Field org.springframework.format.support.DefaultFormattingConversionService#jsr354Present set to false at build time Field org.springframework.web.context.support.StandardServletEnvironment#jndiPresent set to true at build time Field org.springframework.web.context.support.WebApplicationContextUtils#jsfPresent set to false at build time Field org.springframework.boot.logging.logback.LogbackLoggingSystemProperties#JBOSS_LOGGING_PRESENT set to false at build time Field org.springframework.web.context.request.RequestContextHolder#jsfPresent set to false at build time Field org.springframework.http.converter.support.AllEncompassingFormHttpMessageConverter#jaxb2Present set to false at build time Field org.springframework.http.converter.support.AllEncompassingFormHttpMessageConverter#jackson2Present set to true at build time Field org.springframework.http.converter.support.AllEncompassingFormHttpMessageConverter#jackson2XmlPresent set to false at build time Field org.springframework.http.converter.support.AllEncompassingFormHttpMessageConverter#jackson2SmilePresent set to false at build time Field org.springframework.http.converter.support.AllEncompassingFormHttpMessageConverter#gsonPresent set to false at build time Field org.springframework.http.converter.support.AllEncompassingFormHttpMessageConverter#jsonbPresent set to false at build time Field org.springframework.http.converter.support.AllEncompassingFormHttpMessageConverter#kotlinSerializationCborPresent set to false at build time Field org.springframework.http.converter.support.AllEncompassingFormHttpMessageConverter#kotlinSerializationJsonPresent set to false at build time Field org.springframework.http.converter.support.AllEncompassingFormHttpMessageConverter#kotlinSerializationProtobufPresent set to false at build time Field org.springframework.context.event.ApplicationListenerMethodAdapter#reactiveStreamsPresent set to false at build time Field org.springframework.boot.autoconfigure.web.format.WebConversionService#JSR_354_PRESENT set to false at build time Field org.springframework.core.ReactiveAdapterRegistry#reactorPresent set to false at build time Field org.springframework.core.ReactiveAdapterRegistry#rxjava3Present set to false at build time Field org.springframework.core.ReactiveAdapterRegistry#kotlinCoroutinesPresent set to false at build time Field org.springframework.core.ReactiveAdapterRegistry#mutinyPresent set to false at build time 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. Field org.springframework.web.servlet.mvc.method.annotation.ReactiveTypeHandler#isContextPropagationPresent set to false at build time Field org.springframework.web.servlet.support.RequestContext#jstlPresent set to false at build time [2/8] Performing analysis... [******] (71.9s @ 1.69GB) 16,636 (90.61%) of 18,359 types reachable 27,596 (68.04%) of 40,560 fields reachable 81,613 (63.92%) of 127,672 methods reachable 5,172 types, 264 fields, and 5,429 methods registered for reflection 64 types, 72 fields, and 55 methods registered for JNI access 4 native libraries: dl, pthread, rt, z [3/8] Building universe... (8.1s @ 1.81GB) [4/8] Parsing methods... [***] (6.9s @ 1.97GB) [5/8] Inlining methods... [***] (4.3s @ 1.83GB) [6/8] Compiling methods... [*******] (60.0s @ 3.30GB) [7/8] Layouting methods... [**] (4.8s @ 2.22GB) [8/8] Creating image... [***] (5.2s @ 3.02GB) 40.83MB (51.16%) for code area: 53,302 compilation units 35.96MB (45.05%) for image heap: 399,829 objects and 260 resources 3.02MB ( 3.79%) for other data 79.81MB in total ------------------------------------------------------------------------------------------------------------------------ Top 10 origins of code area: Top 10 object types in image heap: 13.27MB java.base 8.97MB byte[] for code metadata 4.57MB tomcat-embed-core-10.1.33.jar 4.01MB java.lang.Class 3.73MB java.xml 3.88MB java.lang.String 2.55MB freemarker-2.3.33.jar 3.35MB byte[] for java.lang.String 2.04MB jackson-databind-2.15.4.jar 3.28MB byte[] for general heap data 1.58MB spring-core-6.0.27-SNAPSHOT.jar 2.18MB byte[] for embedded resources 1.35MB svm.jar (Native Image) 1.40MB com.oracle.svm.core.hub.DynamicHubCompanion 1.34MB spring-boot-3.1.15-SNAPSHOT.jar 1008.77kB byte[] for reflection metadata 970.31kB spring-web-6.0.27-SNAPSHOT.jar 805.61kB java.lang.String[] 930.62kB spring-beans-6.0.27-SNAPSHOT.jar 596.02kB c.o.svm.core.hub.DynamicHub$ReflectionMetadata 8.18MB for 71 more packages 6.18MB for 3295 more object types ------------------------------------------------------------------------------------------------------------------------ Recommendations: HEAP: Set max heap for improved and more predictable memory usage. CPU: Enable more CPU features with '-march=native' for improved performance. ------------------------------------------------------------------------------------------------------------------------ 15.6s (9.2% of total time) in 125 GCs | Peak RSS: 5.00GB | CPU load: 3.68 ------------------------------------------------------------------------------------------------------------------------ Produced artifacts: /home/runner/work/spring-aot-smoke-tests/spring-aot-smoke-tests/boot/freemarker-webmvc/build/native/nativeCompile/freemarker-webmvc (executable) ======================================================================================================================== Finished generating 'freemarker-webmvc' in 2m 49s. [native-image-plugin] Native Image written to: /home/runner/work/spring-aot-smoke-tests/spring-aot-smoke-tests/boot/freemarker-webmvc/build/native/nativeCompile :boot:freemarker-webmvc:startNativeApp :boot:freemarker-webmvc:nativeAppTest :boot:freemarker-webmvc:stopNativeApp 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 SUCCESSFUL in 3m 29s 19 actionable tasks: 12 executed, 7 from cache