[INFO] cloning repository https://github.com/antweiss/cargo-commentratio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/antweiss/cargo-commentratio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantweiss%2Fcargo-commentratio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantweiss%2Fcargo-commentratio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a526a4aac369ccc8910233242768094991d04cfd [INFO] testing antweiss/cargo-commentratio against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantweiss%2Fcargo-commentratio" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/antweiss/cargo-commentratio [INFO] finished tweaking git repo https://github.com/antweiss/cargo-commentratio [INFO] tweaked toml for git repo https://github.com/antweiss/cargo-commentratio written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/antweiss/cargo-commentratio on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/antweiss/cargo-commentratio 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clicolors-control v0.3.0 [INFO] [stderr] Downloaded redox_syscall v0.1.43 [INFO] [stderr] Downloaded clicolors-control v0.2.0 [INFO] [stderr] Downloaded console v0.6.2 [INFO] [stderr] Downloaded smallvec v0.6.6 [INFO] [stderr] Downloaded tempfile v2.2.0 [INFO] [stderr] Downloaded ignore v0.4.4 [INFO] [stderr] Downloaded backtrace v0.3.9 [INFO] [stderr] Downloaded console v0.7.0 [INFO] [stderr] Downloaded structopt v0.2.13 [INFO] [stderr] Downloaded regex v1.0.6 [INFO] [stderr] Downloaded regex-syntax v0.6.3 [INFO] [stderr] Downloaded structopt-derive v0.2.13 [INFO] [stderr] Downloaded indicatif v0.9.0 [INFO] [stderr] Downloaded quicli v0.3.1 [INFO] [stderr] Downloaded clap-verbosity-flag v0.1.0 [INFO] [stderr] Downloaded dialoguer v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 787f53d3dd304dc4bad42f3aee7afc2cc14144e5ab84d2adddd8a3114b8df055 [INFO] running `Command { std: "docker" "start" "-a" "787f53d3dd304dc4bad42f3aee7afc2cc14144e5ab84d2adddd8a3114b8df055", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "787f53d3dd304dc4bad42f3aee7afc2cc14144e5ab84d2adddd8a3114b8df055", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "787f53d3dd304dc4bad42f3aee7afc2cc14144e5ab84d2adddd8a3114b8df055", kill_on_drop: false }` [INFO] [stdout] 787f53d3dd304dc4bad42f3aee7afc2cc14144e5ab84d2adddd8a3114b8df055 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82972b32893580029d49c40d87368da8966ce8c0fbc4afc82f9086229a842ee1 [INFO] running `Command { std: "docker" "start" "-a" "82972b32893580029d49c40d87368da8966ce8c0fbc4afc82f9086229a842ee1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling arrayvec v0.4.8 [INFO] [stderr] Compiling smallvec v0.6.6 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.6.1 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.6.3 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling crossbeam-epoch v0.6.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling heck v0.3.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling clicolors-control v0.3.0 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling clicolors-control v0.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling parking_lot v0.7.0 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling crossbeam-channel v0.2.6 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling structopt-derive v0.2.13 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling console v0.7.0 [INFO] [stderr] Compiling globset v0.4.2 [INFO] [stderr] Compiling console v0.6.2 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Compiling dialoguer v0.1.0 [INFO] [stderr] Compiling indicatif v0.9.0 [INFO] [stderr] Compiling ignore v0.4.4 [INFO] [stderr] Compiling failure v0.1.3 [INFO] [stderr] Compiling structopt v0.2.13 [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 20.78s [INFO] running `Command { std: "docker" "inspect" "82972b32893580029d49c40d87368da8966ce8c0fbc4afc82f9086229a842ee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82972b32893580029d49c40d87368da8966ce8c0fbc4afc82f9086229a842ee1", kill_on_drop: false }` [INFO] [stdout] 82972b32893580029d49c40d87368da8966ce8c0fbc4afc82f9086229a842ee1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbd63c7f4f8ff461631005bf9f6b74e8f5c1813d88343f9bc338ec46b42c928b [INFO] running `Command { std: "docker" "start" "-a" "bbd63c7f4f8ff461631005bf9f6b74e8f5c1813d88343f9bc338ec46b42c928b", 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.45s [INFO] running `Command { std: "docker" "inspect" "bbd63c7f4f8ff461631005bf9f6b74e8f5c1813d88343f9bc338ec46b42c928b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbd63c7f4f8ff461631005bf9f6b74e8f5c1813d88343f9bc338ec46b42c928b", kill_on_drop: false }` [INFO] [stdout] bbd63c7f4f8ff461631005bf9f6b74e8f5c1813d88343f9bc338ec46b42c928b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6dbd8c85dcce3f6d10a04bbc86d6360de4cdc27236c5e6feb316c0ed8fbd2c35 [INFO] running `Command { std: "docker" "start" "-a" "6dbd8c85dcce3f6d10a04bbc86d6360de4cdc27236c5e6feb316c0ed8fbd2c35", 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.10s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cargo_commentratio-491ce2e59590a4bc) [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" "6dbd8c85dcce3f6d10a04bbc86d6360de4cdc27236c5e6feb316c0ed8fbd2c35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dbd8c85dcce3f6d10a04bbc86d6360de4cdc27236c5e6feb316c0ed8fbd2c35", kill_on_drop: false }` [INFO] [stdout] 6dbd8c85dcce3f6d10a04bbc86d6360de4cdc27236c5e6feb316c0ed8fbd2c35