Skip to content

Swap back to detached configurations for internal configurations. #327

Swap back to detached configurations for internal configurations.

Swap back to detached configurations for internal configurations. #327

GitHub Actions / JUnit Test Report failed Oct 31, 2024 in 0s

495 tests run, 486 passed, 0 skipped, 9 failed.

Annotations

Check failure on line 37 in userdev/src/functionalTest/groovy/net/neoforged/gradle/userdev/ConfigurationCacheTests.groovy

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ConfigurationCacheTests.assemble_supports_configuration_cache_build

org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /Users/runner/work/NeoGradle/NeoGradle/userdev/build/test-temp/assemble_supports_configuration_cache_build with arguments [build]

Output:
Calculating task graph as no cached configuration is available for tasks: build

8 problems were found storing the configuration cache, 5 of which seem unique.
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.runtime.tasks.DownloadAssets', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.runtime.tasks.ExtractNatives', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.tasks.ArtifactFromOutput', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'org.gradle.api.internal.artifacts.configurations.DefaultUnlockedConfiguration', a subtype of 'org.gradle.api.artifacts.Configuration', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:disallowed_types

See the complete report at file:///Users/runner/work/NeoGradle/NeoGradle/userdev/build/test-temp/assemble_supports_configuration_cache_build/build/reports/configuration-cache/5apzoqz5rtgghs3sby4u48ume/evr2s4sh3an1fep6t68avs1wv/configuration-cache-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Configuration cache state could not be cached: field `allDependencies` of `net.neoforged.gradle.userdev.runtime.definition.UserDevRuntimeDefinition` bean found in field `definitions` of `net.neoforged.gradle.userdev.runtime.extension.UserDevRuntimeExtension` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `taskCustomizer` of `net.neoforged.gradle.dsl.common.runtime.tasks.tree.TaskCustomizer` bean found in `com.google.common.collect.ImmutableListMultimap` bean found in field `taskCustomizers` of `net.neoforged.gradle.neoform.runtime.specification.NeoFormRuntimeSpecification` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `associatedTaskConsumer` of `net.neoforged.gradle.neoform.runtime.definition.NeoFormRuntimeDefinition` bean found in field `definitions` of `net.neoforged.gradle.neoform.runtime.extensions.NeoFormRuntimeExtension` bean found in field `this$0` of `net.neoforged.gradle.neoform.runtime.extensions.NeoFormRuntimeExtension$1` bean found in field `compilerArgumentProviders` of `org.gradle.api.tasks.compile.CompileOptions` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `spec` of `org.gradle.api.internal.tasks.execution.SelfDescribingSpec` bean found in task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: error writing value of type 'org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection'
> Cannot convert the provided notation to a File or URI: net.neoforged.gradle.dsl.userdev.configurations.UserdevProfile_Decorated@3f162364.
  The following types/formats are supported:
    - A String or CharSequence path, for example 'src/main/java' or '/usr/include'.
    - A String or CharSequence URI, for example 'file:/usr/include'.
    - A File instance.
    - A Path instance.
    - A Directory instance.
    - A RegularFile instance.
    - A URI or URL instance.
    - A TextResource instance.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Get more help at https://help.gradle.org.

BUILD FAILED in 40s

Publishing build scan...
https://gradle.com/s/w2gyxjbqu2pu2

Configuration cache entry discarded with 8 problems.
Raw output
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /Users/runner/work/NeoGradle/NeoGradle/userdev/build/test-temp/assemble_supports_configuration_cache_build with arguments [build]

Output:
Calculating task graph as no cached configuration is available for tasks: build

8 problems were found storing the configuration cache, 5 of which seem unique.
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.runtime.tasks.DownloadAssets', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.runtime.tasks.ExtractNatives', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.tasks.ArtifactFromOutput', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'org.gradle.api.internal.artifacts.configurations.DefaultUnlockedConfiguration', a subtype of 'org.gradle.api.artifacts.Configuration', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:disallowed_types

See the complete report at file:///Users/runner/work/NeoGradle/NeoGradle/userdev/build/test-temp/assemble_supports_configuration_cache_build/build/reports/configuration-cache/5apzoqz5rtgghs3sby4u48ume/evr2s4sh3an1fep6t68avs1wv/configuration-cache-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Configuration cache state could not be cached: field `allDependencies` of `net.neoforged.gradle.userdev.runtime.definition.UserDevRuntimeDefinition` bean found in field `definitions` of `net.neoforged.gradle.userdev.runtime.extension.UserDevRuntimeExtension` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `taskCustomizer` of `net.neoforged.gradle.dsl.common.runtime.tasks.tree.TaskCustomizer` bean found in `com.google.common.collect.ImmutableListMultimap` bean found in field `taskCustomizers` of `net.neoforged.gradle.neoform.runtime.specification.NeoFormRuntimeSpecification` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `associatedTaskConsumer` of `net.neoforged.gradle.neoform.runtime.definition.NeoFormRuntimeDefinition` bean found in field `definitions` of `net.neoforged.gradle.neoform.runtime.extensions.NeoFormRuntimeExtension` bean found in field `this$0` of `net.neoforged.gradle.neoform.runtime.extensions.NeoFormRuntimeExtension$1` bean found in field `compilerArgumentProviders` of `org.gradle.api.tasks.compile.CompileOptions` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `spec` of `org.gradle.api.internal.tasks.execution.SelfDescribingSpec` bean found in task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: error writing value of type 'org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection'
> Cannot convert the provided notation to a File or URI: net.neoforged.gradle.dsl.userdev.configurations.UserdevProfile_Decorated@3f162364.
  The following types/formats are supported:
    - A String or CharSequence path, for example 'src/main/java' or '/usr/include'.
    - A String or CharSequence URI, for example 'file:/usr/include'.
    - A File instance.
    - A Path instance.
    - A Directory instance.
    - A RegularFile instance.
    - A URI or URL instance.
    - A TextResource instance.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Get more help at https://help.gradle.org.

BUILD FAILED in 40s

Publishing build scan...
https://gradle.com/s/w2gyxjbqu2pu2

Configuration cache entry discarded with 8 problems.

	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.lambda$build$2(DefaultGradleRunner.java:274)
	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.run(DefaultGradleRunner.java:367)
	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.build(DefaultGradleRunner.java:272)
	at app//net.neoforged.trainingwheels.gradle.functional.builder.Runtime.run(Runtime.groovy:257)
	at app//org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:318)
	at net.neoforged.gradle.userdev.ConfigurationCacheTests.assemble_supports_configuration_cache_build(ConfigurationCacheTests.groovy:37)

Check failure on line 77 in userdev/src/functionalTest/groovy/net/neoforged/gradle/userdev/ConfigurationCacheTests.groovy

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ConfigurationCacheTests.compile_supports_configuration_cache_build

org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /Users/runner/work/NeoGradle/NeoGradle/userdev/build/test-temp/compile_supports_configuration_cache_build with arguments [build]

