[INFO] fetching crate unsafe-any 0.4.2... [INFO] testing unsafe-any-0.4.2 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate unsafe-any 0.4.2 into /workspace/builds/worker-27/source [INFO] validating manifest of crates.io crate unsafe-any 0.4.2 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate unsafe-any 0.4.2 [INFO] finished tweaking crates.io crate unsafe-any 0.4.2 [INFO] tweaked toml for crates.io crate unsafe-any 0.4.2 written to /workspace/builds/worker-27/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a31dfb161716e0af8ed463baa798911e2e0d54873f060e2ef5ebdd94e40d5054 [INFO] running `Command { std: "docker" "start" "-a" "a31dfb161716e0af8ed463baa798911e2e0d54873f060e2ef5ebdd94e40d5054", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a31dfb161716e0af8ed463baa798911e2e0d54873f060e2ef5ebdd94e40d5054", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a31dfb161716e0af8ed463baa798911e2e0d54873f060e2ef5ebdd94e40d5054", kill_on_drop: false }` [INFO] [stdout] a31dfb161716e0af8ed463baa798911e2e0d54873f060e2ef5ebdd94e40d5054 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b570c5e4a0a88097d11e3de595909520d2eca7e217c83e3e3b5158f19f2b3666 [INFO] running `Command { std: "docker" "start" "-a" "b570c5e4a0a88097d11e3de595909520d2eca7e217c83e3e3b5158f19f2b3666", kill_on_drop: false }` [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling unsafe-any v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | impl UnsafeAny { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn UnsafeAny` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(missing_docs, 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:44:56 [INFO] [stdout] | [INFO] [stdout] 44 | pub unsafe fn downcast_unchecked(self: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn UnsafeAny` [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] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | let raw: *mut UnsafeAny = mem::transmute(self); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn UnsafeAny` [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] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:81:30 [INFO] [stdout] | [INFO] [stdout] 81 | unsafe impl UnsafeAnyExt for Any { } [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | unsafe impl UnsafeAnyExt for UnsafeAny { } [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn UnsafeAny` [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] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe impl UnsafeAnyExt for Any + Send { } [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Any + Send` [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] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | unsafe impl UnsafeAnyExt for Any + Sync { } [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Any + Sync` [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] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | unsafe impl UnsafeAnyExt for Any + Send + Sync { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Any + Send + Sync` [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] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | unsafe impl UnsafeAnyExt for UnsafeAny + Send { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn UnsafeAny + Send` [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] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 87 | unsafe impl UnsafeAnyExt for UnsafeAny + Sync { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn UnsafeAny + Sync` [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] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:88:30 [INFO] [stdout] | [INFO] [stdout] 88 | unsafe impl UnsafeAnyExt for UnsafeAny + Send + Sync { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn UnsafeAny + Send + Sync` [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] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `unsafe-any` due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "b570c5e4a0a88097d11e3de595909520d2eca7e217c83e3e3b5158f19f2b3666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b570c5e4a0a88097d11e3de595909520d2eca7e217c83e3e3b5158f19f2b3666", kill_on_drop: false }` [INFO] [stdout] b570c5e4a0a88097d11e3de595909520d2eca7e217c83e3e3b5158f19f2b3666