[INFO] fetching crate crate-compile-test 0.2.0... [INFO] testing crate-compile-test-0.2.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate crate-compile-test 0.2.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate crate-compile-test 0.2.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c8e4b34965072fa247f70063e1c268f8a1594b793d7b72ac5c9a91ba9a4d0fe [INFO] running `Command { std: "docker" "start" "-a" "9c8e4b34965072fa247f70063e1c268f8a1594b793d7b72ac5c9a91ba9a4d0fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c8e4b34965072fa247f70063e1c268f8a1594b793d7b72ac5c9a91ba9a4d0fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c8e4b34965072fa247f70063e1c268f8a1594b793d7b72ac5c9a91ba9a4d0fe", kill_on_drop: false }` [INFO] [stdout] 9c8e4b34965072fa247f70063e1c268f8a1594b793d7b72ac5c9a91ba9a4d0fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a54eded0da2b40b5288b1a5bc5d4407f73a91d917a3b7316acdf37052c56f570 [INFO] running `Command { std: "docker" "start" "-a" "a54eded0da2b40b5288b1a5bc5d4407f73a91d917a3b7316acdf37052c56f570", kill_on_drop: false }` [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling crate-compile-test v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 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] | ^^^^^^^^^^^^^^^^^ [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: `#[warn(bare_trait_objects)]` implied by `#[warn(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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 - pub crates_filter: Box bool>, [INFO] [stdout] 28 + pub crates_filter: Box bool>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] | ^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - pub additional_steps: Vec>, [INFO] [stdout] 29 + pub additional_steps: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plan.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | steps: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - steps: Vec>, [INFO] [stdout] 11 + steps: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - output: Mutex<&'a mut Write>, [INFO] [stdout] 13 + output: Mutex<&'a mut dyn Write>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - config: Box Config>, [INFO] [stdout] 22 + config: Box Config>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - fn initialize(&self, config: &Config, crate_path: &Path) -> Result>; [INFO] [stdout] 7 + fn initialize(&self, config: &Config, crate_path: &Path) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - pub fn new(output: &'a mut Write) -> Self { [INFO] [stdout] 26 + pub fn new(output: &'a mut dyn Write) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - fn initialize(&self, _config: &Config, crate_path: &Path) -> Result> { [INFO] [stdout] 27 + fn initialize(&self, _config: &Config, crate_path: &Path) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 213 - fn initialize(&self, _config: &Config, crate_path: &Path) -> Result> { [INFO] [stdout] 213 + fn initialize(&self, _config: &Config, crate_path: &Path) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: `#[warn(deprecated)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] warning: 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] | ^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - let mut steps: Vec> = match config.mode { [INFO] [stdout] 26 + let mut steps: Vec> = match config.mode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.86s [INFO] running `Command { std: "docker" "inspect" "a54eded0da2b40b5288b1a5bc5d4407f73a91d917a3b7316acdf37052c56f570", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a54eded0da2b40b5288b1a5bc5d4407f73a91d917a3b7316acdf37052c56f570", kill_on_drop: false }` [INFO] [stdout] a54eded0da2b40b5288b1a5bc5d4407f73a91d917a3b7316acdf37052c56f570 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f8e847585eeb01fe8e8c2cd38af6bcb0fe0ba263cd652d7a04eb59f0ced8855 [INFO] running `Command { std: "docker" "start" "-a" "9f8e847585eeb01fe8e8c2cd38af6bcb0fe0ba263cd652d7a04eb59f0ced8855", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stdout] warning: 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] | ^^^^^^^^^^^^^^^^^ [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: `#[warn(bare_trait_objects)]` implied by `#[warn(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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 - pub crates_filter: Box bool>, [INFO] [stdout] 28 + pub crates_filter: Box bool>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] | ^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - pub additional_steps: Vec>, [INFO] [stdout] 29 + pub additional_steps: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plan.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | steps: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - steps: Vec>, [INFO] [stdout] 11 + steps: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - output: Mutex<&'a mut Write>, [INFO] [stdout] 13 + output: Mutex<&'a mut dyn Write>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - config: Box Config>, [INFO] [stdout] 22 + config: Box Config>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - fn initialize(&self, config: &Config, crate_path: &Path) -> Result>; [INFO] [stdout] 7 + fn initialize(&self, config: &Config, crate_path: &Path) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - pub fn new(output: &'a mut Write) -> Self { [INFO] [stdout] 26 + pub fn new(output: &'a mut dyn Write) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - fn initialize(&self, _config: &Config, crate_path: &Path) -> Result> { [INFO] [stdout] 27 + fn initialize(&self, _config: &Config, crate_path: &Path) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 213 - fn initialize(&self, _config: &Config, crate_path: &Path) -> Result> { [INFO] [stdout] 213 + fn initialize(&self, _config: &Config, crate_path: &Path) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: `#[warn(deprecated)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] warning: 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] | ^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - let mut steps: Vec> = match config.mode { [INFO] [stdout] 26 + let mut steps: Vec> = match config.mode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pretty_assertions v0.5.1 [INFO] [stderr] Compiling crate-compile-test v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 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] | ^^^^^^^^^^^^^^^^^ [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: `#[warn(bare_trait_objects)]` implied by `#[warn(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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 - pub crates_filter: Box bool>, [INFO] [stdout] 28 + pub crates_filter: Box bool>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] | ^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - pub additional_steps: Vec>, [INFO] [stdout] 29 + pub additional_steps: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plan.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | steps: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - steps: Vec>, [INFO] [stdout] 11 + steps: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - output: Mutex<&'a mut Write>, [INFO] [stdout] 13 + output: Mutex<&'a mut dyn Write>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - config: Box Config>, [INFO] [stdout] 22 + config: Box Config>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - fn initialize(&self, config: &Config, crate_path: &Path) -> Result>; [INFO] [stdout] 7 + fn initialize(&self, config: &Config, crate_path: &Path) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - pub fn new(output: &'a mut Write) -> Self { [INFO] [stdout] 26 + pub fn new(output: &'a mut dyn Write) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - fn initialize(&self, _config: &Config, crate_path: &Path) -> Result> { [INFO] [stdout] 27 + fn initialize(&self, _config: &Config, crate_path: &Path) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 213 - fn initialize(&self, _config: &Config, crate_path: &Path) -> Result> { [INFO] [stdout] 213 + fn initialize(&self, _config: &Config, crate_path: &Path) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: `#[warn(deprecated)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] warning: 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] | ^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - let mut steps: Vec> = match config.mode { [INFO] [stdout] 26 + let mut steps: Vec> = match config.mode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.57s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/crate_compile_test-4d98ed5a251aaa77) [INFO] running `Command { std: "docker" "inspect" "9f8e847585eeb01fe8e8c2cd38af6bcb0fe0ba263cd652d7a04eb59f0ced8855", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f8e847585eeb01fe8e8c2cd38af6bcb0fe0ba263cd652d7a04eb59f0ced8855", kill_on_drop: false }` [INFO] [stdout] 9f8e847585eeb01fe8e8c2cd38af6bcb0fe0ba263cd652d7a04eb59f0ced8855 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0d51098c561ea703f5e6d58cc69819b69e1610235efddafdb064aa69c62d2877 [INFO] running `Command { std: "docker" "start" "-a" "0d51098c561ea703f5e6d58cc69819b69e1610235efddafdb064aa69c62d2877", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/config.rs:28:28 [INFO] [stderr] | [INFO] [stderr] 28 | pub crates_filter: Box bool>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` implied by `#[warn(warnings)]` [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 28 - pub crates_filter: Box bool>, [INFO] [stderr] 28 + pub crates_filter: Box bool>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/config.rs:29:35 [INFO] [stderr] | [INFO] [stderr] 29 | pub additional_steps: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 29 - pub additional_steps: Vec>, [INFO] [stderr] 29 + pub additional_steps: Vec>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/plan.rs:11:20 [INFO] [stderr] | [INFO] [stderr] 11 | steps: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 11 - steps: Vec>, [INFO] [stderr] 11 + steps: Vec>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/runner.rs:13:27 [INFO] [stderr] | [INFO] [stderr] 13 | output: Mutex<&'a mut Write>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 13 - output: Mutex<&'a mut Write>, [INFO] [stderr] 13 + output: Mutex<&'a mut dyn Write>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/runner.rs:22:17 [INFO] [stderr] | [INFO] [stderr] 22 | config: Box Config>, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 22 - config: Box Config>, [INFO] [stderr] 22 + config: Box Config>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/steps/mod.rs:7:76 [INFO] [stderr] | [INFO] [stderr] 7 | fn initialize(&self, config: &Config, crate_path: &Path) -> Result>; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 7 - fn initialize(&self, config: &Config, crate_path: &Path) -> Result>; [INFO] [stderr] 7 + fn initialize(&self, config: &Config, crate_path: &Path) -> Result>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/runner.rs:26:32 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn new(output: &'a mut Write) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 26 - pub fn new(output: &'a mut Write) -> Self { [INFO] [stderr] 26 + pub fn new(output: &'a mut dyn Write) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/steps/build.rs:27:77 [INFO] [stderr] | [INFO] [stderr] 27 | fn initialize(&self, _config: &Config, crate_path: &Path) -> Result> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 27 - fn initialize(&self, _config: &Config, crate_path: &Path) -> Result> { [INFO] [stderr] 27 + fn initialize(&self, _config: &Config, crate_path: &Path) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/steps/check_errors.rs:213:77 [INFO] [stderr] | [INFO] [stderr] 213 | fn initialize(&self, _config: &Config, crate_path: &Path) -> Result> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 213 - fn initialize(&self, _config: &Config, crate_path: &Path) -> Result> { [INFO] [stderr] 213 + fn initialize(&self, _config: &Config, crate_path: &Path) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `failure::core::str::::trim_right`: superseded by `trim_end` [INFO] [stderr] --> src/formatting.rs:30:50 [INFO] [stderr] | [INFO] [stderr] 30 | trim_lines(prefix_each_line(body, " ")).trim_right(), [INFO] [stderr] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` implied by `#[warn(warnings)]` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `failure::core::str::::trim_right`: superseded by `trim_end` [INFO] [stderr] --> src/formatting.rs:51:26 [INFO] [stderr] | [INFO] [stderr] 51 | .map(|line| line.trim_right()) [INFO] [stderr] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/plan.rs:26:32 [INFO] [stderr] | [INFO] [stderr] 26 | let mut steps: Vec> = match config.mode { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 26 - let mut steps: Vec> = match config.mode { [INFO] [stderr] 26 + let mut steps: Vec> = match config.mode { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `crate-compile-test` (lib) generated 12 warnings [INFO] [stderr] warning: `crate-compile-test` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/crate_compile_test-4d98ed5a251aaa77) [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] [stderr] Doc-tests crate-compile-test [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" "0d51098c561ea703f5e6d58cc69819b69e1610235efddafdb064aa69c62d2877", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d51098c561ea703f5e6d58cc69819b69e1610235efddafdb064aa69c62d2877", kill_on_drop: false }` [INFO] [stdout] 0d51098c561ea703f5e6d58cc69819b69e1610235efddafdb064aa69c62d2877