[INFO] fetching crate raff-cli 0.1.3... [INFO] testing raff-cli-0.1.3 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate raff-cli 0.1.3 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate raff-cli 0.1.3 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 457b525c4ea37a329604b04f52bbe1f6ee20971cecdf2036e1ad60032fc140c7 [INFO] running `Command { std: "docker" "start" "-a" "457b525c4ea37a329604b04f52bbe1f6ee20971cecdf2036e1ad60032fc140c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "457b525c4ea37a329604b04f52bbe1f6ee20971cecdf2036e1ad60032fc140c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "457b525c4ea37a329604b04f52bbe1f6ee20971cecdf2036e1ad60032fc140c7", kill_on_drop: false }` [INFO] [stdout] 457b525c4ea37a329604b04f52bbe1f6ee20971cecdf2036e1ad60032fc140c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c362e582b0e2dcb38c4254b1e1bd9c55793d5bd1519e8f93677268529f2f734 [INFO] running `Command { std: "docker" "start" "-a" "2c362e582b0e2dcb38c4254b1e1bd9c55793d5bd1519e8f93677268529f2f734", kill_on_drop: false }` [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling owo-colors v4.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling color-spantrace v0.3.0 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling regex v1.11.1 [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 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 clap_derive v4.5.40 [INFO] [stderr] Compiling maud_macros v0.27.0 [INFO] [stderr] Compiling maud v0.27.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling yoke v0.8.0 [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 serde v1.0.219 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling color-eyre v0.6.5 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [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 serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling prettytable-rs v0.10.0 [INFO] [stderr] Compiling git2 v0.18.3 [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 41.52s [INFO] running `Command { std: "docker" "inspect" "2c362e582b0e2dcb38c4254b1e1bd9c55793d5bd1519e8f93677268529f2f734", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c362e582b0e2dcb38c4254b1e1bd9c55793d5bd1519e8f93677268529f2f734", kill_on_drop: false }` [INFO] [stdout] 2c362e582b0e2dcb38c4254b1e1bd9c55793d5bd1519e8f93677268529f2f734 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a4d660fb26d469cf0b0151aed73037755538a6495149d44c37dc0f3a0973c14 [INFO] running `Command { std: "docker" "start" "-a" "4a4d660fb26d469cf0b0151aed73037755538a6495149d44c37dc0f3a0973c14", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.0.7 [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.84s [INFO] running `Command { std: "docker" "inspect" "4a4d660fb26d469cf0b0151aed73037755538a6495149d44c37dc0f3a0973c14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a4d660fb26d469cf0b0151aed73037755538a6495149d44c37dc0f3a0973c14", kill_on_drop: false }` [INFO] [stdout] 4a4d660fb26d469cf0b0151aed73037755538a6495149d44c37dc0f3a0973c14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0de5b4073d1a7ec4082a15844eb9b1a2dff6bb31fff825dc9cc8be5338ddbfce [INFO] running `Command { std: "docker" "start" "-a" "0de5b4073d1a7ec4082a15844eb9b1a2dff6bb31fff825dc9cc8be5338ddbfce", 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.17s [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_non_existent_path ... ok [INFO] [stdout] test rust_code_analysis_rule::tests::test_discover_and_filter_files_rust ... ok [INFO] [stdout] test rust_code_analysis_rule::tests::test_no_matching_files_found ... ok [INFO] [stdout] test rust_code_analysis_rule::tests::test_unsupported_language_fallback ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0de5b4073d1a7ec4082a15844eb9b1a2dff6bb31fff825dc9cc8be5338ddbfce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0de5b4073d1a7ec4082a15844eb9b1a2dff6bb31fff825dc9cc8be5338ddbfce", kill_on_drop: false }` [INFO] [stdout] 0de5b4073d1a7ec4082a15844eb9b1a2dff6bb31fff825dc9cc8be5338ddbfce