[INFO] fetching crate rusty-ppm 0.3.0... [INFO] testing rusty-ppm-0.3.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate rusty-ppm 0.3.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate rusty-ppm 0.3.0 [INFO] finished tweaking crates.io crate rusty-ppm 0.3.0 [INFO] tweaked toml for crates.io crate rusty-ppm 0.3.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rusty-ppm 0.3.0 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 5 packages to latest compatible versions [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] a56dbd9ad8e711ea788213ca36f8c85225026a6ac6891a1ce981e2368d479ddc [INFO] running `Command { std: "docker" "start" "-a" "a56dbd9ad8e711ea788213ca36f8c85225026a6ac6891a1ce981e2368d479ddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a56dbd9ad8e711ea788213ca36f8c85225026a6ac6891a1ce981e2368d479ddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a56dbd9ad8e711ea788213ca36f8c85225026a6ac6891a1ce981e2368d479ddc", kill_on_drop: false }` [INFO] [stdout] a56dbd9ad8e711ea788213ca36f8c85225026a6ac6891a1ce981e2368d479ddc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] e2c0b3d83ca55119e416b87bc8ab561fd627e154c64cd4ac955bd6a865c4e4f4 [INFO] running `Command { std: "docker" "start" "-a" "e2c0b3d83ca55119e416b87bc8ab561fd627e154c64cd4ac955bd6a865c4e4f4", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling simple-canvas v0.1.1 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling rusty-ppm v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/ppm_reader.rs:98:56 [INFO] [stdout] | [INFO] [stdout] 98 | let width_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [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] 98 - let width_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [INFO] [stdout] 98 + let width_iter = file_iter.cloned().take_while(|e| *e <= 57 && *e >= 48); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/ppm_reader.rs:102:57 [INFO] [stdout] | [INFO] [stdout] 102 | let height_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - let height_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [INFO] [stdout] 102 + let height_iter = file_iter.cloned().take_while(|e| *e <= 57 && *e >= 48); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/ppm_reader.rs:106:61 [INFO] [stdout] | [INFO] [stdout] 106 | let color_code_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - let color_code_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [INFO] [stdout] 106 + let color_code_iter = file_iter.cloned().take_while(|e| *e <= 57 && *e >= 48); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.41s [INFO] running `Command { std: "docker" "inspect" "e2c0b3d83ca55119e416b87bc8ab561fd627e154c64cd4ac955bd6a865c4e4f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2c0b3d83ca55119e416b87bc8ab561fd627e154c64cd4ac955bd6a865c4e4f4", kill_on_drop: false }` [INFO] [stdout] e2c0b3d83ca55119e416b87bc8ab561fd627e154c64cd4ac955bd6a865c4e4f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 5e8a58ccdf21b91243847351557ea6f84a44a8d959ff048f31a9bda568a074ad [INFO] running `Command { std: "docker" "start" "-a" "5e8a58ccdf21b91243847351557ea6f84a44a8d959ff048f31a9bda568a074ad", kill_on_drop: false }` [INFO] [stderr] Compiling rusty-ppm v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/ppm_reader.rs:98:56 [INFO] [stdout] | [INFO] [stdout] 98 | let width_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [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] 98 - let width_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [INFO] [stdout] 98 + let width_iter = file_iter.cloned().take_while(|e| *e <= 57 && *e >= 48); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/ppm_reader.rs:102:57 [INFO] [stdout] | [INFO] [stdout] 102 | let height_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - let height_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [INFO] [stdout] 102 + let height_iter = file_iter.cloned().take_while(|e| *e <= 57 && *e >= 48); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/ppm_reader.rs:106:61 [INFO] [stdout] | [INFO] [stdout] 106 | let color_code_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - let color_code_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [INFO] [stdout] 106 + let color_code_iter = file_iter.cloned().take_while(|e| *e <= 57 && *e >= 48); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/ppm_reader.rs:98:56 [INFO] [stdout] | [INFO] [stdout] 98 | let width_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [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] 98 - let width_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [INFO] [stdout] 98 + let width_iter = file_iter.cloned().take_while(|e| *e <= 57 && *e >= 48); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/ppm_reader.rs:102:57 [INFO] [stdout] | [INFO] [stdout] 102 | let height_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - let height_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [INFO] [stdout] 102 + let height_iter = file_iter.cloned().take_while(|e| *e <= 57 && *e >= 48); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/ppm_reader.rs:106:61 [INFO] [stdout] | [INFO] [stdout] 106 | let color_code_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - let color_code_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [INFO] [stdout] 106 + let color_code_iter = file_iter.cloned().take_while(|e| *e <= 57 && *e >= 48); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "5e8a58ccdf21b91243847351557ea6f84a44a8d959ff048f31a9bda568a074ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e8a58ccdf21b91243847351557ea6f84a44a8d959ff048f31a9bda568a074ad", kill_on_drop: false }` [INFO] [stdout] 5e8a58ccdf21b91243847351557ea6f84a44a8d959ff048f31a9bda568a074ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 45d1d939d04cdf7ede59cbf778795c3028bc019dae4b3e9e315afa5dbb803034 [INFO] running `Command { std: "docker" "start" "-a" "45d1d939d04cdf7ede59cbf778795c3028bc019dae4b3e9e315afa5dbb803034", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/ppm_reader.rs:98:56 [INFO] [stderr] | [INFO] [stderr] 98 | let width_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [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] 98 - let width_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [INFO] [stderr] 98 + let width_iter = file_iter.cloned().take_while(|e| *e <= 57 && *e >= 48); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/ppm_reader.rs:102:57 [INFO] [stderr] | [INFO] [stderr] 102 | let height_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 102 - let height_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [INFO] [stderr] 102 + let height_iter = file_iter.cloned().take_while(|e| *e <= 57 && *e >= 48); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/ppm_reader.rs:106:61 [INFO] [stderr] | [INFO] [stderr] 106 | let color_code_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 106 - let color_code_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [INFO] [stderr] 106 + let color_code_iter = file_iter.cloned().take_while(|e| *e <= 57 && *e >= 48); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `rusty-ppm` (lib) generated 3 warnings (run `cargo fix --lib -p rusty-ppm` to apply 3 suggestions) [INFO] [stderr] warning: `rusty-ppm` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rusty_ppm-e9aa1e2c90da266d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests rusty_ppm [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] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/ppm_reader.rs:98:56 [INFO] [stderr] | [INFO] [stderr] 98 | let width_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [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] 98 - let width_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [INFO] [stderr] 98 + let width_iter = file_iter.cloned().take_while(|e| *e <= 57 && *e >= 48); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/ppm_reader.rs:102:57 [INFO] [stderr] | [INFO] [stderr] 102 | let height_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 102 - let height_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [INFO] [stderr] 102 + let height_iter = file_iter.cloned().take_while(|e| *e <= 57 && *e >= 48); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/ppm_reader.rs:106:61 [INFO] [stderr] | [INFO] [stderr] 106 | let color_code_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 106 - let color_code_iter = file_iter.cloned().take_while(|e| (*e <= 57 && *e >= 48)); [INFO] [stderr] 106 + let color_code_iter = file_iter.cloned().take_while(|e| *e <= 57 && *e >= 48); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [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" "45d1d939d04cdf7ede59cbf778795c3028bc019dae4b3e9e315afa5dbb803034", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45d1d939d04cdf7ede59cbf778795c3028bc019dae4b3e9e315afa5dbb803034", kill_on_drop: false }` [INFO] [stdout] 45d1d939d04cdf7ede59cbf778795c3028bc019dae4b3e9e315afa5dbb803034