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

Expand API classes exposed to modules #648

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

fix(gestalt): Use AccessController::doPrivileged when saving to allow…

0a0d2b9
Select commit
Loading
Failed to load commit list.
Open

Expand API classes exposed to modules #648

fix(gestalt): Use AccessController::doPrivileged when saving to allow…
0a0d2b9
Select commit
Loading
Failed to load commit list.
Terasology Jenkins.io / Jenkins failed Dec 4, 2023 in 2m 49s

Build: error in 'sh' step

Build / Shell Script

Error in sh step, with arguments ./gradlew clean distZipBundleJres.

script returned exit code 1
Build log
+ ./gradlew clean distZipBundleJres
Downloading https://services.gradle.org/distributions/gradle-7.6-all.zip
.............................................................................................................................................................

Welcome to Gradle 7.6!

Here are the highlights of this release:
 - Added support for Java 19.
 - Introduced `--rerun` flag for individual task rerun.
 - Improved dependency block for test suites to be strongly typed.
 - Added a pluggable system for Java toolchains provisioning.

For more details see https://docs.gradle.org/7.6/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)
Configuration on demand is an incubating feature.
***** WARNING: Found a module without a build.gradle, Adding a build.gradle to modules:core. *****
> Task :build-logic:extractPluginRequests
> Task :build-logic:generatePluginAdapters
> Task :build-logic:compileJava
> Task :build-logic:compileGroovy NO-SOURCE
> Task :build-logic:compileGroovyPlugins
> Task :build-logic:pluginDescriptors
> Task :build-logic:processResources
> Task :build-logic:classes
> Task :build-logic:jar
> Task :clean UP-TO-DATE
> Task :desktop:clean UP-TO-DATE
> Task :engine:clean UP-TO-DATE
> Task :modules:core:clean UP-TO-DATE
> Task :desktop:copyLaunchers