Output:
Calculating task graph as no cached configuration is available for tasks: build

8 problems were found storing the configuration cache, 5 of which seem unique.
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.runtime.tasks.DownloadAssets', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.runtime.tasks.ExtractNatives', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.tasks.ArtifactFromOutput', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'org.gradle.api.internal.artifacts.configurations.DefaultUnlockedConfiguration', a subtype of 'org.gradle.api.artifacts.Configuration', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:disallowed_types

See the complete report at file:///Users/runner/work/NeoGradle/NeoGradle/userdev/build/test-temp/compile_supports_configuration_cache_build/build/reports/configuration-cache/5apzoqz5rtgghs3sby4u48ume/afdoyqgvoldusmrab9p42s3ig/configuration-cache-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Configuration cache state could not be cached: field `allDependencies` of `net.neoforged.gradle.userdev.runtime.definition.UserDevRuntimeDefinition` bean found in field `definitions` of `net.neoforged.gradle.userdev.runtime.extension.UserDevRuntimeExtension` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `taskCustomizer` of `net.neoforged.gradle.dsl.common.runtime.tasks.tree.TaskCustomizer` bean found in `com.google.common.collect.ImmutableListMultimap` bean found in field `taskCustomizers` of `net.neoforged.gradle.neoform.runtime.specification.NeoFormRuntimeSpecification` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `associatedTaskConsumer` of `net.neoforged.gradle.neoform.runtime.definition.NeoFormRuntimeDefinition` bean found in field `definitions` of `net.neoforged.gradle.neoform.runtime.extensions.NeoFormRuntimeExtension` bean found in field `this$0` of `net.neoforged.gradle.neoform.runtime.extensions.NeoFormRuntimeExtension$1` bean found in field `compilerArgumentProviders` of `org.gradle.api.tasks.compile.CompileOptions` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `spec` of `org.gradle.api.internal.tasks.execution.SelfDescribingSpec` bean found in task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: error writing value of type 'org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection'
> Cannot convert the provided notation to a File or URI: net.neoforged.gradle.dsl.userdev.configurations.UserdevProfile_Decorated@645ae31b.
  The following types/formats are supported:
    - A String or CharSequence path, for example 'src/main/java' or '/usr/include'.
    - A String or CharSequence URI, for example 'file:/usr/include'.
    - A File instance.
    - A Path instance.
    - A Directory instance.
    - A RegularFile instance.
    - A URI or URL instance.
    - A TextResource instance.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 1s
Configuration cache entry discarded with 8 problems.
Raw output
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /Users/runner/work/NeoGradle/NeoGradle/userdev/build/test-temp/compile_supports_configuration_cache_build with arguments [build]

Output:
Calculating task graph as no cached configuration is available for tasks: build

8 problems were found storing the configuration cache, 5 of which seem unique.
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.runtime.tasks.DownloadAssets', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.runtime.tasks.ExtractNatives', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.tasks.ArtifactFromOutput', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'org.gradle.api.internal.artifacts.configurations.DefaultUnlockedConfiguration', a subtype of 'org.gradle.api.artifacts.Configuration', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:disallowed_types

See the complete report at file:///Users/runner/work/NeoGradle/NeoGradle/userdev/build/test-temp/compile_supports_configuration_cache_build/build/reports/configuration-cache/5apzoqz5rtgghs3sby4u48ume/afdoyqgvoldusmrab9p42s3ig/configuration-cache-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Configuration cache state could not be cached: field `allDependencies` of `net.neoforged.gradle.userdev.runtime.definition.UserDevRuntimeDefinition` bean found in field `definitions` of `net.neoforged.gradle.userdev.runtime.extension.UserDevRuntimeExtension` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `taskCustomizer` of `net.neoforged.gradle.dsl.common.runtime.tasks.tree.TaskCustomizer` bean found in `com.google.common.collect.ImmutableListMultimap` bean found in field `taskCustomizers` of `net.neoforged.gradle.neoform.runtime.specification.NeoFormRuntimeSpecification` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `associatedTaskConsumer` of `net.neoforged.gradle.neoform.runtime.definition.NeoFormRuntimeDefinition` bean found in field `definitions` of `net.neoforged.gradle.neoform.runtime.extensions.NeoFormRuntimeExtension` bean found in field `this$0` of `net.neoforged.gradle.neoform.runtime.extensions.NeoFormRuntimeExtension$1` bean found in field `compilerArgumentProviders` of `org.gradle.api.tasks.compile.CompileOptions` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `spec` of `org.gradle.api.internal.tasks.execution.SelfDescribingSpec` bean found in task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: error writing value of type 'org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection'
> Cannot convert the provided notation to a File or URI: net.neoforged.gradle.dsl.userdev.configurations.UserdevProfile_Decorated@645ae31b.
  The following types/formats are supported:
    - A String or CharSequence path, for example 'src/main/java' or '/usr/include'.
    - A String or CharSequence URI, for example 'file:/usr/include'.
    - A File instance.
    - A Path instance.
    - A Directory instance.
    - A RegularFile instance.
    - A URI or URL instance.
    - A TextResource instance.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 1s
Configuration cache entry discarded with 8 problems.

	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.lambda$build$2(DefaultGradleRunner.java:274)
	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.run(DefaultGradleRunner.java:367)
	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.build(DefaultGradleRunner.java:272)
	at app//net.neoforged.trainingwheels.gradle.functional.builder.Runtime.run(Runtime.groovy:257)
	at app//org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:318)
	at net.neoforged.gradle.userdev.ConfigurationCacheTests.compile_supports_configuration_cache_build(ConfigurationCacheTests.groovy:77)

Check failure on line 37 in userdev/src/functionalTest/groovy/net/neoforged/gradle/userdev/ConfigurationCacheTests.groovy

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ConfigurationCacheTests.assemble_supports_configuration_cache_build

org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /home/runner/work/NeoGradle/NeoGradle/userdev/build/test-temp/assemble_supports_configuration_cache_build with arguments [build]

Output:
Calculating task graph as no cached configuration is available for tasks: build

8 problems were found storing the configuration cache, 5 of which seem unique.
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.runtime.tasks.DownloadAssets', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.runtime.tasks.ExtractNatives', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.tasks.ArtifactFromOutput', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'org.gradle.api.internal.artifacts.configurations.DefaultUnlockedConfiguration', a subtype of 'org.gradle.api.artifacts.Configuration', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:disallowed_types

