[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantweiss%2Fcargo-commentratio" "/workspace/builds/worker-25/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-25/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/antweiss/cargo-commentratio on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-25/source/Cargo.toml [INFO] crate git repo https://github.com/antweiss/cargo-commentratio already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded regex-syntax v0.6.3 [INFO] [stderr] Downloaded failure v0.1.3 [INFO] [stderr] Downloaded serde_derive v1.0.80 [INFO] [stderr] Downloaded parking_lot v0.7.0 [INFO] [stderr] Downloaded smallvec v0.6.6 [INFO] [stderr] Downloaded globset v0.4.2 [INFO] [stderr] Downloaded ignore v0.4.4 [INFO] [stderr] Downloaded clicolors-control v0.2.0 [INFO] [stderr] Downloaded tempfile v2.2.0 [INFO] [stderr] Downloaded console v0.6.2 [INFO] [stderr] Downloaded crossbeam-utils v0.6.1 [INFO] [stderr] Downloaded structopt-derive v0.2.13 [INFO] [stderr] Downloaded same-file v1.0.4 [INFO] [stderr] Downloaded walkdir v2.2.7 [INFO] [stderr] Downloaded rand_core v0.2.2 [INFO] [stderr] Downloaded clap-verbosity-flag v0.1.0 [INFO] [stderr] Downloaded syn v0.15.22 [INFO] [stderr] Downloaded arrayvec v0.4.8 [INFO] [stderr] Downloaded humantime v1.2.0 [INFO] [stderr] Downloaded dialoguer v0.1.0 [INFO] [stderr] Downloaded redox_syscall v0.1.43 [INFO] [stderr] Downloaded termcolor v1.0.4 [INFO] [stderr] Downloaded quote v0.6.10 [INFO] [stderr] Downloaded wincolor v1.0.1 [INFO] [stderr] Downloaded env_logger v0.5.13 [INFO] [stderr] Downloaded heck v0.3.0 [INFO] [stderr] Downloaded failure_derive v0.1.3 [INFO] [stderr] Downloaded structopt v0.2.13 [INFO] [stderr] Downloaded quicli v0.3.1 [INFO] [stderr] Downloaded winapi-util v0.1.1 [INFO] [stderr] Downloaded indicatif v0.9.0 [INFO] [stderr] Downloaded clicolors-control v0.3.0 [INFO] [stderr] Downloaded console v0.7.0 [INFO] [stderr] Downloaded termios v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9df90b78c73fbf0309be6a540587d78b200514269ff0759fdbd07abec94ca6f2 [INFO] running `Command { std: "docker" "start" "-a" "9df90b78c73fbf0309be6a540587d78b200514269ff0759fdbd07abec94ca6f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9df90b78c73fbf0309be6a540587d78b200514269ff0759fdbd07abec94ca6f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9df90b78c73fbf0309be6a540587d78b200514269ff0759fdbd07abec94ca6f2", kill_on_drop: false }` [INFO] [stdout] 9df90b78c73fbf0309be6a540587d78b200514269ff0759fdbd07abec94ca6f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 741f19d1cd709a9ac3ce32a130c9e724f695d381a5b9052c3299e225c7d91240 [INFO] running `Command { std: "docker" "start" "-a" "741f19d1cd709a9ac3ce32a130c9e724f695d381a5b9052c3299e225c7d91240", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling regex-syntax v0.6.3 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.1 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling clicolors-control v0.3.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling arrayvec v0.4.8 [INFO] [stderr] Compiling clicolors-control v0.2.0 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling heck v0.3.0 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling smallvec v0.6.6 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling crossbeam-epoch v0.6.1 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling parking_lot v0.7.0 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Compiling crossbeam-channel v0.2.6 [INFO] [stderr] Compiling backtrace v0.3.9 [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 indicatif v0.9.0 [INFO] [stderr] Compiling dialoguer v0.1.0 [INFO] [stderr] Compiling ignore v0.4.4 [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 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)]` 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] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.89s [INFO] running `Command { std: "docker" "inspect" "741f19d1cd709a9ac3ce32a130c9e724f695d381a5b9052c3299e225c7d91240", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "741f19d1cd709a9ac3ce32a130c9e724f695d381a5b9052c3299e225c7d91240", kill_on_drop: false }` [INFO] [stdout] 741f19d1cd709a9ac3ce32a130c9e724f695d381a5b9052c3299e225c7d91240 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b5ce3b0dcb1262d6e3721807be51f661d1846c31f5091ef9d19e900fe9a0b5d [INFO] running `Command { std: "docker" "start" "-a" "2b5ce3b0dcb1262d6e3721807be51f661d1846c31f5091ef9d19e900fe9a0b5d", kill_on_drop: false }` [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)]` 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] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "2b5ce3b0dcb1262d6e3721807be51f661d1846c31f5091ef9d19e900fe9a0b5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b5ce3b0dcb1262d6e3721807be51f661d1846c31f5091ef9d19e900fe9a0b5d", kill_on_drop: false }` [INFO] [stdout] 2b5ce3b0dcb1262d6e3721807be51f661d1846c31f5091ef9d19e900fe9a0b5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5ac1a08c025dad905b56e70df9a8c49867482e7e65cfad0ae31321196a0e1bf9 [INFO] running `Command { std: "docker" "start" "-a" "5ac1a08c025dad905b56e70df9a8c49867482e7e65cfad0ae31321196a0e1bf9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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)]` 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 [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.26s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cargo_commentratio-38564a3caab2fc70) [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" "5ac1a08c025dad905b56e70df9a8c49867482e7e65cfad0ae31321196a0e1bf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ac1a08c025dad905b56e70df9a8c49867482e7e65cfad0ae31321196a0e1bf9", kill_on_drop: false }` [INFO] [stdout] 5ac1a08c025dad905b56e70df9a8c49867482e7e65cfad0ae31321196a0e1bf9