[INFO] fetching crate rusty-ppm 0.3.0... [INFO] testing rusty-ppm-0.3.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate rusty-ppm 0.3.0 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rusty-ppm 0.3.0 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] 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simple-canvas v0.1.1 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8993600253b6e1f58ee09bf108e8267d12cb3449a00b98d8367532f55939d663 [INFO] running `Command { std: "docker" "start" "-a" "8993600253b6e1f58ee09bf108e8267d12cb3449a00b98d8367532f55939d663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8993600253b6e1f58ee09bf108e8267d12cb3449a00b98d8367532f55939d663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8993600253b6e1f58ee09bf108e8267d12cb3449a00b98d8367532f55939d663", kill_on_drop: false }` [INFO] [stdout] 8993600253b6e1f58ee09bf108e8267d12cb3449a00b98d8367532f55939d663 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af005bbb646ad36d121d6e34efd0645227078bb65c388d0ac2134a7e3e37aa8b [INFO] running `Command { std: "docker" "start" "-a" "af005bbb646ad36d121d6e34efd0645227078bb65c388d0ac2134a7e3e37aa8b", kill_on_drop: false }` [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 2.50s [INFO] running `Command { std: "docker" "inspect" "af005bbb646ad36d121d6e34efd0645227078bb65c388d0ac2134a7e3e37aa8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af005bbb646ad36d121d6e34efd0645227078bb65c388d0ac2134a7e3e37aa8b", kill_on_drop: false }` [INFO] [stdout] af005bbb646ad36d121d6e34efd0645227078bb65c388d0ac2134a7e3e37aa8b [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f1a4edab20470e209ab0312176afe9f6561998af8ae0faf0a2d5d2094c4c351 [INFO] running `Command { std: "docker" "start" "-a" "2f1a4edab20470e209ab0312176afe9f6561998af8ae0faf0a2d5d2094c4c351", kill_on_drop: false }` [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] [stderr] Compiling rusty-ppm v0.3.0 (/opt/rustwide/workdir) [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.48s [INFO] running `Command { std: "docker" "inspect" "2f1a4edab20470e209ab0312176afe9f6561998af8ae0faf0a2d5d2094c4c351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f1a4edab20470e209ab0312176afe9f6561998af8ae0faf0a2d5d2094c4c351", kill_on_drop: false }` [INFO] [stdout] 2f1a4edab20470e209ab0312176afe9f6561998af8ae0faf0a2d5d2094c4c351 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7c6a77a995efd5d0849f98321f8cf73301796f37ec240f56569821cb24580f48 [INFO] running `Command { std: "docker" "start" "-a" "7c6a77a995efd5d0849f98321f8cf73301796f37ec240f56569821cb24580f48", 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.03s [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] [stdout] [INFO] [stderr] [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" "7c6a77a995efd5d0849f98321f8cf73301796f37ec240f56569821cb24580f48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c6a77a995efd5d0849f98321f8cf73301796f37ec240f56569821cb24580f48", kill_on_drop: false }` [INFO] [stdout] 7c6a77a995efd5d0849f98321f8cf73301796f37ec240f56569821cb24580f48