See the complete report at file:///home/runner/work/NeoGradle/NeoGradle/userdev/build/test-temp/assemble_supports_configuration_cache_build/build/reports/configuration-cache/9vnh8dv4waqkvp829efa0t0fg/drd013ajjb8gtncui0acvkdrr/configuration-cache-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Configuration cache state could not be cached: field `allDependencies` of `net.neoforged.gradle.userdev.runtime.definition.UserDevRuntimeDefinition` bean found in field `definitions` of `net.neoforged.gradle.userdev.runtime.extension.UserDevRuntimeExtension` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `taskCustomizer` of `net.neoforged.gradle.dsl.common.runtime.tasks.tree.TaskCustomizer` bean found in `com.google.common.collect.ImmutableListMultimap` bean found in field `taskCustomizers` of `net.neoforged.gradle.neoform.runtime.specification.NeoFormRuntimeSpecification` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `associatedTaskConsumer` of `net.neoforged.gradle.neoform.runtime.definition.NeoFormRuntimeDefinition` bean found in field `definitions` of `net.neoforged.gradle.neoform.runtime.extensions.NeoFormRuntimeExtension` bean found in field `this$0` of `net.neoforged.gradle.neoform.runtime.extensions.NeoFormRuntimeExtension$1` bean found in field `compilerArgumentProviders` of `org.gradle.api.tasks.compile.CompileOptions` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `spec` of `org.gradle.api.internal.tasks.execution.SelfDescribingSpec` bean found in task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: error writing value of type 'org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection'
> Cannot convert the provided notation to a File or URI: net.neoforged.gradle.dsl.userdev.configurations.UserdevProfile_Decorated@2a684cb.
  The following types/formats are supported:
    - A String or CharSequence path, for example 'src/main/java' or '/usr/include'.
    - A String or CharSequence URI, for example 'file:/usr/include'.
    - A File instance.
    - A Path instance.
    - A Directory instance.
    - A RegularFile instance.
    - A URI or URL instance.
    - A TextResource instance.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Get more help at https://help.gradle.org.

BUILD FAILED in 36s

Publishing build scan...
https://gradle.com/s/gkrlf4hyx2sq2

Configuration cache entry discarded with 8 problems.
Raw output
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /home/runner/work/NeoGradle/NeoGradle/userdev/build/test-temp/assemble_supports_configuration_cache_build with arguments [build]

Output:
Calculating task graph as no cached configuration is available for tasks: build

8 problems were found storing the configuration cache, 5 of which seem unique.
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.runtime.tasks.DownloadAssets', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.runtime.tasks.ExtractNatives', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.tasks.ArtifactFromOutput', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'org.gradle.api.internal.artifacts.configurations.DefaultUnlockedConfiguration', a subtype of 'org.gradle.api.artifacts.Configuration', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:disallowed_types

See the complete report at file:///home/runner/work/NeoGradle/NeoGradle/userdev/build/test-temp/assemble_supports_configuration_cache_build/build/reports/configuration-cache/9vnh8dv4waqkvp829efa0t0fg/drd013ajjb8gtncui0acvkdrr/configuration-cache-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Configuration cache state could not be cached: field `allDependencies` of `net.neoforged.gradle.userdev.runtime.definition.UserDevRuntimeDefinition` bean found in field `definitions` of `net.neoforged.gradle.userdev.runtime.extension.UserDevRuntimeExtension` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `taskCustomizer` of `net.neoforged.gradle.dsl.common.runtime.tasks.tree.TaskCustomizer` bean found in `com.google.common.collect.ImmutableListMultimap` bean found in field `taskCustomizers` of `net.neoforged.gradle.neoform.runtime.specification.NeoFormRuntimeSpecification` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `associatedTaskConsumer` of `net.neoforged.gradle.neoform.runtime.definition.NeoFormRuntimeDefinition` bean found in field `definitions` of `net.neoforged.gradle.neoform.runtime.extensions.NeoFormRuntimeExtension` bean found in field `this$0` of `net.neoforged.gradle.neoform.runtime.extensions.NeoFormRuntimeExtension$1` bean found in field `compilerArgumentProviders` of `org.gradle.api.tasks.compile.CompileOptions` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `spec` of `org.gradle.api.internal.tasks.execution.SelfDescribingSpec` bean found in task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: error writing value of type 'org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection'
> Cannot convert the provided notation to a File or URI: net.neoforged.gradle.dsl.userdev.configurations.UserdevProfile_Decorated@2a684cb.
  The following types/formats are supported:
    - A String or CharSequence path, for example 'src/main/java' or '/usr/include'.
    - A String or CharSequence URI, for example 'file:/usr/include'.
    - A File instance.
    - A Path instance.
    - A Directory instance.
    - A RegularFile instance.
    - A URI or URL instance.
    - A TextResource instance.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Get more help at https://help.gradle.org.

BUILD FAILED in 36s

Publishing build scan...
https://gradle.com/s/gkrlf4hyx2sq2

Configuration cache entry discarded with 8 problems.

	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.lambda$build$2(DefaultGradleRunner.java:274)
	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.run(DefaultGradleRunner.java:367)
	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.build(DefaultGradleRunner.java:272)
	at app//net.neoforged.trainingwheels.gradle.functional.builder.Runtime.run(Runtime.groovy:257)
	at app//org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:318)
	at net.neoforged.gradle.userdev.ConfigurationCacheTests.assemble_supports_configuration_cache_build(ConfigurationCacheTests.groovy:37)

Check failure on line 77 in userdev/src/functionalTest/groovy/net/neoforged/gradle/userdev/ConfigurationCacheTests.groovy

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ConfigurationCacheTests.compile_supports_configuration_cache_build

org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /home/runner/work/NeoGradle/NeoGradle/userdev/build/test-temp/compile_supports_configuration_cache_build with arguments [build]

Output:
Calculating task graph as no cached configuration is available for tasks: build

8 problems were found storing the configuration cache, 5 of which seem unique.
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.runtime.tasks.DownloadAssets', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.runtime.tasks.ExtractNatives', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.tasks.ArtifactFromOutput', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'org.gradle.api.internal.artifacts.configurations.DefaultUnlockedConfiguration', a subtype of 'org.gradle.api.artifacts.Configuration', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:disallowed_types

See the complete report at file:///home/runner/work/NeoGradle/NeoGradle/userdev/build/test-temp/compile_supports_configuration_cache_build/build/reports/configuration-cache/9vnh8dv4waqkvp829efa0t0fg/8g137yvu2rofoli1dbgid702o/configuration-cache-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Configuration cache state could not be cached: field `allDependencies` of `net.neoforged.gradle.userdev.runtime.definition.UserDevRuntimeDefinition` bean found in field `definitions` of `net.neoforged.gradle.userdev.runtime.extension.UserDevRuntimeExtension` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `taskCustomizer` of `net.neoforged.gradle.dsl.common.runtime.tasks.tree.TaskCustomizer` bean found in `com.google.common.collect.ImmutableListMultimap` bean found in field `taskCustomizers` of `net.neoforged.gradle.neoform.runtime.specification.NeoFormRuntimeSpecification` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `associatedTaskConsumer` of `net.neoforged.gradle.neoform.runtime.definition.NeoFormRuntimeDefinition` bean found in field `definitions` of `net.neoforged.gradle.neoform.runtime.extensions.NeoFormRuntimeExtension` bean found in field `this$0` of `net.neoforged.gradle.neoform.runtime.extensions.NeoFormRuntimeExtension$1` bean found in field `compilerArgumentProviders` of `org.gradle.api.tasks.compile.CompileOptions` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `spec` of `org.gradle.api.internal.tasks.execution.SelfDescribingSpec` bean found in task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: error writing value of type 'org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection'
> Cannot convert the provided notation to a File or URI: net.neoforged.gradle.dsl.userdev.configurations.UserdevProfile_Decorated@7633d418.
  The following types/formats are supported:
    - A String or CharSequence path, for example 'src/main/java' or '/usr/include'.
    - A String or CharSequence URI, for example 'file:/usr/include'.
    - A File instance.
    - A Path instance.
    - A Directory instance.
    - A RegularFile instance.
    - A URI or URL instance.
    - A TextResource instance.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 1s
