[INFO] fetching crate cargo-commentratio 0.0.1... [INFO] testing cargo-commentratio-0.0.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate cargo-commentratio 0.0.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate cargo-commentratio 0.0.1 [INFO] finished tweaking crates.io crate cargo-commentratio 0.0.1 [INFO] tweaked toml for crates.io crate cargo-commentratio 0.0.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cargo-commentratio 0.0.1 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 122 packages to latest compatible versions [INFO] [stderr] Adding console v0.6.2 (available: v0.16.0) [INFO] [stderr] Adding dialoguer v0.1.0 (available: v0.12.0) [INFO] [stderr] Adding indicatif v0.9.0 (available: v0.18.0) [INFO] [stderr] Adding quicli v0.3.1 (available: v0.4.0) [INFO] [stderr] Adding remove_dir_all v0.5.3 (available: v1.0.0) [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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quicli v0.3.1 [INFO] [stderr] Downloaded dialoguer v0.1.0 [INFO] [stderr] Downloaded clap-verbosity-flag v0.1.0 [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] bd282e707e9a2ca801e669d5170018179ab816e999e2a758df53da8967559354 [INFO] running `Command { std: "docker" "start" "-a" "bd282e707e9a2ca801e669d5170018179ab816e999e2a758df53da8967559354", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd282e707e9a2ca801e669d5170018179ab816e999e2a758df53da8967559354", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd282e707e9a2ca801e669d5170018179ab816e999e2a758df53da8967559354", kill_on_drop: false }` [INFO] [stdout] bd282e707e9a2ca801e669d5170018179ab816e999e2a758df53da8967559354 [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] aba0d0ed97e40fba857ea93e65e359b0f973dc1180f8c61ed1bb8661c852297d [INFO] running `Command { std: "docker" "start" "-a" "aba0d0ed97e40fba857ea93e65e359b0f973dc1180f8c61ed1bb8661c852297d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling console v0.16.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling clicolors-control v0.2.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling termios v0.3.3 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling dialoguer v0.1.0 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling indicatif v0.9.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling console v0.6.2 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling clap-verbosity-flag v0.1.0 [INFO] [stderr] Compiling quicli v0.3.1 [INFO] [stderr] Compiling cargo-commentratio v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/calculate.rs:8:70 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn calculate(project_dir: &PathBuf, pbar: ProgressBar) -> Result<(f32)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 8 - pub fn calculate(project_dir: &PathBuf, pbar: ProgressBar) -> Result<(f32)> { [INFO] [stdout] 8 + pub fn calculate(project_dir: &PathBuf, pbar: ProgressBar) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.85s [INFO] running `Command { std: "docker" "inspect" "aba0d0ed97e40fba857ea93e65e359b0f973dc1180f8c61ed1bb8661c852297d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aba0d0ed97e40fba857ea93e65e359b0f973dc1180f8c61ed1bb8661c852297d", kill_on_drop: false }` [INFO] [stdout] aba0d0ed97e40fba857ea93e65e359b0f973dc1180f8c61ed1bb8661c852297d [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] a67f4bb2f5477625df18bb1df7aa8212ed254277045fc0d69d8ee4b8cf4f36d7 [INFO] running `Command { std: "docker" "start" "-a" "a67f4bb2f5477625df18bb1df7aa8212ed254277045fc0d69d8ee4b8cf4f36d7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling cargo-commentratio v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/calculate.rs:8:70 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn calculate(project_dir: &PathBuf, pbar: ProgressBar) -> Result<(f32)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 8 - pub fn calculate(project_dir: &PathBuf, pbar: ProgressBar) -> Result<(f32)> { [INFO] [stdout] 8 + pub fn calculate(project_dir: &PathBuf, pbar: ProgressBar) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `Command { std: "docker" "inspect" "a67f4bb2f5477625df18bb1df7aa8212ed254277045fc0d69d8ee4b8cf4f36d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a67f4bb2f5477625df18bb1df7aa8212ed254277045fc0d69d8ee4b8cf4f36d7", kill_on_drop: false }` [INFO] [stdout] a67f4bb2f5477625df18bb1df7aa8212ed254277045fc0d69d8ee4b8cf4f36d7 [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] b355839442ae78f4a68dcea0325601fe1e2110262131af6fd41c8ce977639a42 [INFO] running `Command { std: "docker" "start" "-a" "b355839442ae78f4a68dcea0325601fe1e2110262131af6fd41c8ce977639a42", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/calculate.rs:8:70 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn calculate(project_dir: &PathBuf, pbar: ProgressBar) -> Result<(f32)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 8 - pub fn calculate(project_dir: &PathBuf, pbar: ProgressBar) -> Result<(f32)> { [INFO] [stderr] 8 + pub fn calculate(project_dir: &PathBuf, pbar: ProgressBar) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `cargo-commentratio` (bin "cargo-commentratio" test) generated 1 warning (run `cargo fix --bin "cargo-commentratio" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cargo_commentratio-5713de668c3ef973) [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" "b355839442ae78f4a68dcea0325601fe1e2110262131af6fd41c8ce977639a42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b355839442ae78f4a68dcea0325601fe1e2110262131af6fd41c8ce977639a42", kill_on_drop: false }` [INFO] [stdout] b355839442ae78f4a68dcea0325601fe1e2110262131af6fd41c8ce977639a42