Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for skinned Mesh #4968

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

chore: simplify skinned mesh component

6b60fbe
Select commit
Loading
Failed to load commit list.
Open

feat: add support for skinned Mesh #4968

chore: simplify skinned mesh component
6b60fbe
Select commit
Loading
Failed to load commit list.
Terasology Jenkins.io / Jenkins failed Oct 28, 2024 in 5m 15s

Build: error in 'sh' step

Build / Shell Script

Error in sh step, with arguments ./gradlew --console=plain clean extractConfig extractNatives distForLauncher testDist.

script returned exit code 1
Build log
+ ./gradlew --console=plain clean extractConfig extractNatives distForLauncher testDist
Starting a Gradle Daemon (subsequent builds will be faster)
w: file:///home/jenkins/agent/workspace/Terasology_engine_PR-4968/settings.gradle.kts:29:17: Variable 'protobuf' is never used
Processing facade facades:PC, including it as a sub-project
> Task :build-logic:checkKotlinGradlePluginConfigurationErrors
> Task :build-logic:generateExternalPluginSpecBuilders
> Task :build-logic:extractPrecompiledScriptPluginPlugins
> Task :build-logic:compilePluginsBlocks
> Task :build-logic:generatePrecompiledScriptPluginAccessors
> Task :build-logic:generateScriptPluginAdapters
> Task :build-logic:pluginDescriptors
> Task :build-logic:processResources
> Task :build-logic:compileKotlin
> Task :build-logic:compileJava NO-SOURCE
> Task :build-logic:classes
> Task :build-logic:jar

> Configure project :engine
w: file:///home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/build.gradle.kts:171:79: Unchecked cast: Any! to Map<String, String>
Scanning for version in module.txt for engine
Version for project ':engine'.name loaded as 5.4.0-SNAPSHOT for group org.terasology.engine

> Configure project :engine-tests
w: file:///home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine-tests/build.gradle.kts:32:79: Unchecked cast: Any! to Map<String, String>
Scanning for version in module.txt for engine-tests
Version for project ':engine-tests'.name loaded as 5.4.0-SNAPSHOT for group org.terasology.engine
Cleaned root - don't forget to re-extract stuff! 'gradlew extractNatives extractConfig' will do so

> Task :cleanExtractConfig UP-TO-DATE
> Task :cleanExtractNatives UP-TO-DATE
> Task :clean UP-TO-DATE
> Task :engine:clean
> Task :engine-tests:clean UP-TO-DATE
> Task :modules:cleanFetchModuleDependencies UP-TO-DATE
> Task :modules:clean UP-TO-DATE
> Task :facades:PC:clean UP-TO-DATE
> Task :subsystems:DiscordRPC:clean UP-TO-DATE
> Task :subsystems:TypeHandlerLibrary:clean UP-TO-DATE
> Task :extractConfig
> Task :extractJNLuaNatives
> Task :extractLinuxNatives
> Task :extractMacOSXNatives
> Task :extractNativeBulletNatives
> Task :extractWindowsNatives
> Task :extractNatives
> Task :engine:copyResourcesToClasses NO-SOURCE
> Task :engine:createVersionInfoFile
> Task :subsystems:TypeHandlerLibrary:processResources NO-SOURCE
> Task :engine:extractIncludeProto
> Task :engine:extractProto
> Task :engine:generateProto