Configuration cache entry discarded with 8 problems.
Raw output
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /home/runner/work/NeoGradle/NeoGradle/userdev/build/test-temp/compile_supports_configuration_cache_build with arguments [build]

Output:
Calculating task graph as no cached configuration is available for tasks: build

8 problems were found storing the configuration cache, 5 of which seem unique.
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.runtime.tasks.DownloadAssets', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.runtime.tasks.ExtractNatives', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.tasks.ArtifactFromOutput', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'org.gradle.api.internal.artifacts.configurations.DefaultUnlockedConfiguration', a subtype of 'org.gradle.api.artifacts.Configuration', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:disallowed_types

See the complete report at file:///home/runner/work/NeoGradle/NeoGradle/userdev/build/test-temp/compile_supports_configuration_cache_build/build/reports/configuration-cache/9vnh8dv4waqkvp829efa0t0fg/8g137yvu2rofoli1dbgid702o/configuration-cache-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Configuration cache state could not be cached: field `allDependencies` of `net.neoforged.gradle.userdev.runtime.definition.UserDevRuntimeDefinition` bean found in field `definitions` of `net.neoforged.gradle.userdev.runtime.extension.UserDevRuntimeExtension` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `taskCustomizer` of `net.neoforged.gradle.dsl.common.runtime.tasks.tree.TaskCustomizer` bean found in `com.google.common.collect.ImmutableListMultimap` bean found in field `taskCustomizers` of `net.neoforged.gradle.neoform.runtime.specification.NeoFormRuntimeSpecification` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `associatedTaskConsumer` of `net.neoforged.gradle.neoform.runtime.definition.NeoFormRuntimeDefinition` bean found in field `definitions` of `net.neoforged.gradle.neoform.runtime.extensions.NeoFormRuntimeExtension` bean found in field `this$0` of `net.neoforged.gradle.neoform.runtime.extensions.NeoFormRuntimeExtension$1` bean found in field `compilerArgumentProviders` of `org.gradle.api.tasks.compile.CompileOptions` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `spec` of `org.gradle.api.internal.tasks.execution.SelfDescribingSpec` bean found in task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: error writing value of type 'org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection'
> Cannot convert the provided notation to a File or URI: net.neoforged.gradle.dsl.userdev.configurations.UserdevProfile_Decorated@7633d418.
  The following types/formats are supported:
    - A String or CharSequence path, for example 'src/main/java' or '/usr/include'.
    - A String or CharSequence URI, for example 'file:/usr/include'.
    - A File instance.
    - A Path instance.
    - A Directory instance.
    - A RegularFile instance.
    - A URI or URL instance.
    - A TextResource instance.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 1s
Configuration cache entry discarded with 8 problems.

	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.lambda$build$2(DefaultGradleRunner.java:274)
	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.run(DefaultGradleRunner.java:367)
	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.build(DefaultGradleRunner.java:272)
	at app//net.neoforged.trainingwheels.gradle.functional.builder.Runtime.run(Runtime.groovy:257)
	at app//org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:318)
	at net.neoforged.gradle.userdev.ConfigurationCacheTests.compile_supports_configuration_cache_build(ConfigurationCacheTests.groovy:77)

Check failure on line 37 in userdev/src/functionalTest/groovy/net/neoforged/gradle/userdev/ConfigurationCacheTests.groovy

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ConfigurationCacheTests.assemble_supports_configuration_cache_build

org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in D:\a\NeoGradle\NeoGradle\userdev\build\test-temp\assemble_supports_configuration_cache_build with arguments [build]

Output:
Calculating task graph as no cached configuration is available for tasks: build

8 problems were found storing the configuration cache, 5 of which seem unique.
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.runtime.tasks.DownloadAssets', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.runtime.tasks.ExtractNatives', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.tasks.ArtifactFromOutput', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'org.gradle.api.internal.artifacts.configurations.DefaultUnlockedConfiguration', a subtype of 'org.gradle.api.artifacts.Configuration', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:disallowed_types

See the complete report at file:///D:/a/NeoGradle/NeoGradle/userdev/build/test-temp/assemble_supports_configuration_cache_build/build/reports/configuration-cache/8yr679fknjx36ckyr3zd57gk1/62fh13z58ohk3d5h1rpvkfrs0/configuration-cache-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Configuration cache state could not be cached: field `allDependencies` of `net.neoforged.gradle.userdev.runtime.definition.UserDevRuntimeDefinition` bean found in field `definitions` of `net.neoforged.gradle.userdev.runtime.extension.UserDevRuntimeExtension` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `taskCustomizer` of `net.neoforged.gradle.dsl.common.runtime.tasks.tree.TaskCustomizer` bean found in `com.google.common.collect.ImmutableListMultimap` bean found in field `taskCustomizers` of `net.neoforged.gradle.neoform.runtime.specification.NeoFormRuntimeSpecification` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `associatedTaskConsumer` of `net.neoforged.gradle.neoform.runtime.definition.NeoFormRuntimeDefinition` bean found in field `definitions` of `net.neoforged.gradle.neoform.runtime.extensions.NeoFormRuntimeExtension` bean found in field `this$0` of `net.neoforged.gradle.neoform.runtime.extensions.NeoFormRuntimeExtension$1` bean found in field `compilerArgumentProviders` of `org.gradle.api.tasks.compile.CompileOptions` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `spec` of `org.gradle.api.internal.tasks.execution.SelfDescribingSpec` bean found in task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: error writing value of type 'org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection'
> Cannot convert the provided notation to a File or URI: net.neoforged.gradle.dsl.userdev.configurations.UserdevProfile_Decorated@748472b7.
  The following types/formats are supported:
    - A String or CharSequence path, for example 'src/main/java' or '/usr/include'.
    - A String or CharSequence URI, for example 'file:/usr/include'.
    - A File instance.
    - A Path instance.
    - A Directory instance.
    - A RegularFile instance.
    - A URI or URL instance.
    - A TextResource instance.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Get more help at https://help.gradle.org.

BUILD FAILED in 44s

Publishing build scan...
https://gradle.com/s/cixqbxlzo4inu

Configuration cache entry discarded with 8 problems.
Raw output
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in D:\a\NeoGradle\NeoGradle\userdev\build\test-temp\assemble_supports_configuration_cache_build with arguments [build]

