[INFO] fetching crate cargo-commentratio 0.0.1... [INFO] testing cargo-commentratio-0.0.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate cargo-commentratio 0.0.1 into /workspace/builds/worker-6-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cargo-commentratio 0.0.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1450447505b156890070ae9f3a1880feda883fad22fbd9a630d76d4c1e58670 [INFO] running `Command { std: "docker" "start" "-a" "f1450447505b156890070ae9f3a1880feda883fad22fbd9a630d76d4c1e58670", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1450447505b156890070ae9f3a1880feda883fad22fbd9a630d76d4c1e58670", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1450447505b156890070ae9f3a1880feda883fad22fbd9a630d76d4c1e58670", kill_on_drop: false }` [INFO] [stdout] f1450447505b156890070ae9f3a1880feda883fad22fbd9a630d76d4c1e58670 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e686633fbece09f73a9bd9436d31193fe922150c72e33b25f7bc0c0bd9d55e5b [INFO] running `Command { std: "docker" "start" "-a" "e686633fbece09f73a9bd9436d31193fe922150c72e33b25f7bc0c0bd9d55e5b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling smallvec v1.15.1 [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 console v0.16.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling clicolors-control v0.2.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling termios v0.3.3 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling dialoguer v0.1.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling indicatif v0.9.0 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling synstructure v0.12.6 [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 25.83s [INFO] running `Command { std: "docker" "inspect" "e686633fbece09f73a9bd9436d31193fe922150c72e33b25f7bc0c0bd9d55e5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e686633fbece09f73a9bd9436d31193fe922150c72e33b25f7bc0c0bd9d55e5b", kill_on_drop: false }` [INFO] [stdout] e686633fbece09f73a9bd9436d31193fe922150c72e33b25f7bc0c0bd9d55e5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8dd32ac4257593783d3caaa238c0587164f561b714c5d2dd5c32d126fa70a7db [INFO] running `Command { std: "docker" "start" "-a" "8dd32ac4257593783d3caaa238c0587164f561b714c5d2dd5c32d126fa70a7db", 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.42s [INFO] running `Command { std: "docker" "inspect" "8dd32ac4257593783d3caaa238c0587164f561b714c5d2dd5c32d126fa70a7db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dd32ac4257593783d3caaa238c0587164f561b714c5d2dd5c32d126fa70a7db", kill_on_drop: false }` [INFO] [stdout] 8dd32ac4257593783d3caaa238c0587164f561b714c5d2dd5c32d126fa70a7db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ce98a67bed170210111fc3c4a8fa23d17ab94180d460ff60856ea17dfa357733 [INFO] running `Command { std: "docker" "start" "-a" "ce98a67bed170210111fc3c4a8fa23d17ab94180d460ff60856ea17dfa357733", 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.11s [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" "ce98a67bed170210111fc3c4a8fa23d17ab94180d460ff60856ea17dfa357733", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce98a67bed170210111fc3c4a8fa23d17ab94180d460ff60856ea17dfa357733", kill_on_drop: false }` [INFO] [stdout] ce98a67bed170210111fc3c4a8fa23d17ab94180d460ff60856ea17dfa357733