[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] building sutantodadang/rGradle against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsutantodadang%2FrGradle" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-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-2-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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zopfli v0.8.2 [INFO] [stderr] Downloaded bitflags v2.9.1 [INFO] [stderr] Downloaded pbkdf2 v0.12.2 [INFO] [stderr] Downloaded bzip2 v0.5.2 [INFO] [stderr] Downloaded xz2 v0.1.7 [INFO] [stderr] Downloaded flate2 v1.1.1 [INFO] [stderr] Downloaded encode_unicode v1.0.0 [INFO] [stderr] Downloaded async-executor v1.13.2 [INFO] [stderr] Downloaded cc v1.2.23 [INFO] [stderr] Downloaded clap v4.5.38 [INFO] [stderr] Downloaded syn v2.0.101 [INFO] [stderr] Downloaded rustls v0.23.27 [INFO] [stderr] Downloaded zlib-rs v0.5.0 [INFO] [stderr] Downloaded toml_edit v0.22.26 [INFO] [stderr] Downloaded console v0.15.11 [INFO] [stderr] Downloaded rustls-webpki v0.103.3 [INFO] [stderr] Downloaded miniz_oxide v0.8.8 [INFO] [stderr] Downloaded clap_builder v4.5.38 [INFO] [stderr] Downloaded portable-atomic v1.11.0 [INFO] [stderr] Downloaded hyper-util v0.1.12 [INFO] [stderr] Downloaded indicatif v0.17.11 [INFO] [stderr] Downloaded h2 v0.4.10 [INFO] [stderr] Downloaded openssl-sys v0.9.108 [INFO] [stderr] Downloaded hashbrown v0.15.3 [INFO] [stderr] Downloaded toml v0.8.22 [INFO] [stderr] Downloaded winnow v0.7.10 [INFO] [stderr] Downloaded bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Downloaded lzma-sys v0.1.20 [INFO] [stderr] Downloaded zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Downloaded tempfile v3.20.0 [INFO] [stderr] Downloaded redox_syscall v0.5.12 [INFO] [stderr] Downloaded deflate64 v0.1.9 [INFO] [stderr] Downloaded libz-rs-sys v0.5.0 [INFO] [stderr] Downloaded crc v3.3.0 [INFO] [stderr] Downloaded lzma-rs v0.3.0 [INFO] [stderr] Downloaded hyper-rustls v0.27.5 [INFO] [stderr] Downloaded errno v0.3.12 [INFO] [stderr] Downloaded rustix v1.0.7 [INFO] [stderr] Downloaded potential_utf v0.1.2 [INFO] [stderr] Downloaded zerovec v0.11.2 [INFO] [stderr] Downloaded toml_datetime v0.6.9 [INFO] [stderr] Downloaded toml_write v0.1.1 [INFO] [stderr] Downloaded zip v3.0.0 [INFO] [stderr] Downloaded tokio v1.45.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] b88f1e2a8df1926d591dc5f441d06e6e5b56293f20969575aa316bd81cdd22d4 [INFO] running `Command { std: "docker" "start" "-a" "b88f1e2a8df1926d591dc5f441d06e6e5b56293f20969575aa316bd81cdd22d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b88f1e2a8df1926d591dc5f441d06e6e5b56293f20969575aa316bd81cdd22d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b88f1e2a8df1926d591dc5f441d06e6e5b56293f20969575aa316bd81cdd22d4", kill_on_drop: false }` [INFO] [stdout] b88f1e2a8df1926d591dc5f441d06e6e5b56293f20969575aa316bd81cdd22d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 8c4fd36d7435799ed3b8fd09e0d72ec1755f8a2ffe3a7adbbdf80a7b9467bb47 [INFO] running `Command { std: "docker" "start" "-a" "8c4fd36d7435799ed3b8fd09e0d72ec1755f8a2ffe3a7adbbdf80a7b9467bb47", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling zlib-rs v0.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling lzma-rs v0.3.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling zopfli v0.8.2 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling deflate64 v0.1.9 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling xz2 v0.1.7 [INFO] [stderr] Compiling bzip2 v0.5.2 [INFO] [stderr] Compiling libz-rs-sys v0.5.0 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling async-std v1.13.1 [INFO] [stderr] Compiling zip v3.0.0 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.12 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.15 [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 28s [INFO] running `Command { std: "docker" "inspect" "8c4fd36d7435799ed3b8fd09e0d72ec1755f8a2ffe3a7adbbdf80a7b9467bb47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c4fd36d7435799ed3b8fd09e0d72ec1755f8a2ffe3a7adbbdf80a7b9467bb47", kill_on_drop: false }` [INFO] [stdout] 8c4fd36d7435799ed3b8fd09e0d72ec1755f8a2ffe3a7adbbdf80a7b9467bb47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 109ee143859aa091452137885d9a61dfb6d79a53fd76b3f53d0462314ac1ed66 [INFO] running `Command { std: "docker" "start" "-a" "109ee143859aa091452137885d9a61dfb6d79a53fd76b3f53d0462314ac1ed66", 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.59s [INFO] running `Command { std: "docker" "inspect" "109ee143859aa091452137885d9a61dfb6d79a53fd76b3f53d0462314ac1ed66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "109ee143859aa091452137885d9a61dfb6d79a53fd76b3f53d0462314ac1ed66", kill_on_drop: false }` [INFO] [stdout] 109ee143859aa091452137885d9a61dfb6d79a53fd76b3f53d0462314ac1ed66