Output:
Calculating task graph as no cached configuration is available for tasks: build

8 problems were found storing the configuration cache, 5 of which seem unique.
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.runtime.tasks.DownloadAssets', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.runtime.tasks.ExtractNatives', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.tasks.ArtifactFromOutput', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'org.gradle.api.internal.artifacts.configurations.DefaultUnlockedConfiguration', a subtype of 'org.gradle.api.artifacts.Configuration', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:disallowed_types

See the complete report at file:///D:/a/NeoGradle/NeoGradle/userdev/build/test-temp/assemble_supports_configuration_cache_build/build/reports/configuration-cache/8yr679fknjx36ckyr3zd57gk1/62fh13z58ohk3d5h1rpvkfrs0/configuration-cache-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Configuration cache state could not be cached: field `allDependencies` of `net.neoforged.gradle.userdev.runtime.definition.UserDevRuntimeDefinition` bean found in field `definitions` of `net.neoforged.gradle.userdev.runtime.extension.UserDevRuntimeExtension` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `taskCustomizer` of `net.neoforged.gradle.dsl.common.runtime.tasks.tree.TaskCustomizer` bean found in `com.google.common.collect.ImmutableListMultimap` bean found in field `taskCustomizers` of `net.neoforged.gradle.neoform.runtime.specification.NeoFormRuntimeSpecification` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `associatedTaskConsumer` of `net.neoforged.gradle.neoform.runtime.definition.NeoFormRuntimeDefinition` bean found in field `definitions` of `net.neoforged.gradle.neoform.runtime.extensions.NeoFormRuntimeExtension` bean found in field `this$0` of `net.neoforged.gradle.neoform.runtime.extensions.NeoFormRuntimeExtension$1` bean found in field `compilerArgumentProviders` of `org.gradle.api.tasks.compile.CompileOptions` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `spec` of `org.gradle.api.internal.tasks.execution.SelfDescribingSpec` bean found in task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: error writing value of type 'org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection'
> Cannot convert the provided notation to a File or URI: net.neoforged.gradle.dsl.userdev.configurations.UserdevProfile_Decorated@748472b7.
  The following types/formats are supported:
    - A String or CharSequence path, for example 'src/main/java' or '/usr/include'.
    - A String or CharSequence URI, for example 'file:/usr/include'.
    - A File instance.
    - A Path instance.
    - A Directory instance.
    - A RegularFile instance.
    - A URI or URL instance.
    - A TextResource instance.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Get more help at https://help.gradle.org.

BUILD FAILED in 44s

Publishing build scan...
https://gradle.com/s/cixqbxlzo4inu

Configuration cache entry discarded with 8 problems.

	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.lambda$build$2(DefaultGradleRunner.java:274)
	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.run(DefaultGradleRunner.java:367)
	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.build(DefaultGradleRunner.java:272)
	at app//net.neoforged.trainingwheels.gradle.functional.builder.Runtime.run(Runtime.groovy:257)
	at app//org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:318)
	at net.neoforged.gradle.userdev.ConfigurationCacheTests.assemble_supports_configuration_cache_build(ConfigurationCacheTests.groovy:37)

Check failure on line 77 in userdev/src/functionalTest/groovy/net/neoforged/gradle/userdev/ConfigurationCacheTests.groovy

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ConfigurationCacheTests.compile_supports_configuration_cache_build

org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in D:\a\NeoGradle\NeoGradle\userdev\build\test-temp\compile_supports_configuration_cache_build with arguments [build]

Output:
Calculating task graph as no cached configuration is available for tasks: build

8 problems were found storing the configuration cache, 5 of which seem unique.
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.runtime.tasks.DownloadAssets', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.runtime.tasks.ExtractNatives', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.tasks.ArtifactFromOutput', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'org.gradle.api.internal.artifacts.configurations.DefaultUnlockedConfiguration', a subtype of 'org.gradle.api.artifacts.Configuration', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:disallowed_types

See the complete report at file:///D:/a/NeoGradle/NeoGradle/userdev/build/test-temp/compile_supports_configuration_cache_build/build/reports/configuration-cache/8yr679fknjx36ckyr3zd57gk1/5kzxldoe5swhps3qlfyy2pf4y/configuration-cache-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Configuration cache state could not be cached: field `allDependencies` of `net.neoforged.gradle.userdev.runtime.definition.UserDevRuntimeDefinition` bean found in field `definitions` of `net.neoforged.gradle.userdev.runtime.extension.UserDevRuntimeExtension` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `taskCustomizer` of `net.neoforged.gradle.dsl.common.runtime.tasks.tree.TaskCustomizer` bean found in `com.google.common.collect.ImmutableListMultimap` bean found in field `taskCustomizers` of `net.neoforged.gradle.neoform.runtime.specification.NeoFormRuntimeSpecification` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `associatedTaskConsumer` of `net.neoforged.gradle.neoform.runtime.definition.NeoFormRuntimeDefinition` bean found in field `definitions` of `net.neoforged.gradle.neoform.runtime.extensions.NeoFormRuntimeExtension` bean found in field `this$0` of `net.neoforged.gradle.neoform.runtime.extensions.NeoFormRuntimeExtension$1` bean found in field `compilerArgumentProviders` of `org.gradle.api.tasks.compile.CompileOptions` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `spec` of `org.gradle.api.internal.tasks.execution.SelfDescribingSpec` bean found in task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: error writing value of type 'org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection'
> Cannot convert the provided notation to a File or URI: net.neoforged.gradle.dsl.userdev.configurations.UserdevProfile_Decorated@2355d3d9.
  The following types/formats are supported:
    - A String or CharSequence path, for example 'src/main/java' or '/usr/include'.
    - A String or CharSequence URI, for example 'file:/usr/include'.
    - A File instance.
    - A Path instance.
    - A Directory instance.
    - A RegularFile instance.
    - A URI or URL instance.
    - A TextResource instance.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 1s
Configuration cache entry discarded with 8 problems.
Raw output
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in D:\a\NeoGradle\NeoGradle\userdev\build\test-temp\compile_supports_configuration_cache_build with arguments [build]

Output:
Calculating task graph as no cached configuration is available for tasks: build

8 problems were found storing the configuration cache, 5 of which seem unique.
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.runtime.tasks.DownloadAssets', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.runtime.tasks.ExtractNatives', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'net.neoforged.gradle.common.tasks.ArtifactFromOutput', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'org.gradle.api.internal.artifacts.configurations.DefaultUnlockedConfiguration', a subtype of 'org.gradle.api.artifacts.Configuration', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.10/userguide/configuration_cache.html#config_cache:requirements:disallowed_types

