[INFO] fetching crate bmp 0.5.0... [INFO] checking bmp-0.5.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate bmp 0.5.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate bmp 0.5.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bmp 0.5.0 [INFO] finished tweaking crates.io crate bmp 0.5.0 [INFO] tweaked toml for crates.io crate bmp 0.5.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate crates.io crate bmp 0.5.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byteorder v1.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8c60f350f00ca00b78acec80986a596cb779a084a447a33ee37f93fc4a309cc [INFO] running `Command { std: "docker" "start" "-a" "e8c60f350f00ca00b78acec80986a596cb779a084a447a33ee37f93fc4a309cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8c60f350f00ca00b78acec80986a596cb779a084a447a33ee37f93fc4a309cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8c60f350f00ca00b78acec80986a596cb779a084a447a33ee37f93fc4a309cc", kill_on_drop: false }` [INFO] [stdout] e8c60f350f00ca00b78acec80986a596cb779a084a447a33ee37f93fc4a309cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6961a775f54444788d6a3a0b382c23218d3292cdca5d54a5f0bf5c4da9d5ac0 [INFO] running `Command { std: "docker" "start" "-a" "c6961a775f54444788d6a3a0b382c23218d3292cdca5d54a5f0bf5c4da9d5ac0", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking bmp v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `From` is imported redundantly [INFO] [stdout] --> src/decoder.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::{From, AsRef}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/decoder.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::{From, AsRef}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use super::*; [INFO] [stdout] | -------- the item `AsRef` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `fmt` is imported redundantly [INFO] [stdout] --> src/decoder.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use super::*; [INFO] [stdout] | -------- the item `fmt` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `io` is imported redundantly [INFO] [stdout] --> src/decoder.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, Cursor, Read, SeekFrom, Seek}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use super::*; [INFO] [stdout] | -------- the item `io` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Cursor` is imported redundantly [INFO] [stdout] --> src/decoder.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, Cursor, Read, SeekFrom, Seek}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use super::*; [INFO] [stdout] | -------- the item `Cursor` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Read` is imported redundantly [INFO] [stdout] --> src/decoder.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, Cursor, Read, SeekFrom, Seek}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use super::*; [INFO] [stdout] | -------- the item `Read` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `From` is imported redundantly [INFO] [stdout] --> src/decoder.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::{From, AsRef}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/decoder.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::{From, AsRef}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use super::*; [INFO] [stdout] | -------- the item `AsRef` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `fmt` is imported redundantly [INFO] [stdout] --> src/decoder.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use super::*; [INFO] [stdout] | -------- the item `fmt` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `io` is imported redundantly [INFO] [stdout] --> src/decoder.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, Cursor, Read, SeekFrom, Seek}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use super::*; [INFO] [stdout] | -------- the item `io` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Cursor` is imported redundantly [INFO] [stdout] --> src/decoder.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, Cursor, Read, SeekFrom, Seek}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use super::*; [INFO] [stdout] | -------- the item `Cursor` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Read` is imported redundantly [INFO] [stdout] --> src/decoder.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, Cursor, Read, SeekFrom, Seek}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use super::*; [INFO] [stdout] | -------- the item `Read` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Read` is imported redundantly [INFO] [stdout] --> src/lib.rs:437:19 [INFO] [stdout] | [INFO] [stdout] 436 | use super::*; [INFO] [stdout] | -------- the item `Read` is already imported here [INFO] [stdout] 437 | use std::io::{Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/decoder.rs:42:55 [INFO] [stdout] | [INFO] [stdout] 42 | write!(fmt, "{}: {}", kind_desc, self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/decoder.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | BmpIoError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/decoder.rs:42:55 [INFO] [stdout] | [INFO] [stdout] 42 | write!(fmt, "{}: {}", kind_desc, self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/decoder.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | BmpIoError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bmp` (lib) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bmp` (lib test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "c6961a775f54444788d6a3a0b382c23218d3292cdca5d54a5f0bf5c4da9d5ac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6961a775f54444788d6a3a0b382c23218d3292cdca5d54a5f0bf5c4da9d5ac0", kill_on_drop: false }` [INFO] [stdout] c6961a775f54444788d6a3a0b382c23218d3292cdca5d54a5f0bf5c4da9d5ac0