[INFO] fetching crate crate-compile-test 0.2.0... [INFO] checking crate-compile-test-0.2.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate crate-compile-test 0.2.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate crate-compile-test 0.2.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate crate-compile-test 0.2.0 [INFO] finished tweaking crates.io crate crate-compile-test 0.2.0 [INFO] tweaked toml for crates.io crate crate-compile-test 0.2.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pretty_assertions v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e4e61a6d0268d95fa33ada57846a168c8859121326b5169066fd89e3a051047 [INFO] running `Command { std: "docker" "start" "-a" "8e4e61a6d0268d95fa33ada57846a168c8859121326b5169066fd89e3a051047", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e4e61a6d0268d95fa33ada57846a168c8859121326b5169066fd89e3a051047", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e4e61a6d0268d95fa33ada57846a168c8859121326b5169066fd89e3a051047", kill_on_drop: false }` [INFO] [stdout] 8e4e61a6d0268d95fa33ada57846a168c8859121326b5169066fd89e3a051047 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 851c161c28268808d8e6b9552750b6ab733dcf243a23000173c851474de968bf [INFO] running `Command { std: "docker" "start" "-a" "851c161c28268808d8e6b9552750b6ab733dcf243a23000173c851474de968bf", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking addr2line v0.15.2 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking pretty_assertions v0.5.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking object v0.25.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking crate-compile-test v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | pub crates_filter: Box bool>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Path) -> bool` [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(bare_trait_objects)]` implied by `#[deny(warnings)]` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | pub additional_steps: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TestStepFactory` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/mod.rs:7:76 [INFO] [stdout] | [INFO] [stdout] 7 | fn initialize(&self, config: &Config, crate_path: &Path) -> Result>; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn TestStep` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/build.rs:27:77 [INFO] [stdout] | [INFO] [stdout] 27 | fn initialize(&self, _config: &Config, crate_path: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn TestStep` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/check_errors.rs:213:77 [INFO] [stdout] | [INFO] [stdout] 213 | fn initialize(&self, _config: &Config, crate_path: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn TestStep` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plan.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | steps: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TestStepFactory` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plan.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | let mut steps: Vec> = match config.mode { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TestStepFactory` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/runner.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | output: Mutex<&'a mut Write>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/runner.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | config: Box Config>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Config` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/runner.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(output: &'a mut Write) -> Self { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | pub crates_filter: Box bool>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Path) -> bool` [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(bare_trait_objects)]` implied by `#[deny(warnings)]` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | pub additional_steps: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TestStepFactory` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/mod.rs:7:76 [INFO] [stdout] | [INFO] [stdout] 7 | fn initialize(&self, config: &Config, crate_path: &Path) -> Result>; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn TestStep` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/build.rs:27:77 [INFO] [stdout] | [INFO] [stdout] 27 | fn initialize(&self, _config: &Config, crate_path: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn TestStep` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/check_errors.rs:213:77 [INFO] [stdout] | [INFO] [stdout] 213 | fn initialize(&self, _config: &Config, crate_path: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn TestStep` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plan.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | steps: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TestStepFactory` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plan.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | let mut steps: Vec> = match config.mode { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TestStepFactory` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/runner.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | output: Mutex<&'a mut Write>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/runner.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | config: Box Config>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Config` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/runner.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(output: &'a mut Write) -> Self { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `failure::core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/formatting.rs:30:50 [INFO] [stdout] | [INFO] [stdout] 30 | trim_lines(prefix_each_line(body, " ")).trim_right(), [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [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(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `failure::core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/formatting.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | .map(|line| line.trim_right()) [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crate-compile-test` due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: use of deprecated associated function `failure::core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/formatting.rs:30:50 [INFO] [stdout] | [INFO] [stdout] 30 | trim_lines(prefix_each_line(body, " ")).trim_right(), [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [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(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `failure::core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/formatting.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | .map(|line| line.trim_right()) [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "851c161c28268808d8e6b9552750b6ab733dcf243a23000173c851474de968bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "851c161c28268808d8e6b9552750b6ab733dcf243a23000173c851474de968bf", kill_on_drop: false }` [INFO] [stdout] 851c161c28268808d8e6b9552750b6ab733dcf243a23000173c851474de968bf