See the complete report at file:///D:/a/NeoGradle/NeoGradle/userdev/build/test-temp/compile_supports_configuration_cache_build/build/reports/configuration-cache/8yr679fknjx36ckyr3zd57gk1/5kzxldoe5swhps3qlfyy2pf4y/configuration-cache-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Configuration cache state could not be cached: field `allDependencies` of `net.neoforged.gradle.userdev.runtime.definition.UserDevRuntimeDefinition` bean found in field `definitions` of `net.neoforged.gradle.userdev.runtime.extension.UserDevRuntimeExtension` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `taskCustomizer` of `net.neoforged.gradle.dsl.common.runtime.tasks.tree.TaskCustomizer` bean found in `com.google.common.collect.ImmutableListMultimap` bean found in field `taskCustomizers` of `net.neoforged.gradle.neoform.runtime.specification.NeoFormRuntimeSpecification` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `associatedTaskConsumer` of `net.neoforged.gradle.neoform.runtime.definition.NeoFormRuntimeDefinition` bean found in field `definitions` of `net.neoforged.gradle.neoform.runtime.extensions.NeoFormRuntimeExtension` bean found in field `this$0` of `net.neoforged.gradle.neoform.runtime.extensions.NeoFormRuntimeExtension$1` bean found in field `compilerArgumentProviders` of `org.gradle.api.tasks.compile.CompileOptions` bean found in field `capturedArgs` of `java.lang.invoke.SerializedLambda` bean found in field `spec` of `org.gradle.api.internal.tasks.execution.SelfDescribingSpec` bean found in task `:neoFormRecompile` of type `net.neoforged.gradle.neoform.runtime.tasks.RecompileSourceJar`: error writing value of type 'org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection'
> Cannot convert the provided notation to a File or URI: net.neoforged.gradle.dsl.userdev.configurations.UserdevProfile_Decorated@2355d3d9.
  The following types/formats are supported:
    - A String or CharSequence path, for example 'src/main/java' or '/usr/include'.
    - A String or CharSequence URI, for example 'file:/usr/include'.
    - A File instance.
    - A Path instance.
    - A Directory instance.
    - A RegularFile instance.
    - A URI or URL instance.
    - A TextResource instance.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 1s
Configuration cache entry discarded with 8 problems.

	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.lambda$build$2(DefaultGradleRunner.java:274)
	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.run(DefaultGradleRunner.java:367)
	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.build(DefaultGradleRunner.java:272)
	at app//net.neoforged.trainingwheels.gradle.functional.builder.Runtime.run(Runtime.groovy:257)
	at app//org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:318)
	at net.neoforged.gradle.userdev.ConfigurationCacheTests.compile_supports_configuration_cache_build(ConfigurationCacheTests.groovy:77)

Check failure on line 444 in userdev/src/functionalTest/groovy/net/neoforged/gradle/userdev/RunTests.groovy

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

RunTests.userdev supports unit testing

org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /Users/runner/work/NeoGradle/NeoGradle/userdev/build/unit-testing-2/userdev_supports_unit_tests with arguments [:testJunit]

Output:
> Task :cacheVersionManifest1.21.3
> Task :cacheVersionExecutableClient1.21.3
> Task :cacheVersionExecutableServer1.21.3
> Task :cacheVersionMappingsClient1.21.3
> Task :cacheVersionMappingsServer1.21.3
> Task :neoFormListLibraries
> Task :neoFormStripClient
> Task :neoFormExtractServer
> Task :neoFormStripServer
> Task :neoFormMerge
> Task :neoFormMergeMappings
> Task :neoFormRename
> Task :neoFormDecompile
> Task :neoFormApplyForgesAccessTransformer
> Task :neoFormInject
> Task :neoFormPatch
> Task :neoFormPatchUserDev
> Task :neoFormApplyOfficialMappings
> Task :neoFormUnzipSources
> Task :create1.21.3ClientExtraJar
> Task :selectRawArtifactNg_dummy_ng.net.minecraft_client_1.21.3_client-extra

> Task :neoFormRecompile
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API that is marked for removal.
Note: Recompile with -Xlint:removal for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :neoFormPackRecomp
> Task :supplyRawJarForneoFormJoined1.21.3-20241023.131943
> Task :selectRawArtifactNg_dummy_ng.net.neoforged_neoforge_21.3.6-beta
> Task :compileJava NO-SOURCE
> Task :processResources NO-SOURCE
> Task :classes UP-TO-DATE

> Task :compileTestJava
/Users/runner/work/NeoGradle/NeoGradle/userdev/build/unit-testing-2/userdev_supports_unit_tests/src/test/java/net/test/TestTest.java:17: error: no suitable method found for of(TagKey<Item>)
                                    Ingredient.of(ItemTags.AXES).test(Items.DIAMOND_AXE.getDefaultInstance())
                                              ^
    method Ingredient.of(ItemLike) is not applicable
      (argument mismatch; TagKey<Item> cannot be converted to ItemLike)
    method Ingredient.of(ItemLike...) is not applicable
      (varargs mismatch; TagKey<Item> cannot be converted to ItemLike)
    method Ingredient.of(Stream<? extends ItemLike>) is not applicable
      (argument mismatch; TagKey<Item> cannot be converted to Stream<? extends ItemLike>)
    method Ingredient.of(HolderSet<Item>) is not applicable
      (argument mismatch; TagKey<Item> cannot be converted to HolderSet<Item>)
1 error

> Task :compileTestJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileTestJava'.
> Compilation failed; see the compiler error output for details.

* Try:
> Run with --info option to get more log output.
> Run with --scan to get full insights.

BUILD FAILED in 2m 43s
26 actionable tasks: 26 executed
Raw output
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /Users/runner/work/NeoGradle/NeoGradle/userdev/build/unit-testing-2/userdev_supports_unit_tests with arguments [:testJunit]

Output:
> Task :cacheVersionManifest1.21.3
> Task :cacheVersionExecutableClient1.21.3
> Task :cacheVersionExecutableServer1.21.3
> Task :cacheVersionMappingsClient1.21.3
> Task :cacheVersionMappingsServer1.21.3
> Task :neoFormListLibraries
> Task :neoFormStripClient
> Task :neoFormExtractServer
> Task :neoFormStripServer
> Task :neoFormMerge
> Task :neoFormMergeMappings
> Task :neoFormRename
> Task :neoFormDecompile
> Task :neoFormApplyForgesAccessTransformer
> Task :neoFormInject
> Task :neoFormPatch
> Task :neoFormPatchUserDev
> Task :neoFormApplyOfficialMappings
> Task :neoFormUnzipSources
> Task :create1.21.3ClientExtraJar
> Task :selectRawArtifactNg_dummy_ng.net.minecraft_client_1.21.3_client-extra

> Task :neoFormRecompile
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API that is marked for removal.
Note: Recompile with -Xlint:removal for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :neoFormPackRecomp
> Task :supplyRawJarForneoFormJoined1.21.3-20241023.131943
> Task :selectRawArtifactNg_dummy_ng.net.neoforged_neoforge_21.3.6-beta
> Task :compileJava NO-SOURCE
> Task :processResources NO-SOURCE
> Task :classes UP-TO-DATE

