[INFO] fetching crate raff-cli 0.1.3... [INFO] testing raff-cli-0.1.3 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate raff-cli 0.1.3 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate raff-cli 0.1.3 [INFO] finished tweaking crates.io crate raff-cli 0.1.3 [INFO] tweaked toml for crates.io crate raff-cli 0.1.3 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate raff-cli 0.1.3 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate raff-cli 0.1.3 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded maud_macros v0.27.0 [INFO] [stderr] Downloaded maud v0.27.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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0510a3e4974b8947d3ccdc3b7f287edce9a956aade79ce057c4b10a28bf3599 [INFO] running `Command { std: "docker" "start" "-a" "d0510a3e4974b8947d3ccdc3b7f287edce9a956aade79ce057c4b10a28bf3599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0510a3e4974b8947d3ccdc3b7f287edce9a956aade79ce057c4b10a28bf3599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0510a3e4974b8947d3ccdc3b7f287edce9a956aade79ce057c4b10a28bf3599", kill_on_drop: false }` [INFO] [stdout] d0510a3e4974b8947d3ccdc3b7f287edce9a956aade79ce057c4b10a28bf3599 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 716e550aff6d965eaacf06c2b3eefd985eb7ae750af613cbe3e4dbc8ff85c104 [INFO] running `Command { std: "docker" "start" "-a" "716e550aff6d965eaacf06c2b3eefd985eb7ae750af613cbe3e4dbc8ff85c104", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling owo-colors v4.2.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling color-spantrace v0.3.0 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling encode_unicode v1.0.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Compiling libgit2-sys v0.16.2+1.7.2 [INFO] [stderr] Compiling backtrace v0.3.75 [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 serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling maud_macros v0.27.0 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling maud v0.27.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap v4.5.40 [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 serde v1.0.219 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling color-eyre v0.6.5 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [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 git2 v0.18.3 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling prettytable-rs v0.10.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling raff-cli v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/statement_count_rule.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `title` [INFO] [stdout] --> src/rust_code_analysis_rule.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | let title = format!("Rust Code Analysis Report: {}", project_root.display()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_title` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PkgId` is never constructed [INFO] [stdout] --> src/coupling_rule.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct PkgId(String); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.21s [INFO] running `Command { std: "docker" "inspect" "716e550aff6d965eaacf06c2b3eefd985eb7ae750af613cbe3e4dbc8ff85c104", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "716e550aff6d965eaacf06c2b3eefd985eb7ae750af613cbe3e4dbc8ff85c104", kill_on_drop: false }` [INFO] [stdout] 716e550aff6d965eaacf06c2b3eefd985eb7ae750af613cbe3e4dbc8ff85c104 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64212eb329bb16772c4aad4793f0cb752f0dfc4c9afe59c2874f705f4b3f3169 [INFO] running `Command { std: "docker" "start" "-a" "64212eb329bb16772c4aad4793f0cb752f0dfc4c9afe59c2874f705f4b3f3169", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling git2 v0.18.3 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling raff-cli v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/statement_count_rule.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `title` [INFO] [stdout] --> src/rust_code_analysis_rule.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | let title = format!("Rust Code Analysis Report: {}", project_root.display()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_title` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PkgId` is never constructed [INFO] [stdout] --> src/coupling_rule.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct PkgId(String); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.25s [INFO] running `Command { std: "docker" "inspect" "64212eb329bb16772c4aad4793f0cb752f0dfc4c9afe59c2874f705f4b3f3169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64212eb329bb16772c4aad4793f0cb752f0dfc4c9afe59c2874f705f4b3f3169", kill_on_drop: false }` [INFO] [stdout] 64212eb329bb16772c4aad4793f0cb752f0dfc4c9afe59c2874f705f4b3f3169 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4a428320d0ba672299386cedeb1ec801eaebbc66e409003560a355d5b0b2dc7d [INFO] running `Command { std: "docker" "start" "-a" "4a428320d0ba672299386cedeb1ec801eaebbc66e409003560a355d5b0b2dc7d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Path` [INFO] [stderr] --> src/statement_count_rule.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | path::{Path, PathBuf}, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `title` [INFO] [stderr] --> src/rust_code_analysis_rule.rs:312:13 [INFO] [stderr] | [INFO] [stderr] 312 | let title = format!("Rust Code Analysis Report: {}", project_root.display()); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_title` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `PkgId` is never constructed [INFO] [stderr] --> src/coupling_rule.rs:32:8 [INFO] [stderr] | [INFO] [stderr] 32 | struct PkgId(String); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `raff-cli` (bin "raff" test) generated 3 warnings (run `cargo fix --bin "raff" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/raff-5da19125df3b982e) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test rust_code_analysis_rule::tests::test_unsupported_language_fallback ... ok [INFO] [stdout] test rust_code_analysis_rule::tests::test_no_matching_files_found ... ok [INFO] [stdout] test rust_code_analysis_rule::tests::test_non_existent_path ... ok [INFO] [stdout] test rust_code_analysis_rule::tests::test_discover_and_filter_files_rust ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4a428320d0ba672299386cedeb1ec801eaebbc66e409003560a355d5b0b2dc7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a428320d0ba672299386cedeb1ec801eaebbc66e409003560a355d5b0b2dc7d", kill_on_drop: false }` [INFO] [stdout] 4a428320d0ba672299386cedeb1ec801eaebbc66e409003560a355d5b0b2dc7d