[INFO] cloning repository https://github.com/genya0407/png_print [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/genya0407/png_print" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgenya0407%2Fpng_print", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgenya0407%2Fpng_print'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a562b235595f3f61f2ce56057035952802e3e097 [INFO] checking genya0407/png_print against master#0599f3403366d9c57f0625e6de3af214b5042a90 for pr-87710 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgenya0407%2Fpng_print" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/genya0407/png_print on toolchain 0599f3403366d9c57f0625e6de3af214b5042a90 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0599f3403366d9c57f0625e6de3af214b5042a90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/genya0407/png_print [INFO] finished tweaking git repo https://github.com/genya0407/png_print [INFO] tweaked toml for git repo https://github.com/genya0407/png_print written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/genya0407/png_print already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0599f3403366d9c57f0625e6de3af214b5042a90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+0599f3403366d9c57f0625e6de3af214b5042a90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c06e6d35df997807b302d56f5f1dc87214c9dab9b0fb5584dbd199a7141469c3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c06e6d35df997807b302d56f5f1dc87214c9dab9b0fb5584dbd199a7141469c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c06e6d35df997807b302d56f5f1dc87214c9dab9b0fb5584dbd199a7141469c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c06e6d35df997807b302d56f5f1dc87214c9dab9b0fb5584dbd199a7141469c3", kill_on_drop: false }` [INFO] [stdout] c06e6d35df997807b302d56f5f1dc87214c9dab9b0fb5584dbd199a7141469c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+0599f3403366d9c57f0625e6de3af214b5042a90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4357c62ff12cf096800dca05d7870823d4927ef55c3573c3d3c987aee3c9399 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e4357c62ff12cf096800dca05d7870823d4927ef55c3573c3d3c987aee3c9399", kill_on_drop: false }` [INFO] [stderr] Checking adler32 v1.0.2 [INFO] [stderr] Checking ansi_term v0.10.2 [INFO] [stderr] Checking inflate v0.3.3 [INFO] [stderr] Checking png_encoder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/model.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:27:63 [INFO] [stdout] | [INFO] [stdout] 27 | fn parse_to_png(chunks: Vec) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:63:69 [INFO] [stdout] | [INFO] [stdout] 63 | fn parse_to_chunks(bytes: Vec) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:94:52 [INFO] [stdout] | [INFO] [stdout] 94 | fn readfile(filename: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/model.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:27:63 [INFO] [stdout] | [INFO] [stdout] 27 | fn parse_to_png(chunks: Vec) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:63:69 [INFO] [stdout] | [INFO] [stdout] 63 | fn parse_to_chunks(bytes: Vec) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:94:52 [INFO] [stdout] | [INFO] [stdout] 94 | fn readfile(filename: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanline` [INFO] [stdout] --> src/model.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | let scanline: Vec = match filter_method { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanline` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | let mut scanline = reversed_pixels[scanline_start..next_scanline_start].to_vec(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanline` [INFO] [stdout] --> src/model.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | let scanline: Vec = match filter_method { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanline` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `width` [INFO] [stdout] --> src/model.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn width(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `compression_method` [INFO] [stdout] --> src/model.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | compression_method: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `additional_flags` [INFO] [stdout] --> src/model.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | additional_flags: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `check_value` [INFO] [stdout] --> src/model.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | check_value: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | let mut scanline = reversed_pixels[scanline_start..next_scanline_start].to_vec(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `width` [INFO] [stdout] --> src/model.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn width(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `compression_method` [INFO] [stdout] --> src/model.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | compression_method: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `additional_flags` [INFO] [stdout] --> src/model.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | additional_flags: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `check_value` [INFO] [stdout] --> src/model.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | check_value: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.10s [INFO] running `Command { std: "docker" "inspect" "e4357c62ff12cf096800dca05d7870823d4927ef55c3573c3d3c987aee3c9399", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4357c62ff12cf096800dca05d7870823d4927ef55c3573c3d3c987aee3c9399", kill_on_drop: false }` [INFO] [stdout] e4357c62ff12cf096800dca05d7870823d4927ef55c3573c3d3c987aee3c9399