> Task :compileTestJava
/Users/runner/work/NeoGradle/NeoGradle/userdev/build/unit-testing-2/userdev_supports_unit_tests/src/test/java/net/test/TestTest.java:17: error: no suitable method found for of(TagKey<Item>)
                                    Ingredient.of(ItemTags.AXES).test(Items.DIAMOND_AXE.getDefaultInstance())
                                              ^
    method Ingredient.of(ItemLike) is not applicable
      (argument mismatch; TagKey<Item> cannot be converted to ItemLike)
    method Ingredient.of(ItemLike...) is not applicable
      (varargs mismatch; TagKey<Item> cannot be converted to ItemLike)
    method Ingredient.of(Stream<? extends ItemLike>) is not applicable
      (argument mismatch; TagKey<Item> cannot be converted to Stream<? extends ItemLike>)
    method Ingredient.of(HolderSet<Item>) is not applicable
      (argument mismatch; TagKey<Item> cannot be converted to HolderSet<Item>)
1 error

> Task :compileTestJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileTestJava'.
> Compilation failed; see the compiler error output for details.

* Try:
> Run with --info option to get more log output.
> Run with --scan to get full insights.

BUILD FAILED in 2m 43s
26 actionable tasks: 26 executed

	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.lambda$build$2(DefaultGradleRunner.java:274)
	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.run(DefaultGradleRunner.java:367)
	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.build(DefaultGradleRunner.java:272)
	at app//net.neoforged.trainingwheels.gradle.functional.builder.Runtime.run(Runtime.groovy:257)
	at app//org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:318)
	at net.neoforged.gradle.userdev.RunTests.userdev supports unit testing(RunTests.groovy:444)

Check failure on line 444 in userdev/src/functionalTest/groovy/net/neoforged/gradle/userdev/RunTests.groovy

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

RunTests.userdev supports unit testing

org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /home/runner/work/NeoGradle/NeoGradle/userdev/build/unit-testing-2/userdev_supports_unit_tests with arguments [:testJunit]

Output:
> Task :cacheVersionManifest1.21.3
> Task :cacheVersionExecutableClient1.21.3
> Task :cacheVersionExecutableServer1.21.3
> Task :cacheVersionMappingsClient1.21.3
> Task :cacheVersionMappingsServer1.21.3
> Task :neoFormListLibraries
> Task :neoFormStripClient
> Task :neoFormExtractServer
> Task :neoFormStripServer
> Task :neoFormMerge
> Task :neoFormMergeMappings
> Task :neoFormRename
> Task :neoFormDecompile
> Task :neoFormApplyForgesAccessTransformer
> Task :neoFormInject
> Task :neoFormPatch
> Task :neoFormPatchUserDev
> Task :neoFormApplyOfficialMappings
> Task :neoFormUnzipSources
> Task :create1.21.3ClientExtraJar
> Task :selectRawArtifactNg_dummy_ng.net.minecraft_client_1.21.3_client-extra

> Task :neoFormRecompile
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API that is marked for removal.
Note: Recompile with -Xlint:removal for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :neoFormPackRecomp
> Task :supplyRawJarForneoFormJoined1.21.3-20241023.131943
> Task :selectRawArtifactNg_dummy_ng.net.neoforged_neoforge_21.3.6-beta
> Task :compileJava NO-SOURCE
> Task :processResources NO-SOURCE
> Task :classes UP-TO-DATE

> Task :compileTestJava FAILED
/home/runner/work/NeoGradle/NeoGradle/userdev/build/unit-testing-2/userdev_supports_unit_tests/src/test/java/net/test/TestTest.java:17: error: no suitable method found for of(TagKey<Item>)
                                    Ingredient.of(ItemTags.AXES).test(Items.DIAMOND_AXE.getDefaultInstance())
                                              ^
    method Ingredient.of(ItemLike) is not applicable
      (argument mismatch; TagKey<Item> cannot be converted to ItemLike)
    method Ingredient.of(ItemLike...) is not applicable
      (varargs mismatch; TagKey<Item> cannot be converted to ItemLike)
    method Ingredient.of(Stream<? extends ItemLike>) is not applicable
      (argument mismatch; TagKey<Item> cannot be converted to Stream<? extends ItemLike>)
    method Ingredient.of(HolderSet<Item>) is not applicable
      (argument mismatch; TagKey<Item> cannot be converted to HolderSet<Item>)
1 error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileTestJava'.
> Compilation failed; see the compiler error output for details.

* Try:
> Run with --info option to get more log output.
> Run with --scan to get full insights.

BUILD FAILED in 2m 33s
26 actionable tasks: 26 executed
Raw output
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /home/runner/work/NeoGradle/NeoGradle/userdev/build/unit-testing-2/userdev_supports_unit_tests with arguments [:testJunit]

Output:
> Task :cacheVersionManifest1.21.3
> Task :cacheVersionExecutableClient1.21.3
> Task :cacheVersionExecutableServer1.21.3
> Task :cacheVersionMappingsClient1.21.3
> Task :cacheVersionMappingsServer1.21.3
> Task :neoFormListLibraries
> Task :neoFormStripClient
> Task :neoFormExtractServer
> Task :neoFormStripServer
> Task :neoFormMerge
> Task :neoFormMergeMappings
> Task :neoFormRename
> Task :neoFormDecompile
> Task :neoFormApplyForgesAccessTransformer
> Task :neoFormInject
> Task :neoFormPatch
> Task :neoFormPatchUserDev
> Task :neoFormApplyOfficialMappings
> Task :neoFormUnzipSources
> Task :create1.21.3ClientExtraJar
> Task :selectRawArtifactNg_dummy_ng.net.minecraft_client_1.21.3_client-extra

> Task :neoFormRecompile
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API that is marked for removal.
Note: Recompile with -Xlint:removal for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :neoFormPackRecomp
> Task :supplyRawJarForneoFormJoined1.21.3-20241023.131943
> Task :selectRawArtifactNg_dummy_ng.net.neoforged_neoforge_21.3.6-beta
> Task :compileJava NO-SOURCE
> Task :processResources NO-SOURCE
> Task :classes UP-TO-DATE

> Task :compileTestJava FAILED
/home/runner/work/NeoGradle/NeoGradle/userdev/build/unit-testing-2/userdev_supports_unit_tests/src/test/java/net/test/TestTest.java:17: error: no suitable method found for of(TagKey<Item>)
                                    Ingredient.of(ItemTags.AXES).test(Items.DIAMOND_AXE.getDefaultInstance())
                                              ^
    method Ingredient.of(ItemLike) is not applicable
      (argument mismatch; TagKey<Item> cannot be converted to ItemLike)
    method Ingredient.of(ItemLike...) is not applicable
      (varargs mismatch; TagKey<Item> cannot be converted to ItemLike)
    method Ingredient.of(Stream<? extends ItemLike>) is not applicable
      (argument mismatch; TagKey<Item> cannot be converted to Stream<? extends ItemLike>)
    method Ingredient.of(HolderSet<Item>) is not applicable
      (argument mismatch; TagKey<Item> cannot be converted to HolderSet<Item>)
