[INFO] fetching crate unsafe-any 0.4.2... [INFO] checking unsafe-any-0.4.2 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate unsafe-any 0.4.2 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate unsafe-any 0.4.2 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 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-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 14bf040ee7d0a104521eec9f4a41d3201db4e0751688631aaecb63f0809fbf80 [INFO] running `Command { std: "docker" "start" "-a" "14bf040ee7d0a104521eec9f4a41d3201db4e0751688631aaecb63f0809fbf80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14bf040ee7d0a104521eec9f4a41d3201db4e0751688631aaecb63f0809fbf80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14bf040ee7d0a104521eec9f4a41d3201db4e0751688631aaecb63f0809fbf80", kill_on_drop: false }` [INFO] [stdout] 14bf040ee7d0a104521eec9f4a41d3201db4e0751688631aaecb63f0809fbf80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 0e40ecff46d3c6c0161c899dd1f703debd343d491e74094c3dc3c896cab41124 [INFO] running `Command { std: "docker" "start" "-a" "0e40ecff46d3c6c0161c899dd1f703debd343d491e74094c3dc3c896cab41124", kill_on_drop: false }` [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking 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] | ^^^^^^^^^ [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] 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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | impl dyn UnsafeAny { [INFO] [stdout] | +++ [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] | ^^^ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 | unsafe impl UnsafeAnyExt for dyn Any { } [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `UnsafeAnyExt` for all types that also implement `Any` [INFO] [stdout] | [INFO] [stdout] 81 | unsafe impl UnsafeAnyExt for T { } [INFO] [stdout] | ++++++++ ~ [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] | ^^^^^^^^^ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | unsafe impl UnsafeAnyExt for dyn UnsafeAny { } [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `UnsafeAnyExt` for all types that also implement `UnsafeAny` [INFO] [stdout] | [INFO] [stdout] 82 | unsafe impl UnsafeAnyExt for T { } [INFO] [stdout] | ++++++++++++++ ~ [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] | ^^^^^^^^^^ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 | unsafe impl UnsafeAnyExt for dyn Any + Send { } [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `UnsafeAnyExt` for all types that also implement `Any + Send` [INFO] [stdout] | [INFO] [stdout] 83 | unsafe impl UnsafeAnyExt for T { } [INFO] [stdout] | +++++++++++++++ ~ [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] | ^^^^^^^^^^ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | unsafe impl UnsafeAnyExt for dyn Any + Sync { } [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `UnsafeAnyExt` for all types that also implement `Any + Sync` [INFO] [stdout] | [INFO] [stdout] 84 | unsafe impl UnsafeAnyExt for T { } [INFO] [stdout] | +++++++++++++++ ~ [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] | ^^^^^^^^^^^^^^^^^ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 | unsafe impl UnsafeAnyExt for dyn Any + Send + Sync { } [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `UnsafeAnyExt` for all types that also implement `Any + Send + Sync` [INFO] [stdout] | [INFO] [stdout] 85 | unsafe impl UnsafeAnyExt for T { } [INFO] [stdout] | ++++++++++++++++++++++ ~ [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] | ^^^^^^^^^^^^^^^^ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 | unsafe impl UnsafeAnyExt for dyn UnsafeAny + Send { } [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `UnsafeAnyExt` for all types that also implement `UnsafeAny + Send` [INFO] [stdout] | [INFO] [stdout] 86 | unsafe impl UnsafeAnyExt for T { } [INFO] [stdout] | +++++++++++++++++++++ ~ [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] | ^^^^^^^^^^^^^^^^ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 | unsafe impl UnsafeAnyExt for dyn UnsafeAny + Sync { } [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `UnsafeAnyExt` for all types that also implement `UnsafeAny + Sync` [INFO] [stdout] | [INFO] [stdout] 87 | unsafe impl UnsafeAnyExt for T { } [INFO] [stdout] | +++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^^^^ [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] 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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | impl dyn UnsafeAny { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 88 | unsafe impl UnsafeAnyExt for dyn UnsafeAny + Send + Sync { } [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `UnsafeAnyExt` for all types that also implement `UnsafeAny + Send + Sync` [INFO] [stdout] | [INFO] [stdout] 88 | unsafe impl UnsafeAnyExt for T { } [INFO] [stdout] | ++++++++++++++++++++++++++++ ~ [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] | ^^^^^^^^^ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | pub unsafe fn downcast_unchecked(self: Box) -> Box { [INFO] [stdout] | +++ [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] | ^^^ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 | unsafe impl UnsafeAnyExt for dyn Any { } [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `UnsafeAnyExt` for all types that also implement `Any` [INFO] [stdout] | [INFO] [stdout] 81 | unsafe impl UnsafeAnyExt for T { } [INFO] [stdout] | ++++++++ ~ [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] | ^^^^^^^^^ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 | let raw: *mut dyn UnsafeAny = mem::transmute(self); [INFO] [stdout] | +++ [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] | ^^^^^^^^^ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | unsafe impl UnsafeAnyExt for dyn UnsafeAny { } [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `UnsafeAnyExt` for all types that also implement `UnsafeAny` [INFO] [stdout] | [INFO] [stdout] 82 | unsafe impl UnsafeAnyExt for T { } [INFO] [stdout] | ++++++++++++++ ~ [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] | ^^^^^^^^^^ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 | unsafe impl UnsafeAnyExt for dyn Any + Send { } [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `UnsafeAnyExt` for all types that also implement `Any + Send` [INFO] [stdout] | [INFO] [stdout] 83 | unsafe impl UnsafeAnyExt for T { } [INFO] [stdout] | +++++++++++++++ ~ [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] | ^^^^^^^^^^ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | unsafe impl UnsafeAnyExt for dyn Any + Sync { } [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `UnsafeAnyExt` for all types that also implement `Any + Sync` [INFO] [stdout] | [INFO] [stdout] 84 | unsafe impl UnsafeAnyExt for T { } [INFO] [stdout] | +++++++++++++++ ~ [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] | ^^^^^^^^^^^^^^^^^ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 | unsafe impl UnsafeAnyExt for dyn Any + Send + Sync { } [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `UnsafeAnyExt` for all types that also implement `Any + Send + Sync` [INFO] [stdout] | [INFO] [stdout] 85 | unsafe impl UnsafeAnyExt for T { } [INFO] [stdout] | ++++++++++++++++++++++ ~ [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] | ^^^^^^^^^^^^^^^^ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 | unsafe impl UnsafeAnyExt for dyn UnsafeAny + Send { } [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `UnsafeAnyExt` for all types that also implement `UnsafeAny + Send` [INFO] [stdout] | [INFO] [stdout] 86 | unsafe impl UnsafeAnyExt for T { } [INFO] [stdout] | +++++++++++++++++++++ ~ [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] | ^^^^^^^^^^^^^^^^ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 | unsafe impl UnsafeAnyExt for dyn UnsafeAny + Sync { } [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `UnsafeAnyExt` for all types that also implement `UnsafeAny + Sync` [INFO] [stdout] | [INFO] [stdout] 87 | unsafe impl UnsafeAnyExt for T { } [INFO] [stdout] | +++++++++++++++++++++ ~ [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] | ^^^^^^^^^^^^^^^^^^^^^^^ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 88 | unsafe impl UnsafeAnyExt for dyn UnsafeAny + Send + Sync { } [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `UnsafeAnyExt` for all types that also implement `UnsafeAny + Send + Sync` [INFO] [stdout] | [INFO] [stdout] 88 | unsafe impl UnsafeAnyExt for T { } [INFO] [stdout] | ++++++++++++++++++++++++++++ ~ [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] | ^^^^^^^^^ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | pub unsafe fn downcast_unchecked(self: Box) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [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] | ^^^^^^^^^ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 | let raw: *mut dyn UnsafeAny = mem::transmute(self); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `unsafe-any` (lib) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | let a = Box::new(7usize) as Box; [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 96 | let a = Box::new(7usize) as Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/lib.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | unsafe { assert_eq!(*a.downcast_ref_unchecked::(), 7); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `UnsafeAnyExt::downcast_ref_unchecked(...)` to keep using the current method [INFO] [stdout] = note: `#[deny(unstable_name_collisions)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: add `#![feature(downcast_unchecked)]` to the crate attributes to enable `<(dyn Any + 'static)>::downcast_ref_unchecked` [INFO] [stdout] | [INFO] [stdout] 10 + #![feature(downcast_unchecked)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:99:45 [INFO] [stdout] | [INFO] [stdout] 99 | let mut a = Box::new(7usize) as Box; [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 | let mut a = Box::new(7usize) as Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/lib.rs:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | unsafe { assert_eq!(*a.downcast_mut_unchecked::(), 7); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `UnsafeAnyExt::downcast_mut_unchecked(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(downcast_unchecked)]` to the crate attributes to enable `<(dyn Any + 'static)>::downcast_mut_unchecked` [INFO] [stdout] | [INFO] [stdout] 10 + #![feature(downcast_unchecked)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:102:45 [INFO] [stdout] | [INFO] [stdout] 102 | let mut a = Box::new(7usize) as Box; [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 | let mut a = Box::new(7usize) as Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/lib.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | *a.downcast_mut_unchecked::() = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `UnsafeAnyExt::downcast_mut_unchecked(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(downcast_unchecked)]` to the crate attributes to enable `<(dyn Any + 'static)>::downcast_mut_unchecked` [INFO] [stdout] | [INFO] [stdout] 10 + #![feature(downcast_unchecked)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/lib.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | assert_eq!(*a.downcast_mut_unchecked::(), 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `UnsafeAnyExt::downcast_mut_unchecked(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(downcast_unchecked)]` to the crate attributes to enable `<(dyn Any + 'static)>::downcast_mut_unchecked` [INFO] [stdout] | [INFO] [stdout] 10 + #![feature(downcast_unchecked)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:110:41 [INFO] [stdout] | [INFO] [stdout] 110 | let a = Box::new(7usize) as Box; [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 110 | let a = Box::new(7usize) as Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:113:45 [INFO] [stdout] | [INFO] [stdout] 113 | let mut a = Box::new(7usize) as Box; [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 | let mut a = Box::new(7usize) as Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:116:45 [INFO] [stdout] | [INFO] [stdout] 116 | let mut a = Box::new(7usize) as Box; [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 | let mut a = Box::new(7usize) as Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:138:59 [INFO] [stdout] | [INFO] [stdout] 138 | let a = Box::new(Dropper { x: x.clone() }) as Box; [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | let a = Box::new(Dropper { x: x.clone() }) as Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:147:59 [INFO] [stdout] | [INFO] [stdout] 147 | let a = Box::new(Dropper { x: x.clone() }) as Box; [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 147 | let a = Box::new(Dropper { x: x.clone() }) as Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/lib.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | let dropper = unsafe { a.downcast_unchecked::() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `UnsafeAnyExt::downcast_unchecked(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(downcast_unchecked)]` to the crate attributes to enable `Box::<(dyn Any + 'static), A>::downcast_unchecked` [INFO] [stdout] | [INFO] [stdout] 10 + #![feature(downcast_unchecked)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `unsafe-any` (lib test) due to 25 previous errors [INFO] running `Command { std: "docker" "inspect" "0e40ecff46d3c6c0161c899dd1f703debd343d491e74094c3dc3c896cab41124", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e40ecff46d3c6c0161c899dd1f703debd343d491e74094c3dc3c896cab41124", kill_on_drop: false }` [INFO] [stdout] 0e40ecff46d3c6c0161c899dd1f703debd343d491e74094c3dc3c896cab41124 [INFO] checking unsafe-any-0.4.2 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] extracting crate unsafe-any 0.4.2 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate unsafe-any 0.4.2 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f40cfe0a53d6ac2783a503c0913eea9cca785a9c22a9b3eb31c1f4bae372d67 [INFO] running `Command { std: "docker" "start" "-a" "1f40cfe0a53d6ac2783a503c0913eea9cca785a9c22a9b3eb31c1f4bae372d67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f40cfe0a53d6ac2783a503c0913eea9cca785a9c22a9b3eb31c1f4bae372d67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f40cfe0a53d6ac2783a503c0913eea9cca785a9c22a9b3eb31c1f4bae372d67", kill_on_drop: false }` [INFO] [stdout] 1f40cfe0a53d6ac2783a503c0913eea9cca785a9c22a9b3eb31c1f4bae372d67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d56b3faa3fc2f5f1675b215ff11d1764f04aa46dbafd0997e666175a0656eab7 [INFO] running `Command { std: "docker" "start" "-a" "d56b3faa3fc2f5f1675b215ff11d1764f04aa46dbafd0997e666175a0656eab7", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "d56b3faa3fc2f5f1675b215ff11d1764f04aa46dbafd0997e666175a0656eab7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d56b3faa3fc2f5f1675b215ff11d1764f04aa46dbafd0997e666175a0656eab7", kill_on_drop: false }` [INFO] [stdout] d56b3faa3fc2f5f1675b215ff11d1764f04aa46dbafd0997e666175a0656eab7