[INFO] fetching crate trait-cast 0.4.0...
[INFO] checking trait-cast-0.4.0 against e977a0b5ab976a591981e7263bd67a71a4f79308 for pr-158914
[INFO] extracting crate trait-cast 0.4.0 into /workspace/builds/worker-1-tc2/source
[INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml
[INFO] started tweaking crates.io crate trait-cast 0.4.0
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate trait-cast 0.4.0
[INFO] tweaked toml for crates.io crate trait-cast 0.4.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate trait-cast 0.4.0 on toolchain e977a0b5ab976a591981e7263bd67a71a4f79308
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate trait-cast 0.4.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1fa6594d87c8fa7b311925a7a77a16f539833322d9dfba4ce891f211db2f90b1" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e23f16a15360601e9aa83448ebdbbf7169c43efc612a02cac4ac143ffdf60c6f
[INFO] running `Command { std: "docker" "start" "e23f16a15360601e9aa83448ebdbbf7169c43efc612a02cac4ac143ffdf60c6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e23f16a15360601e9aa83448ebdbbf7169c43efc612a02cac4ac143ffdf60c6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e23f16a15360601e9aa83448ebdbbf7169c43efc612a02cac4ac143ffdf60c6f" "/opt/rustwide/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e23f16a15360601e9aa83448ebdbbf7169c43efc612a02cac4ac143ffdf60c6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e23f16a15360601e9aa83448ebdbbf7169c43efc612a02cac4ac143ffdf60c6f" "/opt/rustwide/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling thiserror v2.0.11
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling winnow v0.6.24
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling winnow v0.7.14
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling indexmap v2.12.1
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling syn v2.0.96
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]    Compiling toml_parser v1.0.4
[INFO] [stderr]    Compiling toml_edit v0.23.9
[INFO] [stderr]    Compiling thiserror-impl v2.0.11
[INFO] [stderr]    Compiling cargo-manifest-proc-macros v0.4.3
[INFO] [stderr]    Compiling trait-cast-macros v0.4.0
[INFO] [stderr]     Checking trait-cast v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: encountered dangling pointer in final value of constant
[INFO] [stdout]   --> src/decl_macro.rs:39:11
[INFO] [stdout]    |
[INFO] [stdout] 39 |             const TARGETS: [$crate::TraitcastTarget; TARGETS_LEN] = {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/test.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / make_trait_castable_decl! {
[INFO] [stdout] 13 | |     Source => (Print)
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `make_trait_castable_decl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: encountered dangling pointer in final value of constant
[INFO] [stdout]  --> examples/with_proc_macro_enum.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(TraitcastableAny)]
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `::trait_cast::make_trait_castable_decl` which comes from the expansion of the derive macro `TraitcastableAny` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: encountered dangling pointer in final value of constant
[INFO] [stdout]   --> examples/with_proc_macro_generic_target.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(TraitcastableAny)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `::trait_cast::make_trait_castable_decl` which comes from the expansion of the derive macro `TraitcastableAny` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: encountered dangling pointer in final value of promoted
[INFO] [stdout]   --> examples/manual.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     const TARGETS: &[TraitcastTarget] = &[
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `trait-cast` (example "with_proc_macro_generic_target") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `trait-cast` (example "with_proc_macro_enum") due to 1 previous error
[INFO] [stderr] error: could not compile `trait-cast` (example "manual") due to 1 previous error
[INFO] [stdout] error: encountered dangling pointer in final value of constant
[INFO] [stdout]   --> examples/with_decl_macro_generic_struct.rs:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | / make_trait_castable_decl! {
[INFO] [stdout] 39 | |   HybridPet<String> => (Dog, Cat<str>),
[INFO] [stdout] 40 | |   HybridPet<u8> => (Dog, Cat<u128>),
[INFO] [stdout] 41 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `make_trait_castable_decl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: encountered dangling pointer in final value of constant
[INFO] [stdout]   --> examples/with_proc_macro.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(TraitcastableAny)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `::trait_cast::make_trait_castable_decl` which comes from the expansion of the derive macro `TraitcastableAny` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `trait-cast` (lib test) due to 1 previous error
[INFO] [stdout] error: encountered dangling pointer in final value of constant
[INFO] [stdout]  --> examples/with_proc_macro_mut.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(TraitcastableAny)]
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `::trait_cast::make_trait_castable_decl` which comes from the expansion of the derive macro `TraitcastableAny` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: encountered dangling pointer in final value of constant
[INFO] [stdout]   --> examples/with_decl_macro.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | / make_trait_castable_decl! {
[INFO] [stdout] 16 | |   HybridPet => (Dog, Cat),
[INFO] [stdout] ...  |
[INFO] [stdout] 20 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `make_trait_castable_decl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `trait-cast` (example "with_decl_macro_generic_struct") due to 1 previous error
[INFO] [stderr] error: could not compile `trait-cast` (example "with_proc_macro") due to 1 previous error
[INFO] [stderr] error: could not compile `trait-cast` (example "with_decl_macro") due to 1 previous error
[INFO] [stderr] error: could not compile `trait-cast` (example "with_proc_macro_mut") due to 1 previous error
[INFO] [stderr] error: could not compile `trait-cast` (example "with_decl_macro_struct") due to 1 previous error
[INFO] [stdout] error: encountered dangling pointer in final value of constant
[INFO] [stdout]   --> examples/with_decl_macro_struct.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | / make_trait_castable_decl! {
[INFO] [stdout] 11 | |   HybridPet => (Dog<i32>, Dog<TestStruct<::core::primitive::i32>>, Cat<u128, u32>),
[INFO] [stdout] 12 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `make_trait_castable_decl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "e23f16a15360601e9aa83448ebdbbf7169c43efc612a02cac4ac143ffdf60c6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e23f16a15360601e9aa83448ebdbbf7169c43efc612a02cac4ac143ffdf60c6f", kill_on_drop: false }`
[INFO] [stdout] e23f16a15360601e9aa83448ebdbbf7169c43efc612a02cac4ac143ffdf60c6f