1 error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileTestJava'.
> Compilation failed; see the compiler error output for details.

* Try:
> Run with --info option to get more log output.
> Run with --scan to get full insights.

BUILD FAILED in 2m 33s
26 actionable tasks: 26 executed

	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.lambda$build$2(DefaultGradleRunner.java:274)
	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.run(DefaultGradleRunner.java:367)
	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.build(DefaultGradleRunner.java:272)
	at app//net.neoforged.trainingwheels.gradle.functional.builder.Runtime.run(Runtime.groovy:257)
	at app//org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:318)
	at net.neoforged.gradle.userdev.RunTests.userdev supports unit testing(RunTests.groovy:444)

Check failure on line 444 in userdev/src/functionalTest/groovy/net/neoforged/gradle/userdev/RunTests.groovy

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

RunTests.userdev supports unit testing

org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in D:\a\NeoGradle\NeoGradle\userdev\build\unit-testing-2\userdev_supports_unit_tests with arguments [:testJunit]

Output:
> Task :cacheVersionManifest1.21.3
> Task :cacheVersionExecutableClient1.21.3
> Task :cacheVersionExecutableServer1.21.3
> Task :cacheVersionMappingsClient1.21.3
> Task :cacheVersionMappingsServer1.21.3
> Task :neoFormListLibraries
> Task :neoFormStripClient
> Task :neoFormExtractServer
> Task :neoFormStripServer
> Task :neoFormMerge
> Task :neoFormMergeMappings
> Task :neoFormRename
> Task :neoFormDecompile
> Task :neoFormApplyForgesAccessTransformer
> Task :neoFormInject
> Task :neoFormPatch
> Task :neoFormPatchUserDev
> Task :neoFormApplyOfficialMappings
> Task :neoFormUnzipSources
> Task :create1.21.3ClientExtraJar
> Task :selectRawArtifactNg_dummy_ng.net.minecraft_client_1.21.3_client-extra
> Task :neoFormRecompile
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API that is marked for removal.
Note: Recompile with -Xlint:removal for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :neoFormPackRecomp
> Task :supplyRawJarForneoFormJoined1.21.3-20241023.131943
> Task :selectRawArtifactNg_dummy_ng.net.neoforged_neoforge_21.3.6-beta
> Task :compileJava NO-SOURCE
> Task :processResources NO-SOURCE
> Task :classes UP-TO-DATE

> Task :compileTestJava FAILED
D:\a\NeoGradle\NeoGradle\userdev\build\unit-testing-2\userdev_supports_unit_tests\src\test\java\net\test\TestTest.java:17: error: no suitable method found for of(TagKey<Item>)
                                    Ingredient.of(ItemTags.AXES).test(Items.DIAMOND_AXE.getDefaultInstance())
                                              ^
    method Ingredient.of(ItemLike) is not applicable
      (argument mismatch; TagKey<Item> cannot be converted to ItemLike)
    method Ingredient.of(ItemLike...) is not applicable
      (varargs mismatch; TagKey<Item> cannot be converted to ItemLike)
    method Ingredient.of(Stream<? extends ItemLike>) is not applicable
      (argument mismatch; TagKey<Item> cannot be converted to Stream<? extends ItemLike>)
    method Ingredient.of(HolderSet<Item>) is not applicable
      (argument mismatch; TagKey<Item> cannot be converted to HolderSet<Item>)
1 error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileTestJava'.
> Compilation failed; see the compiler error output for details.

* Try:
> Run with --info option to get more log output.
> Run with --scan to get full insights.

BUILD FAILED in 3m 18s
26 actionable tasks: 26 executed
Raw output
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in D:\a\NeoGradle\NeoGradle\userdev\build\unit-testing-2\userdev_supports_unit_tests with arguments [:testJunit]

Output:
> Task :cacheVersionManifest1.21.3
> Task :cacheVersionExecutableClient1.21.3
> Task :cacheVersionExecutableServer1.21.3
> Task :cacheVersionMappingsClient1.21.3
> Task :cacheVersionMappingsServer1.21.3
> Task :neoFormListLibraries
> Task :neoFormStripClient
> Task :neoFormExtractServer
> Task :neoFormStripServer
> Task :neoFormMerge
> Task :neoFormMergeMappings
> Task :neoFormRename
> Task :neoFormDecompile
> Task :neoFormApplyForgesAccessTransformer
> Task :neoFormInject
> Task :neoFormPatch
> Task :neoFormPatchUserDev
> Task :neoFormApplyOfficialMappings
> Task :neoFormUnzipSources
> Task :create1.21.3ClientExtraJar
> Task :selectRawArtifactNg_dummy_ng.net.minecraft_client_1.21.3_client-extra
> Task :neoFormRecompile
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API that is marked for removal.
Note: Recompile with -Xlint:removal for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :neoFormPackRecomp
> Task :supplyRawJarForneoFormJoined1.21.3-20241023.131943
> Task :selectRawArtifactNg_dummy_ng.net.neoforged_neoforge_21.3.6-beta
> Task :compileJava NO-SOURCE
> Task :processResources NO-SOURCE
> Task :classes UP-TO-DATE

> Task :compileTestJava FAILED
D:\a\NeoGradle\NeoGradle\userdev\build\unit-testing-2\userdev_supports_unit_tests\src\test\java\net\test\TestTest.java:17: error: no suitable method found for of(TagKey<Item>)
                                    Ingredient.of(ItemTags.AXES).test(Items.DIAMOND_AXE.getDefaultInstance())
                                              ^
    method Ingredient.of(ItemLike) is not applicable
      (argument mismatch; TagKey<Item> cannot be converted to ItemLike)
    method Ingredient.of(ItemLike...) is not applicable
      (varargs mismatch; TagKey<Item> cannot be converted to ItemLike)
    method Ingredient.of(Stream<? extends ItemLike>) is not applicable
      (argument mismatch; TagKey<Item> cannot be converted to Stream<? extends ItemLike>)
    method Ingredient.of(HolderSet<Item>) is not applicable
      (argument mismatch; TagKey<Item> cannot be converted to HolderSet<Item>)
1 error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileTestJava'.
> Compilation failed; see the compiler error output for details.

* Try:
> Run with --info option to get more log output.
> Run with --scan to get full insights.

BUILD FAILED in 3m 18s
26 actionable tasks: 26 executed

	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.lambda$build$2(DefaultGradleRunner.java:274)
	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.run(DefaultGradleRunner.java:367)
	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.build(DefaultGradleRunner.java:272)
	at app//net.neoforged.trainingwheels.gradle.functional.builder.Runtime.run(Runtime.groovy:257)
	at app//org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:318)
	at net.neoforged.gradle.userdev.RunTests.userdev supports unit testing(RunTests.groovy:444)