[INFO] fetching crate blackbox_cast 0.1.1... [INFO] checking blackbox_cast-0.1.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate blackbox_cast 0.1.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate blackbox_cast 0.1.1 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate blackbox_cast 0.1.1 [INFO] finished tweaking crates.io crate blackbox_cast 0.1.1 [INFO] tweaked toml for crates.io crate blackbox_cast 0.1.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 21 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc63afa8311a803c510160dc084b0feac7810f86bb677270950e2ef777fa305b [INFO] running `Command { std: "docker" "start" "-a" "cc63afa8311a803c510160dc084b0feac7810f86bb677270950e2ef777fa305b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc63afa8311a803c510160dc084b0feac7810f86bb677270950e2ef777fa305b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc63afa8311a803c510160dc084b0feac7810f86bb677270950e2ef777fa305b", kill_on_drop: false }` [INFO] [stdout] cc63afa8311a803c510160dc084b0feac7810f86bb677270950e2ef777fa305b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed54c9ef38b6396900c52976b382834a35a8d0502c6246650efa2f6b036c845c [INFO] running `Command { std: "docker" "start" "-a" "ed54c9ef38b6396900c52976b382834a35a8d0502c6246650efa2f6b036c845c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling linkme-impl v0.3.28 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking linkme v0.3.28 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling blackbox_cast_codegen v0.1.1 [INFO] [stderr] Checking blackbox_cast v0.1.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/vtable.rs (1 fix) [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/vtable.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(distributed_slice)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[cast] [INFO] [stdout] | ------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `crate::TRAITCASTERS` which comes from the expansion of the attribute macro `cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(unsafe(distributed_slice))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/vtable.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(distributed_slice)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[cast] [INFO] [stdout] | ------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `crate::TRAITCASTERS` which comes from the expansion of the attribute macro `cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(unsafe(distributed_slice))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/vtable.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(distributed_slice)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[cast] [INFO] [stdout] | ------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `crate::TRAITCASTERS` which comes from the expansion of the attribute macro `cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(unsafe(distributed_slice))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/vtable.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(distributed_slice)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[cast] [INFO] [stdout] | ------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `crate::TRAITCASTERS` which comes from the expansion of the attribute macro `cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(unsafe(distributed_slice))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `blackbox_cast` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/tests/mod.rs [INFO] [stderr] * src/vtable.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> src/vtable.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[unsafe(unsafe(distributed_slice))] [INFO] [stderr] | ^^^^^^ expected identifier, found keyword [INFO] [stderr] | [INFO] [stderr] help: escape `unsafe` to use it as an identifier [INFO] [stderr] | [INFO] [stderr] 15 | #[unsafe(r#unsafe(distributed_slice))] [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] error: `r#unsafe` is not an unsafe attribute [INFO] [stderr] --> src/vtable.rs:15:3 [INFO] [stderr] | [INFO] [stderr] 15 | #[unsafe(unsafe(distributed_slice))] [INFO] [stderr] | ^^^^^^ this is not an unsafe attribute [INFO] [stderr] | [INFO] [stderr] = note: extraneous unsafe is not allowed in attributes [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `TRAITCASTERS` in the crate root [INFO] [stderr] --> src/tests/mod.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | #[cast] [INFO] [stderr] | ^^^^^^^ could not find `TRAITCASTERS` in the crate root [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: crate::TRAITCASTERS is not a macro, but a static, try to remove `!` [INFO] [stderr] | [INFO] [stderr] 14 | #[cast]#[cast(crate)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `TRAITCASTERS` in the crate root [INFO] [stderr] --> src/tests/mod.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | #[cast] [INFO] [stderr] | ^^^^^^^ could not find `TRAITCASTERS` in the crate root [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: crate::TRAITCASTERS is not a macro, but a static, try to remove `!` [INFO] [stderr] | [INFO] [stderr] 18 | #[cast]#[cast(crate)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `r#unsafe` in this scope [INFO] [stderr] --> src/vtable.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[unsafe(unsafe(distributed_slice))] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `linkme::distributed_slice` [INFO] [stderr] --> src/vtable.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use linkme::distributed_slice; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `[fn() -> (TypeId, Box<(dyn Any + Send + Sync + 'static)>)]` cannot be known at compilation time [INFO] [stderr] --> src/vtable.rs:16:26 [INFO] [stderr] | [INFO] [stderr] 16 | pub static TRAITCASTERS: [fn() -> (TargetId, BoxedTraitCaster)] = [..]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `Sized` is not implemented for `[fn() -> (TypeId, Box<(dyn Any + Send + Sync + 'static)>)]` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/vtable.rs:16:68 [INFO] [stderr] | [INFO] [stderr] 16 | pub static TRAITCASTERS: [fn() -> (TargetId, BoxedTraitCaster)] = [..]; [INFO] [stderr] | ^^ expected fn pointer, found `RangeFull` [INFO] [stderr] | [INFO] [stderr] = note: expected fn pointer `fn() -> (TypeId, Box<(dyn Any + Send + Sync + 'static)>)` [INFO] [stderr] found struct `RangeFull` [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/vtable.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(distributed_slice)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[cast] [INFO] [stdout] | ------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `crate::TRAITCASTERS` which comes from the expansion of the attribute macro `cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(unsafe(distributed_slice))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `[fn() -> (TypeId, Box<(dyn Any + Send + Sync + 'static)>)]` cannot be known at compilation time [INFO] [stderr] --> src/vtable.rs:16:67 [INFO] [stderr] | [INFO] [stderr] 16 | pub static TRAITCASTERS: [fn() -> (TargetId, BoxedTraitCaster)] = [..]; [INFO] [stderr] | ^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `Sized` is not implemented for `[fn() -> (TypeId, Box<(dyn Any + Send + Sync + 'static)>)]` [INFO] [stderr] = note: constant expressions must have a statically known size [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/vtable.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(distributed_slice)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[cast] [INFO] [stdout] | ------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `crate::TRAITCASTERS` which comes from the expansion of the attribute macro `cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(unsafe(distributed_slice))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/vtable.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(distributed_slice)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[cast] [INFO] [stdout] | ------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `crate::TRAITCASTERS` which comes from the expansion of the attribute macro `cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(unsafe(distributed_slice))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/vtable.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(distributed_slice)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[cast] [INFO] [stdout] | ------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `crate::TRAITCASTERS` which comes from the expansion of the attribute macro `cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(unsafe(distributed_slice))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.76s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking blackbox_cast v0.1.1 (/tmp/fixit) [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/vtable.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(distributed_slice)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[cast] [INFO] [stdout] | ------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::TRAITCASTERS` which comes from the expansion of the attribute macro `cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(unsafe(distributed_slice))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/vtable.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(distributed_slice)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[cast] [INFO] [stdout] | ------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::TRAITCASTERS` which comes from the expansion of the attribute macro `cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(unsafe(distributed_slice))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/vtable.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(distributed_slice)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[cast] [INFO] [stdout] | ------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::TRAITCASTERS` which comes from the expansion of the attribute macro `cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(unsafe(distributed_slice))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/vtable.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(distributed_slice)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[cast] [INFO] [stdout] | ------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::TRAITCASTERS` which comes from the expansion of the attribute macro `cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(unsafe(distributed_slice))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/vtable.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(distributed_slice)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[cast] [INFO] [stdout] | ------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::TRAITCASTERS` which comes from the expansion of the attribute macro `cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(unsafe(distributed_slice))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/vtable.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(distributed_slice)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[cast] [INFO] [stdout] | ------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::TRAITCASTERS` which comes from the expansion of the attribute macro `cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(unsafe(distributed_slice))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/vtable.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(distributed_slice)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[cast] [INFO] [stdout] | ------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::TRAITCASTERS` which comes from the expansion of the attribute macro `cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(unsafe(distributed_slice))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/vtable.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(distributed_slice)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/tests/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[cast] [INFO] [stdout] | ------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::TRAITCASTERS` which comes from the expansion of the attribute macro `cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 15 | #[unsafe(unsafe(distributed_slice))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `blackbox_cast` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `blackbox_cast` (lib test) due to 5 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "ed54c9ef38b6396900c52976b382834a35a8d0502c6246650efa2f6b036c845c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed54c9ef38b6396900c52976b382834a35a8d0502c6246650efa2f6b036c845c", kill_on_drop: false }` [INFO] [stdout] ed54c9ef38b6396900c52976b382834a35a8d0502c6246650efa2f6b036c845c