FOME-Tech / fome-fw

Free Open Motorsports ECU
https://www.fome.tech
Other
43 stars 22 forks source link

JAVA11 compiling console fails with 17 errors #342

Closed mi-hol closed 7 months ago

mi-hol commented 7 months ago

https://github.com/FOME-Tech/fome-fw/actions/runs/7462043825/job/20303479305#step:9:157

Run ./gradlew test

> Configure project :autotest
The Project.getConvention() method has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.4/userguide/upgrading_version_8.html#deprecated_access_to_conventions
The org.gradle.api.plugins.Convention type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.4/userguide/upgrading_version_8.html#deprecated_access_to_conventions

> Configure project :config_definition
The org.gradle.util.ConfigureUtil type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.4/userguide/upgrading_version_8.html#org_gradle_util_reports_deprecations
    at build_6j4a4kqa6kto6[7](https://github.com/FOME-Tech/fome-fw/actions/runs/7462043825/job/20303479305#step:9:8)udrkvhpe94f.run(/home/runner/work/fome-fw/fome-fw/java_tools/configuration_definition/build.gradle:1[8](https://github.com/FOME-Tech/fome-fw/actions/runs/7462043825/job/20303479305#step:9:9))
    (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The org.gradle.api.plugins.JavaPluginConvention type has been deprecated. This is scheduled to be removed in Gradle [9](https://github.com/FOME-Tech/fome-fw/actions/runs/7462043825/job/20303479305#step:9:10).0. Consult the upgrading guide for further information: https://docs.gradle.org/8.4/userguide/upgrading_version_8.html#java_convention_deprecation
    at build_6j4a4kqa6kto67udrkvhpe94f.run(/home/runner/work/fome-fw/fome-fw/java_tools/configuration_definition/build.gradle:18)
    (Run with --stacktrace to get the full stack trace of this deprecation warning.)

> Configure project :enum_to_string
Build file '/home/runner/work/fome-fw/fome-fw/java_tools/enum_to_string/build.gradle': line 20
The org.gradle.api.plugins.BasePluginConvention type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.4/userguide/upgrading_version_8.html#base_convention_deprecation
    at build_7ryml424g2mrufz6bete7q6gy$_run_closure2.doCall$original(/home/runner/work/fome-fw/fome-fw/java_tools/enum_to_string/build.gradle:20)
    (Run with --stacktrace to get the full stack trace of this deprecation warning.)
    at build_7ryml424g2mrufz6bete7q6gy.run(/home/runner/work/fome-fw/fome-fw/java_tools/enum_to_string/build.gradle:19)
    (Run with --stacktrace to get the full stack trace of this deprecation warning.)
Build file '/home/runner/work/fome-fw/fome-fw/java_tools/enum_to_string/build.gradle': line 20
The org.gradle.api.plugins.Convention type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.4/userguide/upgrading_version_8.html#deprecated_access_to_conventions
    at build_7ryml424g2mrufz6bete7q6gy$_run_closure2.doCall$original(/home/runner/work/fome-fw/fome-fw/java_tools/enum_to_string/build.gradle:20)
    (Run with --stacktrace to get the full stack trace of this deprecation warning.)
    at build_7ryml424g2mrufz6bete7q6gy.run(/home/runner/work/fome-fw/fome-fw/java_tools/enum_to_string/build.gradle:19)
    (Run with --stacktrace to get the full stack trace of this deprecation warning.)
Build file '/home/runner/work/fome-fw/fome-fw/java_tools/enum_to_string/build.gradle': line 39
The org.gradle.util.ConfigureUtil type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.4/userguide/upgrading_version_8.html#org_gradle_util_reports_deprecations
    at build_7ryml424g2mrufz6bete7q6gy$_run_closure3$_closure5.doCall$original(/home/runner/work/fome-fw/fome-fw/java_tools/enum_to_string/build.gradle:39)
    (Run with --stacktrace to get the full stack trace of this deprecation warning.)
    at build_7ryml424g2mrufz6bete7q6gy$_run_closure3.doCall$original(/home/runner/work/fome-fw/fome-fw/java_tools/enum_to_string/build.gradle:38)
    (Run with --stacktrace to get the full stack trace of this deprecation warning.)

> Task :core_io:compileJava
> Task :core_io:processResources NO-SOURCE
> Task :core_io:classes
> Task :core_io:jar

> Task :logging-api:compileJava

> Task :logging-api:processResources NO-SOURCE
> Task :logging-api:classes
> Task :logging-api:jar
/home/runner/work/fome-fw/fome-fw/java_console/logging-api/src/main/java/com/devexperts/util/IndexedSet.java:483: warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public boolean contains(Object value) {
                   ^
/home/runner/work/fome-fw/fome-fw/java_console/logging-api/src/main/java/com/devexperts/util/IndexerFunction.java:346: warning: [deprecation] Indexer in com.devexperts.util has been deprecated
            return Indexer.DEFAULT;
                   ^
/home/runner/work/fome-fw/fome-fw/java_console/logging-api/src/main/java/com/devexperts/logging/Logging.java:187: warning: [deprecation] newInstance() in Class has been deprecated
                impl = (DefaultLogging)Class.forName(className).newInstance();
                                                               ^
  where T is a type-variable:
    T extends Object declared in class Class
/home/runner/work/fome-fw/fome-fw/java_console/logging-api/src/main/java/com/devexperts/logging/Logging.java:2[14](https://github.com/FOME-Tech/fome-fw/actions/runs/7462043825/job/20303479305#step:9:15): warning: [deprecation] newInstance() in Class has been deprecated
                impl = (DefaultLogging)Class.forName("com.devexperts.logging.Log4j2Logging").newInstance();
                                                                                            ^
  where T is a type-variable:
    T extends Object declared in class Class
4 warnings

> Task :inifile:compileJava FAILED
/home/runner/work/fome-fw/fome-fw/java_console/inifile/src/main/java/com/rusefi/tune/xml/Constant.java:3: error: package javax.xml.bind.annotation does not exist
import javax.xml.bind.annotation.XmlAttribute;
                                ^
/home/runner/work/fome-fw/fome-fw/java_console/inifile/src/main/java/com/rusefi/tune/xml/Constant.java:4: error: package javax.xml.bind.annotation does not exist
import javax.xml.bind.annotation.XmlValue;
                                ^
/home/runner/work/fome-fw/fome-fw/java_console/inifile/src/main/java/com/rusefi/tune/xml/VersionInfo.java:3: error: package javax.xml.bind.annotation does not exist
import javax.xml.bind.annotation.XmlAttribute;
                                ^
/home/runner/work/fome-fw/fome-fw/java_console/inifile/src/main/java/com/rusefi/tune/xml/package-info.java:7: error: package javax.xml.bind.annotation does not exist
import javax.xml.bind.annotation.XmlNsForm;
                                ^
5 actionable tasks: 5 executed
/home/runner/work/fome-fw/fome-fw/java_console/inifile/src/main/java/com/rusefi/tune/xml/package-info.java:8: error: package javax.xml.bind.annotation does not exist
import javax.xml.bind.annotation.XmlSchema;
                                ^
/home/runner/work/fome-fw/fome-fw/java_console/inifile/src/main/java/com/rusefi/tune/xml/Constant.java:24: error: cannot find symbol
    @XmlAttribute
     ^
  symbol:   class XmlAttribute
  location: class Constant
/home/runner/work/fome-fw/fome-fw/java_console/inifile/src/main/java/com/rusefi/tune/xml/Constant.java:29: error: cannot find symbol
    @XmlAttribute
     ^
  symbol:   class XmlAttribute
  location: class Constant
/home/runner/work/fome-fw/fome-fw/java_console/inifile/src/main/java/com/rusefi/tune/xml/Constant.java:34: error: cannot find symbol
    @XmlValue
     ^
  symbol:   class XmlValue
  location: class Constant
/home/runner/work/fome-fw/fome-fw/java_console/inifile/src/main/java/com/rusefi/tune/xml/Constant.java:39: error: cannot find symbol
    @XmlAttribute
     ^
  symbol:   class XmlAttribute
  location: class Constant
/home/runner/work/fome-fw/fome-fw/java_console/inifile/src/main/java/com/rusefi/tune/xml/Constant.java:44: error: cannot find symbol
    @XmlAttribute
     ^
  symbol:   class XmlAttribute
  location: class Constant
/home/runner/work/fome-fw/fome-fw/java_console/inifile/src/main/java/com/rusefi/tune/xml/Constant.java:49: error: cannot find symbol
    @XmlAttribute
     ^
  symbol:   class XmlAttribute
  location: class Constant
/home/runner/work/fome-fw/fome-fw/java_console/inifile/src/main/java/com/rusefi/tune/xml/VersionInfo.java:[17](https://github.com/FOME-Tech/fome-fw/actions/runs/7462043825/job/20303479305#step:9:18): error: cannot find symbol
    @XmlAttribute
     ^
  symbol:   class XmlAttribute
  location: class VersionInfo
/home/runner/work/fome-fw/fome-fw/java_console/inifile/src/main/java/com/rusefi/tune/xml/VersionInfo.java:[22](https://github.com/FOME-Tech/fome-fw/actions/runs/7462043825/job/20303479305#step:9:23): error: cannot find symbol
    @XmlAttribute
     ^
  symbol:   class XmlAttribute
  location: class VersionInfo
/home/runner/work/fome-fw/fome-fw/java_console/inifile/src/main/java/com/rusefi/tune/xml/VersionInfo.java:[27](https://github.com/FOME-Tech/fome-fw/actions/runs/7462043825/job/20303479305#step:9:28): error: cannot find symbol
    @XmlAttribute
     ^
  symbol:   class XmlAttribute
  location: class VersionInfo
/home/runner/work/fome-fw/fome-fw/java_console/inifile/src/main/java/com/rusefi/tune/xml/VersionInfo.java:[32](https://github.com/FOME-Tech/fome-fw/actions/runs/7462043825/job/20303479305#step:9:33): error: cannot find symbol
    @XmlAttribute
     ^
  symbol:   class XmlAttribute
  location: class VersionInfo
/home/runner/work/fome-fw/fome-fw/java_console/inifile/src/main/java/com/rusefi/tune/xml/package-info.java:1: error: cannot find symbol
@XmlSchema(
 ^
  symbol: class XmlSchema
/home/runner/work/fome-fw/fome-fw/java_console/inifile/src/main/java/com/rusefi/tune/xml/package-info.java:3: error: cannot find symbol
        elementFormDefault = XmlNsForm.QUALIFIED
                             ^
  symbol: variable XmlNsForm
17 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':inifile:compileJava'.
> Compilation failed; see the compiler error output for details.
mi-hol commented 7 months ago

closed because number of errors trying with the more desirable JAVA17 LTS version is identical