[INFO] cloning repository https://github.com/sutantodadang/rGradle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sutantodadang/rGradle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsutantodadang%2FrGradle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsutantodadang%2FrGradle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b0aeffe869a9a9cbc08070f3afc6f8e412d6949 [INFO] testing sutantodadang/rGradle against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsutantodadang%2FrGradle" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sutantodadang/rGradle [INFO] finished tweaking git repo https://github.com/sutantodadang/rGradle [INFO] tweaked toml for git repo https://github.com/sutantodadang/rGradle written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sutantodadang/rGradle on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sutantodadang/rGradle already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zopfli v0.8.2 [INFO] [stderr] Downloaded xz2 v0.1.7 [INFO] [stderr] Downloaded libz-rs-sys v0.5.0 [INFO] [stderr] Downloaded hyper-util v0.1.12 [INFO] [stderr] Downloaded bzip2 v0.5.2 [INFO] [stderr] Downloaded zip v3.0.0 [INFO] [stderr] Downloaded zlib-rs v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbc242045251877131abbd2a4d934215fefdab6f383c08fc28393ac15cbb9595 [INFO] running `Command { std: "docker" "start" "-a" "dbc242045251877131abbd2a4d934215fefdab6f383c08fc28393ac15cbb9595", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbc242045251877131abbd2a4d934215fefdab6f383c08fc28393ac15cbb9595", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbc242045251877131abbd2a4d934215fefdab6f383c08fc28393ac15cbb9595", kill_on_drop: false }` [INFO] [stdout] dbc242045251877131abbd2a4d934215fefdab6f383c08fc28393ac15cbb9595 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28806c6ddb1267147ed87780ccd115842c3c31d5696be6edc3c96c9e05d0701d [INFO] running `Command { std: "docker" "start" "-a" "28806c6ddb1267147ed87780ccd115842c3c31d5696be6edc3c96c9e05d0701d", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling zlib-rs v0.5.0 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling zopfli v0.8.2 [INFO] [stderr] Compiling libz-rs-sys v0.5.0 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling lzma-rs v0.3.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling xz2 v0.1.7 [INFO] [stderr] Compiling bzip2 v0.5.2 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling hyper-util v0.1.12 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling deflate64 v0.1.9 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling async-std v1.13.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling zip v3.0.0 [INFO] [stderr] Compiling rrrGradle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/main.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | if let main_class= &cfg.project.main_class { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/main.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | if let main_class = &cfg.project.main_class { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/main.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | let cfg = load_config(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_java_files` is never used [INFO] [stdout] --> src/build.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn find_java_files(dirs: &[String]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source_dir`, `resource_dir`, and `output_dir` are never read [INFO] [stdout] --> src/config.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Project { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub source_dir: Option, // Source directory [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | pub resource_dir: Option, // Resource directory [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | pub output_dir: Option, // Output directory [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Project` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `group_id`, `artifact_id`, `version`, `properties`, and `parent` are never read [INFO] [stdout] --> src/pom.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct PomModel { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 18 | pub group_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | pub artifact_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | pub version: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | pub properties: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 22 | pub dependencies: Vec, [INFO] [stdout] 23 | pub parent: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PomModel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_test_classes` is never used [INFO] [stdout] --> src/test.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn find_test_classes(dir: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 42s [INFO] running `Command { std: "docker" "inspect" "28806c6ddb1267147ed87780ccd115842c3c31d5696be6edc3c96c9e05d0701d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28806c6ddb1267147ed87780ccd115842c3c31d5696be6edc3c96c9e05d0701d", kill_on_drop: false }` [INFO] [stdout] 28806c6ddb1267147ed87780ccd115842c3c31d5696be6edc3c96c9e05d0701d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36ed2d9ebbf51603bdc0ff7cffcf415225551e85b57d34a176b87c2e4596c67c [INFO] running `Command { std: "docker" "start" "-a" "36ed2d9ebbf51603bdc0ff7cffcf415225551e85b57d34a176b87c2e4596c67c", kill_on_drop: false }` [INFO] [stderr] Compiling rrrGradle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/main.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | if let main_class= &cfg.project.main_class { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/main.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | if let main_class = &cfg.project.main_class { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/main.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | let cfg = load_config(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_java_files` is never used [INFO] [stdout] --> src/build.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn find_java_files(dirs: &[String]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source_dir`, `resource_dir`, and `output_dir` are never read [INFO] [stdout] --> src/config.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Project { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub source_dir: Option, // Source directory [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | pub resource_dir: Option, // Resource directory [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | pub output_dir: Option, // Output directory [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Project` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `group_id`, `artifact_id`, `version`, `properties`, and `parent` are never read [INFO] [stdout] --> src/pom.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct PomModel { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 18 | pub group_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | pub artifact_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | pub version: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | pub properties: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 22 | pub dependencies: Vec, [INFO] [stdout] 23 | pub parent: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PomModel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_test_classes` is never used [INFO] [stdout] --> src/test.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn find_test_classes(dir: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.64s [INFO] running `Command { std: "docker" "inspect" "36ed2d9ebbf51603bdc0ff7cffcf415225551e85b57d34a176b87c2e4596c67c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36ed2d9ebbf51603bdc0ff7cffcf415225551e85b57d34a176b87c2e4596c67c", kill_on_drop: false }` [INFO] [stdout] 36ed2d9ebbf51603bdc0ff7cffcf415225551e85b57d34a176b87c2e4596c67c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 30a0dd168817db716166aab3c503d6f46c3923df7ed8fcdda06a90d4ff46e1ca [INFO] running `Command { std: "docker" "start" "-a" "30a0dd168817db716166aab3c503d6f46c3923df7ed8fcdda06a90d4ff46e1ca", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/test.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: irrefutable `if let` pattern [INFO] [stderr] --> src/main.rs:62:28 [INFO] [stderr] | [INFO] [stderr] 62 | if let main_class= &cfg.project.main_class { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this pattern will always match, so the `if let` is useless [INFO] [stderr] = help: consider replacing the `if let` with a `let` [INFO] [stderr] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: irrefutable `if let` pattern [INFO] [stderr] --> src/main.rs:103:28 [INFO] [stderr] | [INFO] [stderr] 103 | if let main_class = &cfg.project.main_class { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this pattern will always match, so the `if let` is useless [INFO] [stderr] = help: consider replacing the `if let` with a `let` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cfg` [INFO] [stderr] --> src/main.rs:162:17 [INFO] [stderr] | [INFO] [stderr] 162 | let cfg = load_config(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `find_java_files` is never used [INFO] [stderr] --> src/build.rs:7:4 [INFO] [stderr] | [INFO] [stderr] 7 | fn find_java_files(dirs: &[String]) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `source_dir`, `resource_dir`, and `output_dir` are never read [INFO] [stderr] --> src/config.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct Project { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 18 | pub source_dir: Option, // Source directory [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 19 | pub resource_dir: Option, // Resource directory [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 20 | pub output_dir: Option, // Output directory [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Project` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `group_id`, `artifact_id`, `version`, `properties`, and `parent` are never read [INFO] [stderr] --> src/pom.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct PomModel { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 18 | pub group_id: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 19 | pub artifact_id: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 20 | pub version: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 21 | pub properties: HashMap, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 22 | pub dependencies: Vec, [INFO] [stderr] 23 | pub parent: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PomModel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `find_test_classes` is never used [INFO] [stderr] --> src/test.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | fn find_test_classes(dir: &str) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rrrGradle` (bin "rrrGradle" test) generated 8 warnings (run `cargo fix --bin "rrrGradle" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rrrGradle-b8a1e8deb1e19503) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "30a0dd168817db716166aab3c503d6f46c3923df7ed8fcdda06a90d4ff46e1ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30a0dd168817db716166aab3c503d6f46c3923df7ed8fcdda06a90d4ff46e1ca", kill_on_drop: false }` [INFO] [stdout] 30a0dd168817db716166aab3c503d6f46c3923df7ed8fcdda06a90d4ff46e1ca