You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2022/07/16 20:02:37 UTC

Build failed in Jenkins: POI » POI-DSL-1.17 #323

See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/323/display/redirect?page=changes>

Changes:

[PJ Fanning] java 17 compile issue

[PJ Fanning] [github-342] Use foreach. Thanks to XenoAmess. This closes #342


------------------------------------------
[...truncated 9.45 KB...]
/home/jenkins/tools/java/latest17/bin/javac
+ javac -version
javac 17.0.1
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 520
drwxr-xr-x 22 jenkins jenkins   4096 Jul 16 20:00 .
drwxr-xr-x  3 jenkins jenkins   4096 Apr 22 05:24 ..
-rw-r--r--  1 jenkins jenkins    520 Dec 20  2021 .asf.yaml
drwxr-xr-x  7 jenkins jenkins   4096 Jul 16 13:09 build
-rw-r--r--  1 jenkins jenkins  31753 Jul  4 00:59 build.gradle
-rw-r--r--  1 jenkins jenkins 166629 Jul 16 12:59 build.xml
-rw-r--r--  1 jenkins jenkins   7017 Mar 20 01:03 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   3057 Feb 25 00:59 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Dec 20  2021 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Dec 20  2021 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 May 23 12:59 .github
-rw-r--r--  1 jenkins jenkins    334 Dec 20  2021 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Dec 20  2021 gradle
drwxr-xr-x  6 jenkins jenkins   4096 Jul 16 12:59 .gradle
-rw-r--r--  1 jenkins jenkins    599 Dec 20  2021 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   8070 Dec 20  2021 gradlew
-rw-r--r--  1 jenkins jenkins   2763 Dec 20  2021 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Jun 10 00:59 jenkins
-rw-r--r--  1 jenkins jenkins 167516 Jun 10 00:59 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Dec 20  2021 legal
drwxr-xr-x  2 jenkins jenkins   4096 Dec 20  2021 lib.stored
drwxr-xr-x  3 jenkins jenkins   4096 Jul  4 00:59 osgi
-rw-r--r--  1 jenkins jenkins   4813 Dec 20  2021 patch.xml
drwxr-xr-x  5 jenkins jenkins   4096 Jul 16 13:02 poi
drwxr-xr-x  4 jenkins jenkins   4096 Jul 16 13:00 poi-examples
drwxr-xr-x  4 jenkins jenkins   4096 Jul 16 13:00 poi-excelant
drwxr-xr-x  4 jenkins jenkins   4096 Jul 16 13:00 poi-integration
drwxr-xr-x  4 jenkins jenkins   4096 Jul 16 13:00 poi-ooxml
drwxr-xr-x  4 jenkins jenkins   4096 Jul 16 13:00 poi-ooxml-full
drwxr-xr-x  4 jenkins jenkins   4096 Jul 16 13:01 poi-ooxml-lite
drwxr-xr-x  4 jenkins jenkins   4096 Jul 16 13:00 poi-ooxml-lite-agent
drwxr-xr-x  5 jenkins jenkins   4096 Jul 16 13:00 poi-scratchpad
-rw-r--r--  1 jenkins jenkins   4351 Dec 22  2021 README.rst
-rw-r--r--  1 jenkins jenkins    232 Dec 20  2021 SECURITY.md
-rw-r--r--  1 jenkins jenkins    190 Dec 20  2021 settings.gradle
drwxr-xr-x  4 jenkins jenkins   4096 Dec 20  2021 src
drwxr-xr-x  4 jenkins jenkins   4096 Jul 16 20:00 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Dec 20  2021 test-data
+ echo which ant
which ant
+ which ant
/usr/bin/ant
+ ant -version
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
+ echo <project default="test"><target name="test"><echo>Java ${ant.java.version}/${java.version}</echo><exec executable="javac"><arg value="-version"/></exec></target></project>
+ ant -f build.javacheck.xml -v
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/build.javacheck.xml>
Detected Java version: 17 in: /usr/local/asfpackages/java/oraclejdk-17.0.1
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/>
Build sequence for target(s) `test' is [test]
Complete build sequence is [test, ]

test:
parsing buildfile jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
     [echo] Java 17/17.0.1
     [exec] Current OS is Linux
     [exec] Executing 'javac' with arguments:
     [exec] '-version'
     [exec] 
     [exec] The ' characters around the executable and arguments are
     [exec] not part of the command.
     [exec] javac 17.0.1

BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
[POI-DSL-1.17] $ /bin/sh -xe /tmp/jenkins8485185881837417298.sh
+ touch --no-create build/*/build/test-results/TEST-*.xml build/*/build/test-results/test/TEST-*.xml
[Gradle] - Launching build.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
[POI-DSL-1.17] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/gradlew> -PjdkVersion=17 clean jenkins
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.5/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build 
Configuration on demand is an incubating feature.

> Configure project :
Trying to override old definition of datatype junit
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build

> Task :poi-ooxml-lite-agent:clean
> Task :poi-excelant:clean
> Task :poi-integration:clean
> Task :poi-examples:clean
> Task :poi-integration:compileJava NO-SOURCE
> Task :poi-examples:processResources NO-SOURCE
> Task :poi-integration:processResources NO-SOURCE
> Task :poi-integration:classes UP-TO-DATE
> Task :poi-examples:processTestResources NO-SOURCE
> Task :poi-integration:javadoc SKIPPED
> Task :poi-integration:forbiddenApisMain NO-SOURCE
> Task :poi-integration:processTestResources
> Task :poi-excelant:processResources
> Task :poi-integration:spotbugsMain NO-SOURCE
> Task :poi-integration:getDeps NO-SOURCE
> Task :poi-excelant:processTestResources
> Task :poi-ooxml:clean
> Task :poi-scratchpad:clean
> Task :poi-scratchpad:processResources
> Task :poi-scratchpad:processTestResources NO-SOURCE
> Task :poi-ooxml:fixBatik
> Task :poi-ooxml:processResources
> Task :clean
> Task :poi-ooxml:processTestResources
> Task :poi:clean
> Task :poi:generateVersionJava
> Task :replaceVersion
> Task :poi-integration:jar
> Task :poi-integration:javadocJar SKIPPED
> Task :poi-integration:sourcesJar SKIPPED
> Task :poi-integration:assemble
> Task :poi-excelant:sourcesJar
> Task :poi-examples:sourcesJar
> Task :poi-scratchpad:sourcesJar
> Task :poi-ooxml:sourcesJar
> Task :poi-ooxml-lite-agent:compileJava
> Task :poi-ooxml-lite-agent:compileJava9 SKIPPED
> Task :poi-ooxml-lite-agent:cacheJava9 NO-SOURCE
> Task :poi-ooxml-lite-agent:processResources NO-SOURCE
> Task :poi-ooxml-lite-agent:classes
> Task :poi-ooxml-lite-agent:jar
> Task :poi-ooxml-lite-agent:javadoc SKIPPED
> Task :poi-ooxml-lite-agent:javadocJar SKIPPED
> Task :poi-ooxml-lite-agent:sourcesJar
> Task :poi-ooxml-lite-agent:assemble
> Task :poi-ooxml-lite-agent:forbiddenApisMain UP-TO-DATE
> Task :poi-ooxml-lite-agent:compileTestJava NO-SOURCE
> Task :poi-ooxml-lite-agent:processTestResources NO-SOURCE
> Task :poi-ooxml-lite-agent:testClasses UP-TO-DATE
> Task :poi-ooxml-lite-agent:forbiddenApisTest NO-SOURCE
> Task :poi-ooxml-lite-agent:forbiddenApis UP-TO-DATE
> Task :poi-ooxml-lite-agent:spotbugsMain SKIPPED
> Task :poi-ooxml-lite-agent:spotbugsTest NO-SOURCE
> Task :poi-ooxml-lite-agent:test NO-SOURCE
> Task :poi-ooxml-lite-agent:check UP-TO-DATE
> Task :poi-ooxml-lite-agent:build
> Task :poi-ooxml-full:clean
> Task :poi-ooxml-lite-agent:getDeps
> Task :poi-ooxml-lite-agent:jacocoTestReport SKIPPED
> Task :poi-ooxml-full:copy_xsds
> Task :poi-ooxml-lite:clean
> Task :poi-ooxml-lite:generateModuleInfo UP-TO-DATE
> Task :poi-ooxml-lite:processTestResources NO-SOURCE

> Task :poi-ooxml-full:generate_beans
[ant:xmlbean] ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
Time to build schema type system: 4.165 seconds
Time to generate code: 7.949 seconds

> Task :poi:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/util/GenericRecordUtil.java>:132: warning: [unchecked] unchecked cast
                m.putAll((Map<String,Supplier<?>>)baseMap);
                                                  ^
  required: Map<String,Supplier<?>>
  found:    Object
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/ss/usermodel/CellBase.java>:39: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
    public final void setCellType(CellType cellType) {
                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/ss/formula/BaseFormulaEvaluator.java>:225: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
        cell.setCellType(cellType);
            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:1120: warning: [removal] AccessControlException in java.security has been deprecated and marked for removal
        } catch (AccessControlException e) {
                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/record/NameRecord.java>:466: warning: [deprecation] readAllContinuedRemainder() in RecordInputStream has been deprecated
        byte[] remainder = ris.readAllContinuedRemainder();
                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/record/AbstractEscherHolderRecord.java>:62: warning: [deprecation] readAllContinuedRemainder() in RecordInputStream has been deprecated
            byte[] data = in.readAllContinuedRemainder();
                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/poifs/nio/CleanerUtil.java>:78: warning: [removal] AccessController in java.security has been deprecated and marked for removal
        final Object hack = AccessController.doPrivileged(
                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/poifs/nio/CleanerUtil.java>:178: warning: [removal] AccessController in java.security has been deprecated and marked for removal
            final Throwable error = AccessController.doPrivileged(
                                    ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/record/aggregates/ChartSubstreamRecordAggregate.java>:76: error: reference to Record is ambiguous
                rv.visitRecord((Record) rb);
                                ^
  both class org.apache.poi.hssf.record.Record in org.apache.poi.hssf.record and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/record/RecordFactoryInputStream.java>:335: warning: [deprecation] processContinueRecord(byte[]) in DrawingRecord has been deprecated
                _lastDrawingRecord.processContinueRecord(contRec.getData());
                                  ^
1 error
9 warnings

> Task :poi:compileJava FAILED

> Task :poi-ooxml-lite:compileOoxmlLite
Execution optimizations have been disabled for task ':poi-ooxml-lite:compileOoxmlLite' to ensure correctness due to the following reasons:
  - Gradle detected a problem with the following location: '<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml-full/build'.> Reason: Task ':poi-ooxml-lite:compileOoxmlLite' uses this output of task ':poi-ooxml-full:compileJava' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5/userguide/validation_problems.html#implicit_dependency for more details about this problem.

> Task :poi-ooxml-full:compileJava

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':poi: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.5/userguide/command_line_interface.html#sec:command_line_warnings

Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness.
Please consult deprecation warnings for more details.

BUILD FAILED in 2m 8s
35 actionable tasks: 33 executed, 2 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
[SpotBugs] Skipping execution of recorder since overall result is 'FAILURE'
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
Archiving artifacts
[Fast Archiver] Compressed 2.92 MB of artifacts by 80.4% relative to #322
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
Recording test results
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
ERROR: Step ?Publish JUnit test result report? failed: No test report files were found. Configuration error?
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Jenkins build is back to normal : POI » POI-DSL-1.17 #325

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/325/display/redirect?page=changes>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Build failed in Jenkins: POI » POI-DSL-1.17 #324

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/324/display/redirect?page=changes>

Changes:

[PJ Fanning] java 17 compile issue


------------------------------------------
[...truncated 25.53 KB...]
> Task :poi-ooxml-lite-agent:check UP-TO-DATE
> Task :poi-ooxml-lite-agent:build
> Task :poi-ooxml-lite-agent:getDeps
> Task :poi-ooxml-lite-agent:jacocoTestReport SKIPPED

> Task :poi-ooxml-full:generate_beans
[ant:xmlbean] ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
Time to build schema type system: 4.592 seconds
Time to generate code: 7.832 seconds

> Task :poi:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/util/GenericRecordUtil.java>:132: warning: [unchecked] unchecked cast
                m.putAll((Map<String,Supplier<?>>)baseMap);
                                                  ^
  required: Map<String,Supplier<?>>
  found:    Object
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/ss/usermodel/CellBase.java>:39: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
    public final void setCellType(CellType cellType) {
                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/ss/formula/BaseFormulaEvaluator.java>:225: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
        cell.setCellType(cellType);
            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:1120: warning: [removal] AccessControlException in java.security has been deprecated and marked for removal
        } catch (AccessControlException e) {
                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/record/NameRecord.java>:466: warning: [deprecation] readAllContinuedRemainder() in RecordInputStream has been deprecated
        byte[] remainder = ris.readAllContinuedRemainder();
                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/record/AbstractEscherHolderRecord.java>:62: warning: [deprecation] readAllContinuedRemainder() in RecordInputStream has been deprecated
            byte[] data = in.readAllContinuedRemainder();
                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/poifs/nio/CleanerUtil.java>:78: warning: [removal] AccessController in java.security has been deprecated and marked for removal
        final Object hack = AccessController.doPrivileged(
                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/poifs/nio/CleanerUtil.java>:178: warning: [removal] AccessController in java.security has been deprecated and marked for removal
            final Throwable error = AccessController.doPrivileged(
                                    ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/record/RecordFactoryInputStream.java>:335: warning: [deprecation] processContinueRecord(byte[]) in DrawingRecord has been deprecated
                _lastDrawingRecord.processContinueRecord(contRec.getData());
                                  ^
9 warnings

> Task :poi:compileJava9 SKIPPED
> Task :poi:cacheJava9 NO-SOURCE

> Task :poi-ooxml-lite:compileOoxmlLite
Execution optimizations have been disabled for task ':poi-ooxml-lite:compileOoxmlLite' to ensure correctness due to the following reasons:
  - Gradle detected a problem with the following location: '<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml-full/build'.> Reason: Task ':poi-ooxml-lite:compileOoxmlLite' uses this output of task ':poi-ooxml-full:compileJava' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5/userguide/validation_problems.html#implicit_dependency for more details about this problem.

> Task :poi:processResources
> Task :poi:classes
> Task :poi:jar

> Task :poi:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/POITestCase.java>:122: warning: [removal] AccessController in java.security has been deprecated and marked for removal
            return AccessController.doPrivileged((PrivilegedExceptionAction<R>) () -> {
                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestSheetUpdateArrayFormulas.java>:277: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            scell.setCellType(CellType.STRING);
                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestSheetUpdateArrayFormulas.java>:287: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
                IllegalStateException e = assertThrows(IllegalStateException.class, () -> mcell.setCellType(CellType.NUMERIC));
                                                                                               ^

> Task :poi-ooxml-lite:processResources

> Task :poi-scratchpad:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlide.java>:492: warning: [deprecation] getDisplayPlaceholder(Placeholder) in Slide has been deprecated
    public boolean getDisplayPlaceholder(final Placeholder placeholder) {
                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSoundData.java>:78: error: reference to Record is ambiguous
        for (Record value : ch) {
             ^
  both class org.apache.poi.hslf.record.Record in org.apache.poi.hslf.record and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSoundData.java>:81: error: reference to Record is ambiguous
                Record[] sr = col.getChildRecords();
                ^
  both class org.apache.poi.hslf.record.Record in org.apache.poi.hslf.record and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSoundData.java>:82: error: reference to Record is ambiguous
                for (Record record : sr) {
                     ^
  both class org.apache.poi.hslf.record.Record in org.apache.poi.hslf.record and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/CHPBinTable.java>:69: warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public CHPBinTable( byte[] documentStream, byte[] tableStream, int offset,
           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/BytePropertyNode.java>:35: warning: [unchecked] unchecked method invocation: constructor <init> in class PropertyNode is applied to given types
        super(other);
             ^
  required: PropertyNode<T>
  found:    BytePropertyNode
  where T is a type-variable:
    T extends PropertyNode<T> declared in class PropertyNode
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/BytePropertyNode.java>:35: warning: [unchecked] unchecked conversion
        super(other);
              ^
  required: PropertyNode<T>
  found:    BytePropertyNode
  where T is a type-variable:
    T extends PropertyNode<T> declared in class PropertyNode
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Table.java>:89: warning: [deprecation] TYPE_TABLE in Range has been deprecated
        return TYPE_TABLE;
               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Section.java>:238: warning: [deprecation] TYPE_SECTION in Range has been deprecated
        return TYPE_SECTION;
               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/HWPFList.java>:208: warning: [deprecation] getCharacterStyle(int) in StyleSheet has been deprecated
        CharacterProperties base = _styleSheet.getCharacterStyle( styleIndex );
                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/HWPFList.java>:226: warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated
        ParagraphProperties base = _styleSheet.getParagraphStyle( styleIndex );
                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/ListFormatOverrideLevel.java>:44: warning: [deprecation] ListLevel(byte[],int) in ListLevel has been deprecated
            _lvl = new ListLevel( buf, offset );
                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/HWPFDocument.java>:337: warning: [deprecation] PicturesTable(HWPFDocument,byte[],byte[],FSPATable,OfficeArtContent) in PicturesTable has been deprecated
        _pictures = new PicturesTable(this, _dataStream, _mainStream, _fspaMain, officeArtContent);
                    ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/DocumentProperties.java>:36: warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public DocumentProperties( byte[] tableStream, int offset )
           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/sprm/SprmUtils.java>:52: warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public static byte[] shortArrayToByteArray(short[] convert) {
                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/SinglentonTextPiece.java>:39: warning: [deprecation] characterLength() in TextPiece has been deprecated
    public int characterLength()
               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/HWPFOldDocument.java>:147: warning: [deprecation] OldSectionTable(byte[],int,int,int,TextPieceTable) in OldSectionTable has been deprecated
        _st = new OldSectionTable(
              ^
3 errors
14 warnings

> Task :poi-scratchpad:compileJava FAILED

> Task :poi:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/ss/util/TestSheetUtil.java>:212: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(CellType.STRING);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/poifs/dev/TestPOIFSDump.java>:156: warning: [removal] SecurityManager in java.lang has been deprecated and marked for removal
    private static class TestOverrideSecurityManager extends SecurityManager {
                                                             ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/poifs/dev/TestPOIFSDump.java>:174: warning: [removal] SecurityManager in java.lang has been deprecated and marked for removal
        SecurityManager sm = System.getSecurityManager();
        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/poifs/dev/TestPOIFSDump.java>:174: warning: [removal] getSecurityManager() in System has been deprecated and marked for removal
        SecurityManager sm = System.getSecurityManager();
                                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/poifs/dev/TestPOIFSDump.java>:176: warning: [removal] setSecurityManager(SecurityManager) in System has been deprecated and marked for removal
            System.setSecurityManager(new TestOverrideSecurityManager());
                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/poifs/dev/TestPOIFSDump.java>:179: warning: [removal] setSecurityManager(SecurityManager) in System has been deprecated and marked for removal
            System.setSecurityManager(sm);
                  ^

> Task :poi-ooxml-lite:sourcesJar

> Task :poi:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:385: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(CellType.STRING);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:389: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(CellType.BOOLEAN);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:391: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(CellType.BOOLEAN);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:394: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(CellType.BOOLEAN);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:398: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(CellType.BOOLEAN);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:399: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(CellType.STRING);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:400: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(CellType.ERROR);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:401: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(CellType.STRING);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:403: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(CellType.STRING);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestBugs.java>:2362: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(CellType.STRING);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/record/TestFormulaRecord.java>:90: warning: [deprecation] getCode() in CellType has been deprecated
        assertEquals(CellType.ERROR.getCode(), record.getCachedResultType());
                                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/record/TestFormulaRecord.java>:90: warning: [deprecation] getCachedResultType() in FormulaRecord has been deprecated
        assertEquals(CellType.ERROR.getCode(), record.getCachedResultType());
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/extractor/TestOldExcelExtractor.java>:314: warning: [removal] SecurityManager in java.lang has been deprecated and marked for removal
        SecurityManager sm = System.getSecurityManager();
        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/extractor/TestOldExcelExtractor.java>:314: warning: [removal] getSecurityManager() in System has been deprecated and marked for removal
        SecurityManager sm = System.getSecurityManager();
                                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/extractor/TestOldExcelExtractor.java>:315: warning: [removal] setSecurityManager(SecurityManager) in System has been deprecated and marked for removal
        System.setSecurityManager(new NoExitSecurityManager());
              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/extractor/TestOldExcelExtractor.java>:321: warning: [removal] setSecurityManager(SecurityManager) in System has been deprecated and marked for removal
            System.setSecurityManager(sm);
                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/extractor/TestOldExcelExtractor.java>:366: warning: [removal] SecurityManager in java.lang has been deprecated and marked for removal
    private static class NoExitSecurityManager extends SecurityManager {
                                                       ^
26 warnings

> Task :poi-ooxml-full:compileJava

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':poi-scratchpad: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.5/userguide/command_line_interface.html#sec:command_line_warnings

Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness.
Please consult deprecation warnings for more details.

BUILD FAILED in 2m 10s
41 actionable tasks: 39 executed, 2 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
[SpotBugs] Skipping execution of recorder since overall result is 'FAILURE'
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
Archiving artifacts
[Fast Archiver] Compressed 15.43 MB of artifacts by 15.8% relative to #322
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
Recording test results
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
ERROR: Step ?Publish JUnit test result report? failed: No test report files were found. Configuration error?
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org