[INFO] fetching crate unsafe-any 0.4.2... [INFO] testing unsafe-any-0.4.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate unsafe-any 0.4.2 into /workspace/builds/worker-7-tc2/source [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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate unsafe-any 0.4.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b7669262a7fdcb644a7e54ceceed0156e38ed24fc6eab42c191546399272cfe [INFO] running `Command { std: "docker" "start" "-a" "7b7669262a7fdcb644a7e54ceceed0156e38ed24fc6eab42c191546399272cfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b7669262a7fdcb644a7e54ceceed0156e38ed24fc6eab42c191546399272cfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b7669262a7fdcb644a7e54ceceed0156e38ed24fc6eab42c191546399272cfe", kill_on_drop: false }` [INFO] [stdout] 7b7669262a7fdcb644a7e54ceceed0156e38ed24fc6eab42c191546399272cfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb46f7149620ccf82a70947a909047bd3373beae14361a9fb73218682a530fab [INFO] running `Command { std: "docker" "start" "-a" "cb46f7149620ccf82a70947a909047bd3373beae14361a9fb73218682a530fab", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling traitobject v0.1.1 [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] | ^^^^^^^^^ [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | impl dyn UnsafeAny { [INFO] [stdout] | +++ [INFO] [stdout] help: you might have intended to implement this trait for a given type [INFO] [stdout] | [INFO] [stdout] 20 | impl UnsafeAny for /* Type */ { [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 a dyn-compatible 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 Any { } [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 a dyn-compatible 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 UnsafeAny { } [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 a dyn-compatible 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 Any + Send { } [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 a dyn-compatible 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 Any + Sync { } [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 a dyn-compatible 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 Any + Send + Sync { } [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 a dyn-compatible 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 UnsafeAny + Send { } [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 a dyn-compatible 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 UnsafeAny + Sync { } [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 a dyn-compatible 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 UnsafeAny + Send + Sync { } [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 a dyn-compatible 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: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 a dyn-compatible 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 11 previous errors [INFO] running `Command { std: "docker" "inspect" "cb46f7149620ccf82a70947a909047bd3373beae14361a9fb73218682a530fab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb46f7149620ccf82a70947a909047bd3373beae14361a9fb73218682a530fab", kill_on_drop: false }` [INFO] [stdout] cb46f7149620ccf82a70947a909047bd3373beae14361a9fb73218682a530fab