> 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 '8'
Note: Creating bean classes for 136 type elements
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 '8'
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 '8'
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/GameOptions.java:23: error: cannot find symbol
import org.terasology.gestalt.module.sandbox.API;
                                            ^
  symbol:   class API
  location: package org.terasology.gestalt.module.sandbox
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/GameOptions.java:27: error: cannot find symbol
@API
 ^
  symbol: class API
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/rendering/RenderableElement.java:24: error: cannot find symbol
import org.terasology.gestalt.module.sandbox.API;
                                            ^
  symbol:   class API
  location: package org.terasology.gestalt.module.sandbox
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/rendering/RenderableElement.java:29: error: cannot find symbol
@API
 ^
  symbol: class API
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/Const.java:18: error: cannot find symbol
import org.terasology.gestalt.module.sandbox.API;
                                            ^
  symbol:   class API
  location: package org.terasology.gestalt.module.sandbox
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/Const.java:20: error: cannot find symbol
@API
 ^
  symbol: class API
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/stasis/components/package-info.java:18: error: cannot find symbol
import org.terasology.gestalt.module.sandbox.API;
                                            ^
  symbol:   class API
  location: package org.terasology.gestalt.module.sandbox
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/body/events/package-info.java:18: error: cannot find symbol
import org.terasology.gestalt.module.sandbox.API;
                                            ^
  symbol:   class API
  location: package org.terasology.gestalt.module.sandbox
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/body/components/package-info.java:18: error: cannot find symbol
import org.terasology.gestalt.module.sandbox.API;
                                            ^
  symbol:   class API
  location: package org.terasology.gestalt.module.sandbox
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/location/events/package-info.java:18: error: cannot find symbol
import org.terasology.gestalt.module.sandbox.API;
                                            ^
  symbol:   class API
  location: package org.terasology.gestalt.module.sandbox
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/location/components/package-info.java:18: error: cannot find symbol
import org.terasology.gestalt.module.sandbox.API;
                                            ^
  symbol:   class API
  location: package org.terasology.gestalt.module.sandbox
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/asteroids/components/package-info.java:18: error: cannot find symbol
import org.terasology.gestalt.module.sandbox.API;
                                            ^
  symbol:   class API
  location: package org.terasology.gestalt.module.sandbox
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/health/events/package-info.java:18: error: cannot find symbol
import org.terasology.gestalt.module.sandbox.API;
                                            ^
  symbol:   class API
  location: package org.terasology.gestalt.module.sandbox
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/health/components/package-info.java:18: error: cannot find symbol
import org.terasology.gestalt.module.sandbox.API;
                                            ^
  symbol:   class API
  location: package org.terasology.gestalt.module.sandbox
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/rendering/events/package-info.java:18: error: cannot find symbol
import org.terasology.gestalt.module.sandbox.API;
                                            ^
  symbol:   class API
  location: package org.terasology.gestalt.module.sandbox
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/rendering/components/package-info.java:18: error: cannot find symbol
import org.terasology.gestalt.module.sandbox.API;
                                            ^
  symbol:   class API
  location: package org.terasology.gestalt.module.sandbox
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/size/components/package-info.java:18: error: cannot find symbol
import org.terasology.gestalt.module.sandbox.API;
                                            ^
  symbol:   class API
  location: package org.terasology.gestalt.module.sandbox
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/rubble/components/package-info.java:18: error: cannot find symbol
import org.terasology.gestalt.module.sandbox.API;
                                            ^
  symbol:   class API
  location: package org.terasology.gestalt.module.sandbox
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/removal/events/package-info.java:18: error: cannot find symbol
import org.terasology.gestalt.module.sandbox.API;
                                            ^
  symbol:   class API
  location: package org.terasology.gestalt.module.sandbox
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/removal/components/package-info.java:18: error: cannot find symbol
import org.terasology.gestalt.module.sandbox.API;
                                            ^
  symbol:   class API
  location: package org.terasology.gestalt.module.sandbox
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/moneyDropping/components/package-info.java:18: error: cannot find symbol
import org.terasology.gestalt.module.sandbox.API;
                                            ^
  symbol:   class API
  location: package org.terasology.gestalt.module.sandbox
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/stasis/components/package-info.java:16: error: cannot find symbol
@API package org.destinationsol.stasis.components;
 ^
  symbol: class API
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/body/events/package-info.java:16: error: cannot find symbol
@API package org.destinationsol.body.events;
 ^
  symbol: class API
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/body/components/package-info.java:16: error: cannot find symbol
@API package org.destinationsol.body.components;
 ^
  symbol: class API
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/location/events/package-info.java:16: error: cannot find symbol
@API package org.destinationsol.location.events;
 ^
  symbol: class API
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/location/components/package-info.java:16: error: cannot find symbol
@API package org.destinationsol.location.components;
 ^
  symbol: class API
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/asteroids/components/package-info.java:16: error: cannot find symbol
@API package org.destinationsol.asteroids.components;
 ^
  symbol: class API
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/health/events/package-info.java:16: error: cannot find symbol
@API package org.destinationsol.health.events;
 ^
  symbol: class API
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/health/components/package-info.java:16: error: cannot find symbol
@API package org.destinationsol.health.components;
 ^
  symbol: class API
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/rendering/events/package-info.java:16: error: cannot find symbol
@API package org.destinationsol.rendering.events;
 ^
  symbol: class API
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/rendering/components/package-info.java:16: error: cannot find symbol
@API package org.destinationsol.rendering.components;
 ^
  symbol: class API
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/size/components/package-info.java:16: error: cannot find symbol
@API package org.destinationsol.size.components;
 ^
  symbol: class API
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/rubble/components/package-info.java:16: error: cannot find symbol
@API package org.destinationsol.rubble.components;
 ^
  symbol: class API
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/removal/events/package-info.java:16: error: cannot find symbol
@API package org.destinationsol.removal.events;
 ^
  symbol: class API
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/removal/components/package-info.java:16: error: cannot find symbol
@API package org.destinationsol.removal.components;
 ^
  symbol: class API
/home/jenkins/agent/workspace/DestinationSol_engine_PR-648/engine/src/main/java/org/destinationsol/moneyDropping/components/package-info.java:16: error: cannot find symbol
@API package org.destinationsol.moneyDropping.components;
 ^
  symbol: class API
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
36 errors
6 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 --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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.6/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 2m 3s
13 actionable tasks: 9 executed, 4 up-to-date

Details

  • Declarative: Checkout SCM (20 sec)
    • Setup (1.7 sec)
    • Build (2 min 6 sec)
      Error: script returned exit code 1
    • Analytics (1.5 sec)
    • Record (1.2 sec)
    • Build Android (1.3 sec)
    • Record Android (1.1 sec)
    • Notify (1.2 sec)
    • Publish to Play Store (12 sec)
      • Prepare Fastlane (1.3 sec)
      • Create Release APK (1.1 sec)
      • Target release channel (8.8 sec)
        • Publish Alpha To Play Store (4 ms)
          • Publish Alpha To Play Store (3.6 sec)
        • Publish Beta To Play Store (3 ms)
          • Publish Beta To Play Store (3.6 sec)
        • Publish Live To Play Store (7.3 sec)
          • Publish Live To Play Store (3.6 sec)