tweak #1845
Annotations
8 errors and 4 warnings
Run /./.github/actions/post-build-selective
Avoid hardcoding the debug mode; leaving it out allows debug and release builds to automatically assign one
|
Run /./.github/actions/post-build-selective
Access to private field privateField of class SyntheticAccessorViolation requires synthetic accessor
|
Run /./.github/actions/post-build-selective
Process completed with exit code 1.
|
Run /./.github/actions/post-build-selective:
out/testkit/compile.dest/classes/mill/testkit/UtestExampleTestSuite.class#L13
evalResult.isSuccess
evalResult: mill.testkit.IntegrationTester.EvalResult = EvalResult(false,[build.mill] [info] compiling 1 Scala source to /home/runner/work/mill-1/mill-1/out/example/android/javalib/1-hello-world/local/server/test.dest/sandbox/run-2/out/mill-build/compile.dest/classes ...
[build.mill] [info] done compiling
Compiling resources of main with the following command: /usr/local/lib/android/sdk/build-tools/35.0.0/aapt2 compile --dir /home/runner/work/mill-1/mill-1/out/example/android/javalib/1-hello-world/local/server/test.dest/sandbox/run-2/app/src/main/res -o /home/runner/work/mill-1/mill-1/out/example/android/javalib/1-hello-world/local/server/test.dest/sandbox/run-2/out/app/androidResources.dest/compiled-resources/main.zip --no-crunch
Linking application resources with the command: /usr/local/lib/android/sdk/build-tools/35.0.0/aapt2 link -I /usr/local/lib/android/sdk/platforms/android-35/android.jar --manifest /home/runner/work/mill-1/mill-1/out/example/android/javalib/1-hello-world/local/server/test.dest/sandbox/run-2/out/app/androidMergedManifest.dest/AndroidManifest.xml --java /home/runner/work/mill-1/mill-1/out/example/android/javalib/1-hello-world/local/server/test.dest/sandbox/run-2/out/app/androidResources.dest/RClass --min-sdk-version 19 --target-sdk-version 35 --version-code 1 --version-name 1.0 --proguard-main-dex /home/runner/work/mill-1/mill-1/out/example/android/javalib/1-hello-world/local/server/test.dest/sandbox/run-2/out/app/androidResources.dest/main-dex-rules.pro --proguard-conditional-keep-rules -o /home/runner/work/mill-1/mill-1/out/example/android/javalib/1-hello-world/local/server/test.dest/sandbox/run-2/out/app/androidResources.dest/res.apk --debug-mode --auto-add-overlay /home/runner/work/mill-1/mill-1/out/example/android/javalib/1-hello-world/local/server/test.dest/sandbox/run-2/out/app/androidResources.dest/compiled-resources/main.zip
[info] compiling 4 Java sources to /home/runner/work/mill-1/mill-1/out/example/android/javalib/1-hello-world/local/server/test.dest/sandbox/run-2/out/app/compile.dest/classes ...
[error] /home/runner/work/mill-1/mill-1/out/example/android/javalib/1-hello-world/local/server/test.dest/sandbox/run-2/out/app/androidResources.dest/RClass/com/helloworld/app/R.java:10:14: duplicate class: com.helloworld.app.R
[error] public final class R {
[error] public static final class color {
[error] public static final int text_green=0x7f010000;
[error] public static final int white=0x7f010001;
[error] }
[error] public static final class string {
[error] public static final int app_name=0x7f020000;
[error] public static final int hello_world=0x7f020001;
[error] }
[error] }
[error] ^
[info] /home/runner/work/mill-1/mill-1/out/example/android/javalib/1-hello-world/local/server/test.dest/sandbox/run-2/app/src/main/java/com/helloworld/app/MainActivity.java: MainActivity.java uses or overrides a deprecated API.
[info] /home/runner/work/mill-1/mill-1/out/example/android/javalib/1-hello-world/local/server/test.dest/sandbox/run-2/app/src/main/java/com/helloworld/app/MainActivity.java: Recompile with -Xlint:deprecation for details.
1 tasks failed
show 1 tasks failed
app.compile javac returned non-zero exit code
,)
|
Run /./.github/actions/post-build-selective:
out/testkit/compile.dest/classes/mill/testkit/UtestExampleTestSuite.class#L13
evalResult.isSuccess
evalResult: mill.testkit.IntegrationTester.EvalResult = EvalResult(false,[build.mill] [info] compiling 1 Scala source to /home/runner/work/mill-1/mill-1/out/example/android/javalib/2-app-bundle/local/server/test.dest/sandbox/run-2/out/mill-build/compile.dest/classes ...
[build.mill] [info] done compiling
Compiling resources of main with the following command: /usr/local/lib/android/sdk/build-tools/35.0.0/aapt2 compile --dir /home/runner/work/mill-1/mill-1/out/example/android/javalib/2-app-bundle/local/server/test.dest/sandbox/run-2/bundle/src/main/res -o /home/runner/work/mill-1/mill-1/out/example/android/javalib/2-app-bundle/local/server/test.dest/sandbox/run-2/out/bundle/androidResources.dest/compiled-resources/main.zip --no-crunch
Linking application resources with the command: /usr/local/lib/android/sdk/build-tools/35.0.0/aapt2 link -I /usr/local/lib/android/sdk/platforms/android-35/android.jar --manifest /home/runner/work/mill-1/mill-1/out/example/android/javalib/2-app-bundle/local/server/test.dest/sandbox/run-2/out/bundle/androidMergedManifest.dest/AndroidManifest.xml --java /home/runner/work/mill-1/mill-1/out/example/android/javalib/2-app-bundle/local/server/test.dest/sandbox/run-2/out/bundle/androidResources.dest/RClass --min-sdk-version 1 --target-sdk-version 35 --version-code 1 --version-name 1.0 --proguard-main-dex /home/runner/work/mill-1/mill-1/out/example/android/javalib/2-app-bundle/local/server/test.dest/sandbox/run-2/out/bundle/androidResources.dest/main-dex-rules.pro --proguard-conditional-keep-rules -o /home/runner/work/mill-1/mill-1/out/example/android/javalib/2-app-bundle/local/server/test.dest/sandbox/run-2/out/bundle/androidResources.dest/res.apk --debug-mode --auto-add-overlay --proto-format /home/runner/work/mill-1/mill-1/out/example/android/javalib/2-app-bundle/local/server/test.dest/sandbox/run-2/out/bundle/androidResources.dest/compiled-resources/main.zip
[info] compiling 3 Java sources to /home/runner/work/mill-1/mill-1/out/example/android/javalib/2-app-bundle/local/server/test.dest/sandbox/run-2/out/bundle/compile.dest/classes ...
[error] /home/runner/work/mill-1/mill-1/out/example/android/javalib/2-app-bundle/local/server/test.dest/sandbox/run-2/out/bundle/androidResources.dest/RClass/com/helloworld/app/R.java:10:14: duplicate class: com.helloworld.app.R
[error] public final class R {
[error] public static final class color {
[error] public static final int text_green=0x7f010000;
[error] public static final int white=0x7f010001;
[error] }
[error] public static final class string {
[error] public static final int app_name=0x7f020000;
[error] public static final int hello_world=0x7f020001;
[error] }
[error] }
[error] ^
[info] /home/runner/work/mill-1/mill-1/out/example/android/javalib/2-app-bundle/local/server/test.dest/sandbox/run-2/bundle/src/main/java/com/helloworld/app/MainActivity.java: MainActivity.java uses or overrides a deprecated API.
[info] /home/runner/work/mill-1/mill-1/out/example/android/javalib/2-app-bundle/local/server/test.dest/sandbox/run-2/bundle/src/main/java/com/helloworld/app/MainActivity.java: Recompile with -Xlint:deprecation for details.
1 tasks failed
show 1 tasks failed
bundle.compile javac returned non-zero exit code
,)
|
Run /./.github/actions/post-build-selective:
out/testkit/compile.dest/classes/mill/testkit/UtestExampleTestSuite.class#L13
evalResult.isSuccess
evalResult: mill.testkit.IntegrationTester.EvalResult = EvalResult(false,[build.mill] [info] compiling 1 Scala source to /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/1-hello-kotlin/local/server/test.dest/sandbox/run-2/out/mill-build/compile.dest/classes ...
[build.mill] [info] done compiling
Compiling resources of main with the following command: /usr/local/lib/android/sdk/build-tools/35.0.0/aapt2 compile --dir /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/1-hello-kotlin/local/server/test.dest/sandbox/run-2/app/src/main/res -o /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/1-hello-kotlin/local/server/test.dest/sandbox/run-2/out/app/androidResources.dest/compiled-resources/main.zip --no-crunch
Linking application resources with the command: /usr/local/lib/android/sdk/build-tools/35.0.0/aapt2 link -I /usr/local/lib/android/sdk/platforms/android-35/android.jar --manifest /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/1-hello-kotlin/local/server/test.dest/sandbox/run-2/out/app/androidMergedManifest.dest/AndroidManifest.xml --java /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/1-hello-kotlin/local/server/test.dest/sandbox/run-2/out/app/androidResources.dest/RClass --min-sdk-version 19 --target-sdk-version 35 --version-code 1 --version-name 1.0 --proguard-main-dex /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/1-hello-kotlin/local/server/test.dest/sandbox/run-2/out/app/androidResources.dest/main-dex-rules.pro --proguard-conditional-keep-rules -o /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/1-hello-kotlin/local/server/test.dest/sandbox/run-2/out/app/androidResources.dest/res.apk --debug-mode --auto-add-overlay /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/1-hello-kotlin/local/server/test.dest/sandbox/run-2/out/app/androidResources.dest/compiled-resources/main.zip
Compiling 3 Kotlin sources to /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/1-hello-kotlin/local/server/test.dest/sandbox/run-2/out/app/compile.dest/classes ...
Compiling 2 Java sources to /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/1-hello-kotlin/local/server/test.dest/sandbox/run-2/out/app/compile.dest/classes ...
[info] compiling 2 Java sources to /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/1-hello-kotlin/local/server/test.dest/sandbox/run-2/out/app/compile.dest/classes ...
[error] /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/1-hello-kotlin/local/server/test.dest/sandbox/run-2/out/app/androidResources.dest/RClass/com/helloworld/app/R.java:10:14: duplicate class: com.helloworld.app.R
[error] public final class R {
[error] public static final class color {
[error] public static final int text_green=0x7f010000;
[error] public static final int white=0x7f010001;
[error] }
[error] public static final class string {
[error] public static final int app_name=0x7f020000;
[error] public static final int hello_world=0x7f020001;
[error] }
[error] }
[error] ^
1 tasks failed
show 1 tasks failed
app.compile javac returned non-zero exit code
,)
|
Run /./.github/actions/post-build-selective:
out/testkit/compile.dest/classes/mill/testkit/UtestExampleTestSuite.class#L13
evalResult.isSuccess
evalResult: mill.testkit.IntegrationTester.EvalResult = EvalResult(false,[build.mill] [info] compiling 1 Scala source to /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/2-compose/local/server/test.dest/sandbox/run-2/out/mill-build/compile.dest/classes ...
[build.mill] [info] done compiling
Compiling resources of core-ktx-1.15.0 with the following command: /usr/local/lib/android/sdk/build-tools/35.0.0/aapt2 compile --dir /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/2-compose/local/server/test.dest/sandbox/run-2/out/app/androidUnpackArchives.dest/core-ktx-1.15.0/res -o /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/2-compose/local/server/test.dest/sandbox/run-2/out/app/androidResources.dest/compiled-resources/core-ktx-1.15.0.zip --no-crunch
Compiling resources of activity-compose-1.9.3 with the following command: /usr/local/lib/android/sdk/build-tools/35.0.0/aapt2 compile --dir /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/2-compose/local/server/test.dest/sandbox/run-2/out/app/androidUnpackArchives.dest/activity-compose-1.9.3/res -o /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/2-compose/local/server/test.dest/sandbox/run-2/out/app/androidResources.dest/compiled-resources/activity-compose-1.9.3.zip --no-crunch
Compiling resources of core-1.15.0 with the following command: /usr/local/lib/android/sdk/build-tools/35.0.0/aapt2 compile --dir /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/2-compose/local/server/test.dest/sandbox/run-2/out/app/androidUnpackArchives.dest/core-1.15.0/res -o /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/2-compose/local/server/test.dest/sandbox/run-2/out/app/androidResources.dest/compiled-resources/core-1.15.0.zip --no-crunch
Compiling resources of activity-ktx-1.9.3 with the following command: /usr/local/lib/android/sdk/build-tools/35.0.0/aapt2 compile --dir /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/2-compose/local/server/test.dest/sandbox/run-2/out/app/androidUnpackArchives.dest/activity-ktx-1.9.3/res -o /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/2-compose/local/server/test.dest/sandbox/run-2/out/app/androidResources.dest/compiled-resources/activity-ktx-1.9.3.zip --no-crunch
Compiling resources of ui-android-1.7.5 with the following command: /usr/local/lib/android/sdk/build-tools/35.0.0/aapt2 compile --dir /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/2-compose/local/server/test.dest/sandbox/run-2/out/app/androidUnpackArchives.dest/ui-android-1.7.5/res -o /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/2-compose/local/server/test.dest/sandbox/run-2/out/app/androidResources.dest/compiled-resources/ui-android-1.7.5.zip --no-crunch
Compiling resources of material3-android-1.3.1 with the following command: /usr/local/lib/android/sdk/build-tools/35.0.0/aapt2 compile --dir /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/2-compose/local/server/test.dest/sandbox/run-2/out/app/androidUnpackArchives.dest/material3-android-1.3.1/res -o /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/2-compose/local/server/test.dest/sandbox/run-2/out/app/androidResources.dest/compiled-resources/material3-android-1.3.1.zip --no-crunch
Compiling resources of annotation-experimental-1.4.1 with the following command: /usr/local/lib/android/sdk/build-tools/35.0.0/aapt2 compile --dir /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/2-compose/local/server/test.dest/sandbox/run-2/out/app/androidUnpackArchives.dest/annotation-experimental-1.4.1/res -o /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/2-compose/local/server/test.dest/sandbox/run-2/out/app/androidResources.dest/compiled-resources/annotation-experimental-1.4.1.zip --no-crunch
Compiling resources of activity-1.9.3 with the following command: /usr/local/lib/android/sdk/build-tools/35.0.0/aapt2 compile --dir /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/2-compose/local/server/test.dest/sandbox/run-2/out/app/andr
|
Run /./.github/actions/post-build-selective:
out/testkit/compile.dest/classes/mill/testkit/UtestExampleTestSuite.class#L13
evalResult.isSuccess
evalResult: mill.testkit.IntegrationTester.EvalResult = EvalResult(false,[build.mill] [info] compiling 1 Scala source to /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/3-compose-screenshot-tests/local/server/test.dest/sandbox/run-2/out/mill-build/compile.dest/classes ...
[build.mill] [info] done compiling
Compiling resources of core-ktx-1.15.0 with the following command: /usr/local/lib/android/sdk/build-tools/35.0.0/aapt2 compile --dir /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/3-compose-screenshot-tests/local/server/test.dest/sandbox/run-2/out/app/androidUnpackArchives.dest/core-ktx-1.15.0/res -o /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/3-compose-screenshot-tests/local/server/test.dest/sandbox/run-2/out/app/androidResources.dest/compiled-resources/core-ktx-1.15.0.zip --no-crunch
Compiling resources of activity-compose-1.9.3 with the following command: /usr/local/lib/android/sdk/build-tools/35.0.0/aapt2 compile --dir /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/3-compose-screenshot-tests/local/server/test.dest/sandbox/run-2/out/app/androidUnpackArchives.dest/activity-compose-1.9.3/res -o /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/3-compose-screenshot-tests/local/server/test.dest/sandbox/run-2/out/app/androidResources.dest/compiled-resources/activity-compose-1.9.3.zip --no-crunch
Compiling resources of core-1.15.0 with the following command: /usr/local/lib/android/sdk/build-tools/35.0.0/aapt2 compile --dir /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/3-compose-screenshot-tests/local/server/test.dest/sandbox/run-2/out/app/androidUnpackArchives.dest/core-1.15.0/res -o /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/3-compose-screenshot-tests/local/server/test.dest/sandbox/run-2/out/app/androidResources.dest/compiled-resources/core-1.15.0.zip --no-crunch
Compiling resources of activity-ktx-1.9.3 with the following command: /usr/local/lib/android/sdk/build-tools/35.0.0/aapt2 compile --dir /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/3-compose-screenshot-tests/local/server/test.dest/sandbox/run-2/out/app/androidUnpackArchives.dest/activity-ktx-1.9.3/res -o /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/3-compose-screenshot-tests/local/server/test.dest/sandbox/run-2/out/app/androidResources.dest/compiled-resources/activity-ktx-1.9.3.zip --no-crunch
Compiling resources of ui-android-1.7.5 with the following command: /usr/local/lib/android/sdk/build-tools/35.0.0/aapt2 compile --dir /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/3-compose-screenshot-tests/local/server/test.dest/sandbox/run-2/out/app/androidUnpackArchives.dest/ui-android-1.7.5/res -o /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/3-compose-screenshot-tests/local/server/test.dest/sandbox/run-2/out/app/androidResources.dest/compiled-resources/ui-android-1.7.5.zip --no-crunch
Compiling resources of material3-android-1.3.1 with the following command: /usr/local/lib/android/sdk/build-tools/35.0.0/aapt2 compile --dir /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/3-compose-screenshot-tests/local/server/test.dest/sandbox/run-2/out/app/androidUnpackArchives.dest/material3-android-1.3.1/res -o /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/3-compose-screenshot-tests/local/server/test.dest/sandbox/run-2/out/app/androidResources.dest/compiled-resources/material3-android-1.3.1.zip --no-crunch
Compiling resources of annotation-experimental-1.4.1 with the following command: /usr/local/lib/android/sdk/build-tools/35.0.0/aapt2 compile --dir /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/3-compose-screenshot-tests/local/server/test.dest/sandbox/run-2/out/app/androidUnpackArchives.dest/annotation-experimental-1.4.1/res -o /home/runner/work/mill-1/mill-1/out/example/android/kotlinlib/3-compose-screenshot-tests/local/server/test.dest/sandbox/run-2/out/app/androidResources.dest/compiled-resources/annotation-experimental-1.4.1.zip --no-crunc
|
Run /./.github/actions/post-build-selective
Should explicitly set android:icon, there is no default
|
Run /./.github/actions/post-build-selective
The resource R.string.unused_string appears to be unused
|
Post Run /./.github/actions/post-build-selective
Unexpected input(s) 'install-android-sdk', valid inputs are ['millargs', 'shell', 'coursierarchive']
|
Run /./.github/actions/post-build-selective
Unexpected input(s) 'install-android-sdk', valid inputs are ['millargs', 'shell', 'coursierarchive']
|
Loading