> Task :subsystems:TypeHandlerLibrary:compileJava
warning: No SupportedSourceVersion annotation found on org.terasology.gestalt.annotation.processing.BeanDefinitionProcessor, returning RELEASE_6.
warning: Supported source version 'RELEASE_6' from annotation processor 'org.gradle.api.internal.tasks.compile.processing.TimeTrackingProcessor' less than -source '17'
warning: No SupportedSourceVersion annotation found on org.terasology.gestalt.annotation.processing.ClassIndexProcessor, returning RELEASE_6.
warning: Supported source version 'RELEASE_6' from annotation processor 'org.gradle.api.internal.tasks.compile.processing.TimeTrackingProcessor' less than -source '17'
warning: No SupportedSourceVersion annotation found on org.terasology.gestalt.annotation.processing.ResourceProcessor, returning RELEASE_6.
warning: Supported source version 'RELEASE_6' from annotation processor 'org.gradle.api.internal.tasks.compile.processing.TimeTrackingProcessor' less than -source '17'
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/subsystems/TypeHandlerLibrary/src/main/java/org/terasology/reflection/reflect/ConstructorLibrary.java:241: warning: [removal] AccessController in java.security has been deprecated and marked for removal
        return AccessController.doPrivileged((PrivilegedAction<ObjectConstructor<T>>) ()-> {
               ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/subsystems/TypeHandlerLibrary/src/main/java/org/terasology/persistence/typeHandling/coreTypes/factories/ObjectFieldMapTypeHandlerFactory.java:74: warning: [removal] AccessController in java.security has been deprecated and marked for removal
        return AccessController.doPrivileged((PrivilegedAction<Map<Field, Type>>) () -> {
               ^
Note: /home/jenkins/agent/workspace/Terasology_engine_PR-4968/subsystems/TypeHandlerLibrary/src/main/java/org/terasology/reflection/reflect/ConstructorLibrary.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
8 warnings

> Task :engine:compileJava
warning: No SupportedSourceVersion annotation found on org.terasology.gestalt.annotation.processing.BeanDefinitionProcessor, returning RELEASE_6.
warning: Supported source version 'RELEASE_6' from annotation processor 'org.gradle.api.internal.tasks.compile.processing.TimeTrackingProcessor' less than -source '17'
warning: No SupportedSourceVersion annotation found on org.terasology.gestalt.annotation.processing.ClassIndexProcessor, returning RELEASE_6.
warning: Supported source version 'RELEASE_6' from annotation processor 'org.gradle.api.internal.tasks.compile.processing.TimeTrackingProcessor' less than -source '17'
warning: No SupportedSourceVersion annotation found on org.terasology.gestalt.annotation.processing.ResourceProcessor, returning RELEASE_6.
warning: Supported source version 'RELEASE_6' from annotation processor 'org.gradle.api.internal.tasks.compile.processing.TimeTrackingProcessor' less than -source '17'
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/identity/ClientIdentity.java:35: warning: [removal] getSecurityManager() in System has been deprecated and marked for removal
        if (System.getSecurityManager() != null) {
                  ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/identity/ClientIdentity.java:36: warning: [removal] getSecurityManager() in System has been deprecated and marked for removal
            System.getSecurityManager().checkPermission(SecurityConfig.PRIVATE_CERTIFICATE_ACCESS_PERMISSION);
                  ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/config/SecurityConfig.java:40: warning: [removal] getSecurityManager() in System has been deprecated and marked for removal
        if (System.getSecurityManager() != null) {
                  ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/config/SecurityConfig.java:41: warning: [removal] getSecurityManager() in System has been deprecated and marked for removal
            System.getSecurityManager().checkPermission(permission);
                  ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/entitySystem/entity/internal/BaseEntityRef.java:253: warning: [removal] AccessController in java.security has been deprecated and marked for removal
        return AccessController.doPrivileged((PrivilegedAction<String>) () ->
               ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/audio/formats/OggStreamingSoundData.java:62: warning: [removal] AccessController in java.security has been deprecated and marked for removal
           reader = AccessController.doPrivileged((PrivilegedExceptionAction<OggReader>) () -> new OggReader(stream.openStream()));
                    ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/rendering/nui/layers/hud/HUDScreenLayer.java:57: warning: [removal] inject(Object) in InjectionHelper has been deprecated and marked for removal
        InjectionHelper.inject(widget);
                       ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/rendering/assets/mesh/SkinnedMesh.java:27: error: constructor Asset in class Asset<T> cannot be applied to given types;
        super(urn, assetType, resource);
        ^
  required: ResourceUrn,AssetType<?,SkinnedMeshData>
  found:    ResourceUrn,AssetType<CAP#1,SkinnedMeshData>,DisposableResource
  reason: actual and formal argument lists differ in length
  where T is a type-variable:
    T extends AssetData declared in class Asset
  where CAP#1 is a fresh type-variable:
    CAP#1 extends Asset<SkinnedMeshData> from capture of ?
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/logic/behavior/core/BehaviorTreeBuilder.java:213: warning: [removal] inject(Object) in InjectionHelper has been deprecated and marked for removal
        InjectionHelper.inject(action);
                       ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/core/module/ModuleManager.java:285: warning: [removal] Policy in java.security has been deprecated and marked for removal
            Policy.setPolicy(new ModuleSecurityPolicy());
            ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/core/module/ModuleManager.java:286: warning: [removal] setSecurityManager(SecurityManager) in System has been deprecated and marked for removal
            System.setSecurityManager(new ModuleSecurityManager());
                  ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/logic/clipboard/ClipboardClientSystem.java:25: warning: [removal] AccessController in java.security has been deprecated and marked for removal
        return AccessController.doPrivileged(
               ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/logic/clipboard/ClipboardClientSystem.java:42: warning: [removal] AccessController in java.security has been deprecated and marked for removal
        return AccessController.doPrivileged(
               ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/utilities/concurrency/TaskMaster.java:118: warning: [removal] AccessController in java.security has been deprecated and marked for removal
        AccessController.doPrivileged((PrivilegedAction<Object>) () -> {
        ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/registry/InjectionHelper.java:38: warning: [removal] AccessController in java.security has been deprecated and marked for removal
        AccessController.doPrivileged((PrivilegedAction<Void>) () -> {
        ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/registry/InjectionHelper.java:65: warning: [removal] AccessController in java.security has been deprecated and marked for removal
        AccessController.doPrivileged((PrivilegedAction<Object>) () -> {
        ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/registry/InjectionHelper.java:86: warning: [removal] AccessController in java.security has been deprecated and marked for removal
        AccessController.doPrivileged((PrivilegedAction<Object>) () -> {
        ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/core/ComponentSystemManager.java:203: warning: [removal] inject(Object) in InjectionHelper has been deprecated and marked for removal
        InjectionHelper.inject(system);
                       ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/core/GameScheduler.java:26: warning: [removal] AccessController in java.security has been deprecated and marked for removal
        AccessController.doPrivileged((PrivilegedAction<Void>) () -> {
        ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/telemetry/metrics/Metric.java:84: warning: [removal] AccessController in java.security has been deprecated and marked for removal
        return AccessController.doPrivileged((PrivilegedAction<Map<String, ?>>) () -> {
               ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/core/module/SandboxFileManager.java:66: warning: [removal] AccessController in java.security has been deprecated and marked for removal
        AccessController.doPrivileged((PrivilegedAction<Void>) () -> {
        ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/core/module/SandboxFileManager.java:105: warning: [removal] AccessController in java.security has been deprecated and marked for removal
        AccessController.doPrivileged((PrivilegedAction<Void>) () -> {
        ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/telemetry/TelemetryUtils.java:95: warning: [removal] AccessController in java.security has been deprecated and marked for removal
        AccessController.doPrivileged((PrivilegedAction<Object>) () -> {
        ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/telemetry/TelemetryUtils.java:121: warning: [removal] AccessController in java.security has been deprecated and marked for removal
        AccessController.doPrivileged((PrivilegedAction<Object>) () -> {
        ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/telemetry/TelemetryUtils.java:144: warning: [removal] AccessController in java.security has been deprecated and marked for removal
        AccessController.doPrivileged((PrivilegedAction<Object>) () -> {
        ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/rendering/opengl/ScreenGrabber.java:139: warning: [removal] AccessController in java.security has been deprecated and marked for removal
        AccessController.doPrivileged((PrivilegedAction<Object>) () -> {
        ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/rendering/nui/internal/NUIManagerInternal.java:423: warning: [removal] inject(Object) in InjectionHelper has been deprecated and marked for removal
        InjectionHelper.inject(screen);
                       ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/world/block/family/BlockFamilyLibrary.java:92: warning: [removal] inject(Object) in InjectionHelper has been deprecated and marked for removal
            InjectionHelper.inject(result);
                           ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/world/block/family/BlockFamilyLibrary.java:131: warning: [removal] inject(Object) in InjectionHelper has been deprecated and marked for removal
            InjectionHelper.inject(result);
                           ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/registry/CoreRegistry.java:37: warning: [removal] getSecurityManager() in System has been deprecated and marked for removal
        if (System.getSecurityManager() != null) {
                  ^
/home/jenkins/agent/workspace/Terasology_engine_PR-4968/engine/src/main/java/org/terasology/engine/registry/CoreRegistry.java:38: warning: [removal] getSecurityManager() in System has been deprecated and marked for removal
            System.getSecurityManager().checkPermission(new RuntimePermission("permRegister"));
                  ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
36 warnings

> Task :engine:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':engine:compileJava'.
> 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 4m 24s
32 actionable tasks: 23 executed, 9 up-to-date

Details

  • Declarative: Checkout SCM (32 sec)
    • Setup (8.4 sec)
    • Build (4 min 26 sec)
      Error: script returned exit code 1
    • Unit Tests (1.3 sec)
    • Publish (1.1 sec)
    • Analytics (1 sec)
    • Documentation (1 sec)
    • Integration Tests (without flaky tests) (1 sec)
    • Integration Tests (flaky tests only) (1.1 sec)