Skip to content

Refactor a bunch of old APIs, add some new APIs, and add fallback addon #335

Refactor a bunch of old APIs, add some new APIs, and add fallback addon

Refactor a bunch of old APIs, add some new APIs, and add fallback addon #335

Triggered via pull request December 30, 2025 08:43
Status Failure
Total duration 4m 9s
Artifacts

gradle-build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
build: /common/implementation/base/src/test/java/registry/RegistryTest.java#L90
[Task :common:implementation:base:compileTestJava FAILED] incompatible types: Either<Invalid,RegistryKey> cannot be converted to RegistryKey test.registerChecked(RegistryKey.parse("test:test"), "bazinga"); ^
build: /common/implementation/base/src/test/java/registry/RegistryTest.java#L81
[Task :common:implementation:base:compileTestJava FAILED] incompatible types: Either<Invalid,RegistryKey> cannot be converted to RegistryKey test.register(RegistryKey.parse("test:test"), "bazinga"); ^
build: /common/implementation/base/src/test/java/registry/RegistryTest.java#L70
[Task :common:implementation:base:compileTestJava FAILED] incompatible types: Either<Invalid,RegistryKey> cannot be converted to RegistryKey test.register(RegistryKey.parse("test:test"), "bazinga2"); ^
build: /common/implementation/base/src/test/java/registry/RegistryTest.java#L67
[Task :common:implementation:base:compileTestJava FAILED] incompatible types: Either<Invalid,RegistryKey> cannot be converted to RegistryKey assertEquals(test.get(RegistryKey.parse("test:test")).orThrow(), "bazinga"); ^
build: /common/implementation/base/src/test/java/registry/RegistryTest.java#L65
[Task :common:implementation:base:compileTestJava FAILED] incompatible types: Either<Invalid,RegistryKey> cannot be converted to RegistryKey test.register(RegistryKey.parse("test:test"), "bazinga"); ^
build: /common/implementation/base/src/test/java/registry/RegistryTest.java#L54
[Task :common:implementation:base:compileTestJava FAILED] incompatible types: Either<Invalid,RegistryKey> cannot be converted to RegistryKey test.registerChecked(RegistryKey.parse("test:test"), "bazinga2"); ^
build: /common/implementation/base/src/test/java/registry/RegistryTest.java#L51
[Task :common:implementation:base:compileTestJava FAILED] incompatible types: Either<Invalid,RegistryKey> cannot be converted to RegistryKey test.registerChecked(RegistryKey.parse("test:test"), "bazinga"); ^
build: /common/implementation/base/src/test/java/registry/RegistryTest.java#L44
[Task :common:implementation:base:compileTestJava FAILED] incompatible types: Either<Invalid,RegistryKey> cannot be converted to RegistryKey assertEquals(test.get(RegistryKey.parse("test:test")).orThrow(), "bazinga"); ^
build: /common/implementation/base/src/test/java/registry/RegistryTest.java#L42
[Task :common:implementation:base:compileTestJava FAILED] incompatible types: Either<Invalid,RegistryKey> cannot be converted to RegistryKey test.register(RegistryKey.parse("test:test"), "bazinga"); ^
build
Execution failed for task ':common:implementation:base:compileTestJava'. > Compilation failed; see the compiler output below. /home/runner/work/Terra/Terra/common/implementation/base/src/test/java/registry/RegistryTest.java:42: error: incompatible types: Either<Invalid,RegistryKey> cannot be converted to RegistryKey test.register(RegistryKey.parse("test:test"), "bazinga"); ^ 11 errors