[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#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantweiss%2Fcargo-commentratio" "/workspace/builds/worker-116/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-116/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/antweiss/cargo-commentratio on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-116/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f8a92b42a93c2279077f60e3975e914cf974d1d8b5a189257e674e3befe98cc [INFO] running `Command { std: "docker" "start" "-a" "1f8a92b42a93c2279077f60e3975e914cf974d1d8b5a189257e674e3befe98cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f8a92b42a93c2279077f60e3975e914cf974d1d8b5a189257e674e3befe98cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f8a92b42a93c2279077f60e3975e914cf974d1d8b5a189257e674e3befe98cc", kill_on_drop: false }` [INFO] [stdout] 1f8a92b42a93c2279077f60e3975e914cf974d1d8b5a189257e674e3befe98cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51cf69ba94fb057744d50a0bb1e3c7d213997b5b5910fb5905e2c04b1961bcf0 [INFO] running `Command { std: "docker" "start" "-a" "51cf69ba94fb057744d50a0bb1e3c7d213997b5b5910fb5905e2c04b1961bcf0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling regex-syntax v0.6.3 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.6.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling arrayvec v0.4.8 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.0 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling heck v0.3.0 [INFO] [stderr] Compiling smallvec v0.6.6 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling crossbeam-epoch v0.6.1 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling clicolors-control v0.3.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 rustc_version v0.2.3 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling crossbeam-channel v0.2.6 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling globset v0.4.2 [INFO] [stderr] Compiling parking_lot v0.7.0 [INFO] [stderr] Compiling ignore v0.4.4 [INFO] [stderr] Compiling console v0.7.0 [INFO] [stderr] Compiling console v0.6.2 [INFO] [stderr] Compiling dialoguer v0.1.0 [INFO] [stderr] Compiling indicatif v0.9.0 [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 4m 07s [INFO] running `Command { std: "docker" "inspect" "51cf69ba94fb057744d50a0bb1e3c7d213997b5b5910fb5905e2c04b1961bcf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51cf69ba94fb057744d50a0bb1e3c7d213997b5b5910fb5905e2c04b1961bcf0", kill_on_drop: false }` [INFO] [stdout] 51cf69ba94fb057744d50a0bb1e3c7d213997b5b5910fb5905e2c04b1961bcf0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75000fe5c677698c632b24f6fdf8db81fec2daebecf8a1ce4782da5a518cffc6 [INFO] running `Command { std: "docker" "start" "-a" "75000fe5c677698c632b24f6fdf8db81fec2daebecf8a1ce4782da5a518cffc6", 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.78s [INFO] running `Command { std: "docker" "inspect" "75000fe5c677698c632b24f6fdf8db81fec2daebecf8a1ce4782da5a518cffc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75000fe5c677698c632b24f6fdf8db81fec2daebecf8a1ce4782da5a518cffc6", kill_on_drop: false }` [INFO] [stdout] 75000fe5c677698c632b24f6fdf8db81fec2daebecf8a1ce4782da5a518cffc6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e4dae16e0c7d79de8bc9fb5aa800f1fd7660d9d311f0ef5643c72c8ec5ab9ee2 [INFO] running `Command { std: "docker" "start" "-a" "e4dae16e0c7d79de8bc9fb5aa800f1fd7660d9d311f0ef5643c72c8ec5ab9ee2", kill_on_drop: false }` [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 0.07s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cargo_commentratio-99df065066574ea8) [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" "e4dae16e0c7d79de8bc9fb5aa800f1fd7660d9d311f0ef5643c72c8ec5ab9ee2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4dae16e0c7d79de8bc9fb5aa800f1fd7660d9d311f0ef5643c72c8ec5ab9ee2", kill_on_drop: false }` [INFO] [stdout] e4dae16e0c7d79de8bc9fb5aa800f1fd7660d9d311f0ef5643c72c8ec5ab9ee2