[INFO] fetching crate cargo-commentratio 0.0.1... [INFO] testing cargo-commentratio-0.0.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate cargo-commentratio 0.0.1 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cargo-commentratio 0.0.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 104 packages to latest compatible versions [INFO] [stderr] Adding console v0.6.2 (available: v0.16.1) [INFO] [stderr] Adding dialoguer v0.1.0 (available: v0.12.0) [INFO] [stderr] Adding indicatif v0.9.0 (available: v0.18.2) [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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 termios v0.3.3 [INFO] [stderr] Downloaded tempfile v2.2.0 [INFO] [stderr] Downloaded console v0.6.2 [INFO] [stderr] Downloaded clicolors-control v0.2.0 [INFO] [stderr] Downloaded glob v0.2.11 [INFO] [stderr] Downloaded env_logger v0.5.13 [INFO] [stderr] Downloaded indicatif v0.9.0 [INFO] [stderr] Downloaded dialoguer v0.1.0 [INFO] [stderr] Downloaded clap-verbosity-flag v0.1.0 [INFO] [stderr] Downloaded quicli v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2da0ba0f51b0a2503df7a700c4fd685f184be878332d9dc9d55485510b07449 [INFO] running `Command { std: "docker" "start" "-a" "a2da0ba0f51b0a2503df7a700c4fd685f184be878332d9dc9d55485510b07449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2da0ba0f51b0a2503df7a700c4fd685f184be878332d9dc9d55485510b07449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2da0ba0f51b0a2503df7a700c4fd685f184be878332d9dc9d55485510b07449", kill_on_drop: false }` [INFO] [stdout] a2da0ba0f51b0a2503df7a700c4fd685f184be878332d9dc9d55485510b07449 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f09188a390aba6d7427f373cc8b34fe6f7889a110c874de9c51f63b5ecc51b14 [INFO] running `Command { std: "docker" "start" "-a" "f09188a390aba6d7427f373cc8b34fe6f7889a110c874de9c51f63b5ecc51b14", 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.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling console v0.16.1 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling clicolors-control v0.2.0 [INFO] [stderr] Compiling termios v0.3.3 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling dialoguer v0.1.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling indicatif v0.9.0 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling console v0.6.2 [INFO] [stderr] Compiling clap-verbosity-flag v0.1.0 [INFO] [stderr] Compiling quicli v0.3.1 [INFO] [stderr] Compiling ignore v0.4.25 [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.83s [INFO] running `Command { std: "docker" "inspect" "f09188a390aba6d7427f373cc8b34fe6f7889a110c874de9c51f63b5ecc51b14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f09188a390aba6d7427f373cc8b34fe6f7889a110c874de9c51f63b5ecc51b14", kill_on_drop: false }` [INFO] [stdout] f09188a390aba6d7427f373cc8b34fe6f7889a110c874de9c51f63b5ecc51b14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40d9f14aecb0c6733c26526b71739a5865465f2a7b7dddcae2cdf2fd260955dd [INFO] running `Command { std: "docker" "start" "-a" "40d9f14aecb0c6733c26526b71739a5865465f2a7b7dddcae2cdf2fd260955dd", 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.59s [INFO] running `Command { std: "docker" "inspect" "40d9f14aecb0c6733c26526b71739a5865465f2a7b7dddcae2cdf2fd260955dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40d9f14aecb0c6733c26526b71739a5865465f2a7b7dddcae2cdf2fd260955dd", kill_on_drop: false }` [INFO] [stdout] 40d9f14aecb0c6733c26526b71739a5865465f2a7b7dddcae2cdf2fd260955dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 13c6e81983f7d312243e0651d963673a556922258a45b6622d02f4245381723c [INFO] running `Command { std: "docker" "start" "-a" "13c6e81983f7d312243e0651d963673a556922258a45b6622d02f4245381723c", 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" -p 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-c23b4a3ceed49608) [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" "13c6e81983f7d312243e0651d963673a556922258a45b6622d02f4245381723c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13c6e81983f7d312243e0651d963673a556922258a45b6622d02f4245381723c", kill_on_drop: false }` [INFO] [stdout] 13c6e81983f7d312243e0651d963673a556922258a45b6622d02f4245381723c