WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by net.rubygrapefruit.platform.internal.NativeLibraryLoader in an unnamed module (file:/Users/230407/.gradle/wrapper/dists/gradle-9.3.1-bin/23ovyewtku6u96viwx3xl3oks/gradle-9.3.1/lib/native-platform-0.22-milestone-29.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled


> Configure project :app
WARNING: The option setting 'android.usesSdkInManifest.disallowed=false' is deprecated.
The current default is 'true'.
It will be removed in version 10.0 of the Android Gradle plugin.
WARNING: The option setting 'android.sdk.defaultTargetSdkToCompileSdkIfUnset=false' is deprecated.
The current default is 'true'.
It will be removed in version 10.0 of the Android Gradle plugin.
WARNING: The option setting 'android.enableAppCompileTimeRClass=false' is deprecated.
The current default is 'true'.
It will be removed in version 10.0 of the Android Gradle plugin.
WARNING: The option setting 'android.builtInKotlin=false' is deprecated.
The current default is 'true'.
It will be removed in version 10.0 of the Android Gradle plugin.
WARNING: The option setting 'android.newDsl=false' is deprecated.
The current default is 'true'.
It will be removed in version 10.0 of the Android Gradle plugin.
WARNING: The option setting 'android.r8.optimizedResourceShrinking=false' is deprecated.
The current default is 'true'.
It will be removed in version 10.0 of the Android Gradle plugin.
WARNING: The option setting 'android.defaults.buildfeatures.resvalues=true' is deprecated.
The current default is 'false'.
It will be removed in version 10.0 of the Android Gradle plugin.
WARNING: The option setting 'android.enableJetifier=true' is deprecated.
The current default is 'false'.
It will be removed in version 10.0 of the Android Gradle plugin.
WARNING: The property android.dependency.excludeLibraryComponentsFromConstraints improves project import performance for very large projects. It should be enabled to improve performance.
To suppress this warning, add android.generateSyncIssueWhenLibraryConstraintsAreEnabled=false to gradle.properties
WARNING: The property android.dependency.excludeLibraryComponentsFromConstraints improves project import performance for very large projects. It should be enabled to improve performance.
To suppress this warning, add android.generateSyncIssueWhenLibraryConstraintsAreEnabled=false to gradle.properties
WARNING: The property android.dependency.excludeLibraryComponentsFromConstraints improves project import performance for very large projects. It should be enabled to improve performance.
To suppress this warning, add android.generateSyncIssueWhenLibraryConstraintsAreEnabled=false to gradle.properties
WARNING: The property android.dependency.excludeLibraryComponentsFromConstraints improves project import performance for very large projects. It should be enabled to improve performance.
To suppress this warning, add android.generateSyncIssueWhenLibraryConstraintsAreEnabled=false to gradle.properties

> Task :app:preBuild UP-TO-DATE
> Task :app:preDebugBuild UP-TO-DATE
> Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
> Task :app:javaPreCompileDebug UP-TO-DATE
> Task :app:checkDebugAarMetadata UP-TO-DATE
> Task :app:generateDebugResValues UP-TO-DATE
> Task :app:processDebugGoogleServices UP-TO-DATE
> Task :app:mapDebugSourceSetPaths UP-TO-DATE
> Task :app:processDebugNavigationResources UP-TO-DATE
> Task :app:compileDebugNavigationResources UP-TO-DATE
> Task :app:generateDebugResources UP-TO-DATE
> Task :app:mergeDebugResources UP-TO-DATE
> Task :app:packageDebugResources UP-TO-DATE
> Task :app:parseDebugLocalResources UP-TO-DATE
> Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
> Task :app:extractDeepLinksDebug UP-TO-DATE
> Task :app:processDebugMainManifest UP-TO-DATE
> Task :app:processDebugManifest UP-TO-DATE
> Task :app:processDebugManifestForPackage UP-TO-DATE
> Task :app:processDebugResources UP-TO-DATE

> Task :app:compileDebugJavaWithJavac FAILED
Java compiler version 24 has deprecated support for compiling with source/target version 8.
Try one of the following options:
    1. [Recommended] Use Java toolchain with a lower language version
    2. Set a higher source/target version
    3. Use a lower version of the JDK running the build (if you're not using Java toolchain)
For more details on how to configure these settings, see https://developer.android.com/build/jdks.
To suppress this warning, set android.javaCompile.suppressSourceTargetDeprecationWarning=true in gradle.properties.
warning: [options] source value 8 is obsolete and will be removed in a future release
warning: [options] target value 8 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
/Users/230407/Desktop/FluxupP/app/src/main/java/com/fluxup/app/RegisterActivity.java:24: error: int cannot be dereferenced
        setContentView(R.layout.activity_register);
                        ^
/Users/230407/Desktop/FluxupP/app/src/main/java/com/fluxup/app/RegisterActivity.java:27: error: int cannot be dereferenced
        etUsername = findViewById(R.id.etRegUsername);
                                   ^
/Users/230407/Desktop/FluxupP/app/src/main/java/com/fluxup/app/RegisterActivity.java:28: error: int cannot be dereferenced
        etEmail = findViewById(R.id.etRegEmail);
                                ^
/Users/230407/Desktop/FluxupP/app/src/main/java/com/fluxup/app/RegisterActivity.java:29: error: int cannot be dereferenced
        etPhone = findViewById(R.id.etRegPhone);
                                ^
/Users/230407/Desktop/FluxupP/app/src/main/java/com/fluxup/app/RegisterActivity.java:30: error: int cannot be dereferenced
        etPassword = findViewById(R.id.etRegPassword);
                                   ^
/Users/230407/Desktop/FluxupP/app/src/main/java/com/fluxup/app/RegisterActivity.java:31: error: int cannot be dereferenced
        etConfirmPassword = findViewById(R.id.etRegConfirmPassword);
                                          ^
/Users/230407/Desktop/FluxupP/app/src/main/java/com/fluxup/app/RegisterActivity.java:32: error: int cannot be dereferenced
        btnRegister = findViewById(R.id.btnRegister);
                                    ^
/Users/230407/Desktop/FluxupP/app/src/main/java/com/fluxup/app/RegisterActivity.java:33: error: int cannot be dereferenced
        tvBackToLogin = findViewById(R.id.tvBackToLogin);
                                      ^
/Users/230407/Desktop/FluxupP/app/src/main/java/com/fluxup/app/RegisterActivity.java:34: error: int cannot be dereferenced
        pbRegister = findViewById(R.id.pbRegister);
                                   ^
Note: /Users/230407/Desktop/FluxupP/app/src/main/java/com/fluxup/app/MainActivity.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
9 errors
3 warnings

[Incubating] Problems report is available at: file:///Users/230407/Desktop/FluxupP/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler output below.
  Note: /Users/230407/Desktop/FluxupP/app/src/main/java/com/fluxup/app/MainActivity.java uses or overrides a deprecated API.
  warning: [options] target value 8 is obsolete and will be removed in a future release
  Note: Recompile with -Xlint:deprecation for details.
  warning: [options] source value 8 is obsolete and will be removed in a future release
  warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
  /Users/230407/Desktop/FluxupP/app/src/main/java/com/fluxup/app/RegisterActivity.java:24: error: int cannot be dereferenced
          setContentView(R.layout.activity_register);
                          ^
  /Users/230407/Desktop/FluxupP/app/src/main/java/com/fluxup/app/RegisterActivity.java:27: error: int cannot be dereferenced
          etUsername = findViewById(R.id.etRegUsername);
                                     ^
  /Users/230407/Desktop/FluxupP/app/src/main/java/com/fluxup/app/RegisterActivity.java:28: error: int cannot be dereferenced
          etEmail = findViewById(R.id.etRegEmail);
                                  ^
  /Users/230407/Desktop/FluxupP/app/src/main/java/com/fluxup/app/RegisterActivity.java:29: error: int cannot be dereferenced
          etPhone = findViewById(R.id.etRegPhone);
                                  ^
  /Users/230407/Desktop/FluxupP/app/src/main/java/com/fluxup/app/RegisterActivity.java:30: error: int cannot be dereferenced
          etPassword = findViewById(R.id.etRegPassword);
                                     ^
  /Users/230407/Desktop/FluxupP/app/src/main/java/com/fluxup/app/RegisterActivity.java:31: error: int cannot be dereferenced
          etConfirmPassword = findViewById(R.id.etRegConfirmPassword);
                                            ^
  /Users/230407/Desktop/FluxupP/app/src/main/java/com/fluxup/app/RegisterActivity.java:32: error: int cannot be dereferenced
          btnRegister = findViewById(R.id.btnRegister);
                                      ^
  /Users/230407/Desktop/FluxupP/app/src/main/java/com/fluxup/app/RegisterActivity.java:33: error: int cannot be dereferenced
          tvBackToLogin = findViewById(R.id.tvBackToLogin);
                                        ^
  /Users/230407/Desktop/FluxupP/app/src/main/java/com/fluxup/app/RegisterActivity.java:34: error: int cannot be dereferenced
          pbRegister = findViewById(R.id.pbRegister);
                                     ^
  9 errors
  3 warnings

* Try:
> Check your code and dependencies to fix the compilation error(s)
> Run with --scan to get full insights from a Build Scan (powered by Develocity).

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

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

For more on this, please refer to https://docs.gradle.org/9.3.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 656ms
18 actionable tasks: 1 executed, 17 up-to-date
