[INFO] fetching crate zerocopy-derive 0.8.9... [INFO] checking zerocopy-derive-0.8.9 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate zerocopy-derive 0.8.9 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate zerocopy-derive 0.8.9 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate zerocopy-derive 0.8.9 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate zerocopy-derive 0.8.9 [INFO] tweaked toml for crates.io crate zerocopy-derive 0.8.9 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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 30 packages to latest compatible versions [INFO] [stderr] Adding once_cell v1.9.0 (available: v1.20.2) [INFO] [stderr] Adding prettyplease v0.2.17 (available: v0.2.25) [INFO] [stderr] Adding trybuild v1.0.89 (available: v1.0.101) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1aa735d0e67ebfe362217991e9d6c07656fce3ac7801dc655577cd94efea30e [INFO] running `Command { std: "docker" "start" "-a" "d1aa735d0e67ebfe362217991e9d6c07656fce3ac7801dc655577cd94efea30e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1aa735d0e67ebfe362217991e9d6c07656fce3ac7801dc655577cd94efea30e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1aa735d0e67ebfe362217991e9d6c07656fce3ac7801dc655577cd94efea30e", kill_on_drop: false }` [INFO] [stdout] d1aa735d0e67ebfe362217991e9d6c07656fce3ac7801dc655577cd94efea30e [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8ec25909ac3585dab8b4ddae3852052749c436c89bae52ab3ba5602c0339e64 [INFO] running `Command { std: "docker" "start" "-a" "c8ec25909ac3585dab8b4ddae3852052749c436c89bae52ab3ba5602c0339e64", 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.89 [INFO] [stderr] Compiling trybuild v1.0.89 [INFO] [stderr] Compiling prettyplease v0.2.17 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking dissimilar v1.0.9 [INFO] [stderr] Checking basic-toml v0.1.9 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.87 [INFO] [stderr] Checking zerocopy-derive v0.8.9 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/lib.rs (1 fix) [INFO] [stderr] Fixed src/enum.rs (1 fix) [INFO] [stderr] Fixed src/repr.rs (2 fixes) [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Migrating tests/hygiene.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/priv_in_pub.rs from 2021 edition to 2024 [INFO] [stdout] error[E0463]: can't find crate for `zerocopy` [INFO] [stdout] --> tests/hygiene.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate zerocopy as _zerocopy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/include.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | ::zerocopy::*, [INFO] [stdout] | ^^^^^^^^ could not find `zerocopy` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/include.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | super::imp::KnownLayout, [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/include.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | super::imp::Immutable, [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromBytes` in `imp` [INFO] [stdout] --> tests/include.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | super::imp::FromBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `FromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/include.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | super::imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zerocopy-derive` (test "hygiene") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/include.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | ::zerocopy::*, [INFO] [stdout] | ^^^^^^^^ could not find `zerocopy` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/union_unaligned.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/include.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | super::imp::KnownLayout, [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/include.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | super::imp::Immutable, [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromBytes` in `imp` [INFO] [stdout] --> tests/include.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | super::imp::FromBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `FromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/include.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | super::imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zerocopy-derive` (test "priv_in_pub") due to 5 previous errors [INFO] [stderr] Migrating tests/struct_from_bytes.rs from 2021 edition to 2024 [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/include.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | ::zerocopy::*, [INFO] [stdout] | ^^^^^^^^ could not find `zerocopy` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/include.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | super::imp::KnownLayout, [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/include.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | super::imp::Immutable, [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromBytes` in `imp` [INFO] [stdout] --> tests/include.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | super::imp::FromBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `FromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/include.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | super::imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Unaligned` in `imp` [INFO] [stdout] --> tests/union_unaligned.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(imp::Unaligned)] [INFO] [stdout] | ^^^^^^^^^ could not find `Unaligned` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Unaligned` in `imp` [INFO] [stdout] --> tests/union_unaligned.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(imp::Unaligned)] [INFO] [stdout] | ^^^^^^^^^ could not find `Unaligned` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Unaligned` in `imp` [INFO] [stdout] --> tests/union_unaligned.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(imp::Unaligned)] [INFO] [stdout] | ^^^^^^^^^ could not find `Unaligned` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Unaligned` in `imp` [INFO] [stdout] --> tests/union_unaligned.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(imp::Unaligned)] [INFO] [stdout] | ^^^^^^^^^ could not find `Unaligned` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zerocopy-derive` (test "union_unaligned") due to 9 previous errors [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/include.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | ::zerocopy::*, [INFO] [stdout] | ^^^^^^^^ could not find `zerocopy` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/union_to_bytes.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/include.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | super::imp::KnownLayout, [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/include.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | super::imp::Immutable, [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromBytes` in `imp` [INFO] [stdout] --> tests/include.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | super::imp::FromBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `FromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/include.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | super::imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromBytes` in `imp` [INFO] [stdout] --> tests/struct_from_bytes.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(imp::FromBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `FromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromBytes` in `imp` [INFO] [stdout] --> tests/struct_from_bytes.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(imp::FromBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `FromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromBytes` in `imp` [INFO] [stdout] --> tests/struct_from_bytes.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(imp::FromBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `FromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromBytes` in `imp` [INFO] [stdout] --> tests/struct_from_bytes.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(imp::FromBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `FromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromBytes` in `imp` [INFO] [stdout] --> tests/struct_from_bytes.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(imp::FromBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `FromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromBytes` in `imp` [INFO] [stdout] --> tests/struct_from_bytes.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(imp::FromBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `FromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zerocopy-derive` (test "struct_from_bytes") due to 11 previous errors [INFO] [stderr] Migrating tests/enum_no_cell.rs from 2021 edition to 2024 [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/include.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | ::zerocopy::*, [INFO] [stdout] | ^^^^^^^^ could not find `zerocopy` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/include.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | super::imp::KnownLayout, [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/include.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | super::imp::Immutable, [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromBytes` in `imp` [INFO] [stdout] --> tests/include.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | super::imp::FromBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `FromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/include.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | super::imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/union_to_bytes.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(imp::IntoBytes, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/union_to_bytes.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(imp::IntoBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/union_to_bytes.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(imp::IntoBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/union_to_bytes.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(imp::IntoBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/union_to_bytes.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(imp::IntoBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zerocopy-derive` (test "union_to_bytes") due to 10 previous errors [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/include.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | ::zerocopy::*, [INFO] [stdout] | ^^^^^^^^ could not find `zerocopy` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/struct_known_layout.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/include.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | super::imp::KnownLayout, [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/include.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | super::imp::Immutable, [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromBytes` in `imp` [INFO] [stdout] --> tests/include.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | super::imp::FromBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `FromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/include.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | super::imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/enum_no_cell.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(imp::Immutable)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/enum_no_cell.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(imp::Immutable)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/enum_no_cell.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(imp::Immutable)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/enum_no_cell.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(imp::Immutable)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zerocopy-derive` (test "enum_no_cell") due to 9 previous errors [INFO] [stderr] Migrating tests/trybuild.rs from 2021 edition to 2024 [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/include.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | ::zerocopy::*, [INFO] [stdout] | ^^^^^^^^ could not find `zerocopy` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/include.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | super::imp::KnownLayout, [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/include.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | super::imp::Immutable, [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromBytes` in `imp` [INFO] [stdout] --> tests/include.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | super::imp::FromBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `FromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/include.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | super::imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/struct_known_layout.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(imp::KnownLayout)] [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/struct_known_layout.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(imp::KnownLayout)] [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/struct_known_layout.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(imp::KnownLayout)] [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/struct_known_layout.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(imp::KnownLayout)] [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/struct_known_layout.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(imp::KnownLayout)] [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zerocopy-derive` (test "struct_known_layout") due to 10 previous errors [INFO] [stderr] Migrating tests/struct_no_cell.rs from 2021 edition to 2024 [INFO] [stdout] error[E0432]: unresolved import `testutil` [INFO] [stdout] --> tests/trybuild.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use testutil::set_rustflags_w_warnings; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `testutil` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `testutil` [INFO] [stdout] --> tests/trybuild.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | let version = testutil::ToolchainVersion::extract_from_pwd().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `testutil` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zerocopy-derive` (test "trybuild") due to 2 previous errors [INFO] [stderr] Migrating tests/union_no_cell.rs from 2021 edition to 2024 [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/include.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | ::zerocopy::*, [INFO] [stdout] | ^^^^^^^^ could not find `zerocopy` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/include.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | super::imp::KnownLayout, [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/include.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | super::imp::Immutable, [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromBytes` in `imp` [INFO] [stdout] --> tests/include.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | super::imp::FromBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `FromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/include.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | super::imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/struct_no_cell.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(imp::Immutable)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/struct_no_cell.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(imp::Immutable)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/struct_no_cell.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(imp::Immutable)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/struct_no_cell.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(imp::Immutable)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/struct_no_cell.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(imp::Immutable)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zerocopy-derive` (test "struct_no_cell") due to 13 previous errors [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/struct_no_cell.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(imp::Immutable)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/struct_no_cell.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(imp::Immutable)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/struct_no_cell.rs:84:15 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(imp::Immutable)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] Migrating tests/enum_from_zeros.rs from 2021 edition to 2024 [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/include.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | ::zerocopy::*, [INFO] [stdout] | ^^^^^^^^ could not find `zerocopy` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/include.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | super::imp::KnownLayout, [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/include.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | super::imp::Immutable, [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromBytes` in `imp` [INFO] [stdout] --> tests/include.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | super::imp::FromBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `FromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/include.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | super::imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/union_no_cell.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Copy, imp::Immutable)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/union_no_cell.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(imp::Immutable)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/union_no_cell.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(imp::Immutable)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/union_no_cell.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(imp::Immutable)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/union_no_cell.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(imp::Immutable)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zerocopy-derive` (test "union_no_cell") due to 10 previous errors [INFO] [stderr] Migrating tests/enum_try_from_bytes.rs from 2021 edition to 2024 [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/include.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | ::zerocopy::*, [INFO] [stdout] | ^^^^^^^^ could not find `zerocopy` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/include.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | super::imp::KnownLayout, [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/include.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | super::imp::Immutable, [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromBytes` in `imp` [INFO] [stdout] --> tests/include.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | super::imp::FromBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `FromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/include.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | super::imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromZeros` in `imp` [INFO] [stdout] --> tests/enum_from_zeros.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(imp::FromZeros)] [INFO] [stdout] | ^^^^^^^^^ could not find `FromZeros` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromZeros` in `imp` [INFO] [stdout] --> tests/enum_from_zeros.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(imp::FromZeros)] [INFO] [stdout] | ^^^^^^^^^ could not find `FromZeros` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromZeros` in `imp` [INFO] [stdout] --> tests/enum_from_zeros.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(imp::FromZeros)] [INFO] [stdout] | ^^^^^^^^^ could not find `FromZeros` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromZeros` in `imp` [INFO] [stdout] --> tests/enum_from_zeros.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(imp::FromZeros)] [INFO] [stdout] | ^^^^^^^^^ could not find `FromZeros` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromZeros` in `imp` [INFO] [stdout] --> tests/enum_from_zeros.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(imp::FromZeros)] [INFO] [stdout] | ^^^^^^^^^ could not find `FromZeros` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromZeros` in `imp` [INFO] [stdout] --> tests/enum_from_zeros.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(imp::FromZeros)] [INFO] [stdout] | ^^^^^^^^^ could not find `FromZeros` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromZeros` in `imp` [INFO] [stdout] --> tests/enum_from_zeros.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(imp::FromZeros)] [INFO] [stdout] | ^^^^^^^^^ could not find `FromZeros` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromZeros` in `imp` [INFO] [stdout] --> tests/enum_from_zeros.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(imp::FromZeros)] [INFO] [stdout] | ^^^^^^^^^ could not find `FromZeros` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromZeros` in `imp` [INFO] [stdout] --> tests/enum_from_zeros.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(imp::FromZeros)] [INFO] [stdout] | ^^^^^^^^^ could not find `FromZeros` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zerocopy-derive` (test "enum_from_zeros") due to 14 previous errors [INFO] [stderr] Migrating tests/deprecated.rs from 2021 edition to 2024 [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/include.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | ::zerocopy::*, [INFO] [stdout] | ^^^^^^^^ could not find `zerocopy` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TryFromBytes` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:360:15 [INFO] [stdout] | [INFO] [stdout] 360 | #[derive(imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `TryFromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TryFromBytes` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:353:15 [INFO] [stdout] | [INFO] [stdout] 353 | #[derive(imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `TryFromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TryFromBytes` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:350:28 [INFO] [stdout] | [INFO] [stdout] 350 | #[derive(Clone, Copy, imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `TryFromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:343:15 [INFO] [stdout] | [INFO] [stdout] 343 | #[derive(imp::KnownLayout, imp::TryFromBytes, imp::Immutable)] [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TryFromBytes` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:343:33 [INFO] [stdout] | [INFO] [stdout] 343 | #[derive(imp::KnownLayout, imp::TryFromBytes, imp::Immutable)] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `TryFromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:343:52 [INFO] [stdout] | [INFO] [stdout] 343 | #[derive(imp::KnownLayout, imp::TryFromBytes, imp::Immutable)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:333:15 [INFO] [stdout] | [INFO] [stdout] 333 | #[derive(imp::KnownLayout, imp::TryFromBytes, imp::Immutable)] [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TryFromBytes` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:333:33 [INFO] [stdout] | [INFO] [stdout] 333 | #[derive(imp::KnownLayout, imp::TryFromBytes, imp::Immutable)] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `TryFromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:333:52 [INFO] [stdout] | [INFO] [stdout] 333 | #[derive(imp::KnownLayout, imp::TryFromBytes, imp::Immutable)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:323:15 [INFO] [stdout] | [INFO] [stdout] 323 | #[derive(imp::KnownLayout, imp::TryFromBytes, imp::Immutable)] [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TryFromBytes` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:323:33 [INFO] [stdout] | [INFO] [stdout] 323 | #[derive(imp::KnownLayout, imp::TryFromBytes, imp::Immutable)] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `TryFromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:323:52 [INFO] [stdout] | [INFO] [stdout] 323 | #[derive(imp::KnownLayout, imp::TryFromBytes, imp::Immutable)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TryFromBytes` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:314:15 [INFO] [stdout] | [INFO] [stdout] 314 | #[derive(imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `TryFromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `zerocopy` in the list of imported crates [INFO] [stdout] --> tests/enum_try_from_bytes.rs:303:31 [INFO] [stdout] | [INFO] [stdout] 303 | let bytes: [u8; SIZE] = ::zerocopy::transmute!(wrap(HasFieldsPrimitive::B { [INFO] [stdout] | ^^^^^^^^ could not find `zerocopy` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `zerocopy` in the list of imported crates [INFO] [stdout] --> tests/enum_try_from_bytes.rs:297:31 [INFO] [stdout] | [INFO] [stdout] 297 | let bytes: [u8; SIZE] = ::zerocopy::transmute!(wrap(HasFieldsPrimitive::A(10))); [INFO] [stdout] | ^^^^^^^^ could not find `zerocopy` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:288:19 [INFO] [stdout] | [INFO] [stdout] 288 | #[derive(imp::IntoBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:275:37 [INFO] [stdout] | [INFO] [stdout] 275 | #[derive(Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:275:55 [INFO] [stdout] | [INFO] [stdout] 275 | #[derive(Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TryFromBytes` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:275:71 [INFO] [stdout] | [INFO] [stdout] 275 | #[derive(Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `TryFromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `zerocopy` in the list of imported crates [INFO] [stdout] --> tests/enum_try_from_bytes.rs:266:31 [INFO] [stdout] | [INFO] [stdout] 266 | let bytes: [u8; SIZE] = ::zerocopy::transmute!(HasFieldsPrimitive::B { [INFO] [stdout] | ^^^^^^^^ could not find `zerocopy` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `zerocopy` in the list of imported crates [INFO] [stdout] --> tests/enum_try_from_bytes.rs:260:31 [INFO] [stdout] | [INFO] [stdout] 260 | let bytes: [u8; SIZE] = ::zerocopy::transmute!(HasFieldsPrimitive::A(10)); [INFO] [stdout] | ^^^^^^^^ could not find `zerocopy` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:248:32 [INFO] [stdout] | [INFO] [stdout] 248 | Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes, imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:248:50 [INFO] [stdout] | [INFO] [stdout] 248 | Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes, imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TryFromBytes` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:248:66 [INFO] [stdout] | [INFO] [stdout] 248 | Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes, imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^^^^ could not find `TryFromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:248:85 [INFO] [stdout] | [INFO] [stdout] 248 | Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes, imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `zerocopy` in the list of imported crates [INFO] [stdout] --> tests/enum_try_from_bytes.rs:238:31 [INFO] [stdout] | [INFO] [stdout] 238 | let bytes: [u8; SIZE] = ::zerocopy::transmute!(wrap(HasFields::B { [INFO] [stdout] | ^^^^^^^^ could not find `zerocopy` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `zerocopy` in the list of imported crates [INFO] [stdout] --> tests/enum_try_from_bytes.rs:232:31 [INFO] [stdout] | [INFO] [stdout] 232 | let bytes: [u8; SIZE] = ::zerocopy::transmute!(wrap(HasFields::A(10))); [INFO] [stdout] | ^^^^^^^^ could not find `zerocopy` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:223:19 [INFO] [stdout] | [INFO] [stdout] 223 | #[derive(imp::IntoBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:210:37 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:210:55 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TryFromBytes` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:210:71 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `TryFromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `zerocopy` in the list of imported crates [INFO] [stdout] --> tests/enum_try_from_bytes.rs:203:11 [INFO] [stdout] | [INFO] [stdout] 203 | ::zerocopy::transmute!(HasFields::B { foo: ::core::num::NonZeroU32::new(123456).unwrap() }); [INFO] [stdout] | ^^^^^^^^ could not find `zerocopy` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `zerocopy` in the list of imported crates [INFO] [stdout] --> tests/enum_try_from_bytes.rs:196:31 [INFO] [stdout] | [INFO] [stdout] 196 | let bytes: [u8; SIZE] = ::zerocopy::transmute!(HasFields::A(10)); [INFO] [stdout] | ^^^^^^^^ could not find `zerocopy` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:184:32 [INFO] [stdout] | [INFO] [stdout] 184 | Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes, imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:184:50 [INFO] [stdout] | [INFO] [stdout] 184 | Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes, imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TryFromBytes` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:184:66 [INFO] [stdout] | [INFO] [stdout] 184 | Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes, imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^^^^ could not find `TryFromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:184:85 [INFO] [stdout] | [INFO] [stdout] 184 | Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes, imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `zerocopy` in the list of imported crates [INFO] [stdout] --> tests/enum_try_from_bytes.rs:171:30 [INFO] [stdout] | [INFO] [stdout] 171 | let disc: [u8; SIZE] = ::zerocopy::transmute!(WeirdDiscriminants::C); [INFO] [stdout] | ^^^^^^^^ could not find `zerocopy` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `zerocopy` in the list of imported crates [INFO] [stdout] --> tests/enum_try_from_bytes.rs:166:30 [INFO] [stdout] | [INFO] [stdout] 166 | let disc: [u8; SIZE] = ::zerocopy::transmute!(WeirdDiscriminants::B); [INFO] [stdout] | ^^^^^^^^ could not find `zerocopy` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `zerocopy` in the list of imported crates [INFO] [stdout] --> tests/enum_try_from_bytes.rs:161:30 [INFO] [stdout] | [INFO] [stdout] 161 | let disc: [u8; SIZE] = ::zerocopy::transmute!(WeirdDiscriminants::A); [INFO] [stdout] | ^^^^^^^^ could not find `zerocopy` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:149:32 [INFO] [stdout] | [INFO] [stdout] 149 | Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes, imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:149:50 [INFO] [stdout] | [INFO] [stdout] 149 | Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes, imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TryFromBytes` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:149:66 [INFO] [stdout] | [INFO] [stdout] 149 | Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes, imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^^^^ could not find `TryFromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:149:85 [INFO] [stdout] | [INFO] [stdout] 149 | Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes, imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `zerocopy` in the list of imported crates [INFO] [stdout] --> tests/enum_try_from_bytes.rs:137:30 [INFO] [stdout] | [INFO] [stdout] 137 | let disc: [u8; SIZE] = ::zerocopy::transmute!(FieldlessButNotUnitOnly::C {}); [INFO] [stdout] | ^^^^^^^^ could not find `zerocopy` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `zerocopy` in the list of imported crates [INFO] [stdout] --> tests/enum_try_from_bytes.rs:132:30 [INFO] [stdout] | [INFO] [stdout] 132 | let disc: [u8; SIZE] = ::zerocopy::transmute!(FieldlessButNotUnitOnly::B()); [INFO] [stdout] | ^^^^^^^^ could not find `zerocopy` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `zerocopy` in the list of imported crates [INFO] [stdout] --> tests/enum_try_from_bytes.rs:127:30 [INFO] [stdout] | [INFO] [stdout] 127 | let disc: [u8; SIZE] = ::zerocopy::transmute!(FieldlessButNotUnitOnly::A); [INFO] [stdout] | ^^^^^^^^ could not find `zerocopy` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 115 | Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes, imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:115:50 [INFO] [stdout] | [INFO] [stdout] 115 | Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes, imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TryFromBytes` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:115:66 [INFO] [stdout] | [INFO] [stdout] 115 | Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes, imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^^^^ could not find `TryFromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:115:85 [INFO] [stdout] | [INFO] [stdout] 115 | Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes, imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:80:37 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:80:55 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TryFromBytes` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:80:71 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `TryFromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:48:37 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:48:55 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TryFromBytes` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:48:71 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `TryFromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:31:55 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TryFromBytes` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:31:71 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Eq, PartialEq, Debug, imp::KnownLayout, imp::Immutable, imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `TryFromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Eq, PartialEq, Debug, imp::Immutable, imp::KnownLayout, imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:15:53 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Eq, PartialEq, Debug, imp::Immutable, imp::KnownLayout, imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TryFromBytes` in `imp` [INFO] [stdout] --> tests/enum_try_from_bytes.rs:15:71 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Eq, PartialEq, Debug, imp::Immutable, imp::KnownLayout, imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `TryFromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/include.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | super::imp::KnownLayout, [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/include.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | super::imp::Immutable, [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromBytes` in `imp` [INFO] [stdout] --> tests/include.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | super::imp::FromBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `FromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/include.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | super::imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zerocopy-derive` (test "enum_try_from_bytes") due to 68 previous errors [INFO] [stderr] Migrating tests/union_try_from_bytes.rs from 2021 edition to 2024 [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/include.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | ::zerocopy::*, [INFO] [stdout] | ^^^^^^^^ could not find `zerocopy` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Unaligned` in `imp` [INFO] [stdout] --> tests/deprecated.rs:48:123 [INFO] [stdout] | [INFO] [stdout] 48 | test!(Union => #[repr(C)] union Union{ a: (), } => TryFromBytes, FromZeros, FromBytes, KnownLayout, Immutable, IntoBytes, Unaligned); [INFO] [stdout] | ^^^^^^^^^ could not find `Unaligned` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/deprecated.rs:48:112 [INFO] [stdout] | [INFO] [stdout] 48 | test!(Union => #[repr(C)] union Union{ a: (), } => TryFromBytes, FromZeros, FromBytes, KnownLayout, Immutable, IntoBytes, Unaligned); [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/deprecated.rs:48:101 [INFO] [stdout] | [INFO] [stdout] 48 | test!(Union => #[repr(C)] union Union{ a: (), } => TryFromBytes, FromZeros, FromBytes, KnownLayout, Immutable, IntoBytes, Unaligned); [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/deprecated.rs:48:88 [INFO] [stdout] | [INFO] [stdout] 48 | test!(Union => #[repr(C)] union Union{ a: (), } => TryFromBytes, FromZeros, FromBytes, KnownLayout, Immutable, IntoBytes, Unaligned); [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromBytes` in `imp` [INFO] [stdout] --> tests/deprecated.rs:48:77 [INFO] [stdout] | [INFO] [stdout] 48 | test!(Union => #[repr(C)] union Union{ a: (), } => TryFromBytes, FromZeros, FromBytes, KnownLayout, Immutable, IntoBytes, Unaligned); [INFO] [stdout] | ^^^^^^^^^ could not find `FromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromZeros` in `imp` [INFO] [stdout] --> tests/deprecated.rs:48:66 [INFO] [stdout] | [INFO] [stdout] 48 | test!(Union => #[repr(C)] union Union{ a: (), } => TryFromBytes, FromZeros, FromBytes, KnownLayout, Immutable, IntoBytes, Unaligned); [INFO] [stdout] | ^^^^^^^^^ could not find `FromZeros` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TryFromBytes` in `imp` [INFO] [stdout] --> tests/deprecated.rs:48:52 [INFO] [stdout] | [INFO] [stdout] 48 | test!(Union => #[repr(C)] union Union{ a: (), } => TryFromBytes, FromZeros, FromBytes, KnownLayout, Immutable, IntoBytes, Unaligned); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `TryFromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Unaligned` in `imp` [INFO] [stdout] --> tests/deprecated.rs:46:117 [INFO] [stdout] | [INFO] [stdout] 46 | test!(Struct => #[repr(C)] struct Struct; => TryFromBytes, FromZeros, FromBytes, KnownLayout, Immutable, IntoBytes, Unaligned); [INFO] [stdout] | ^^^^^^^^^ could not find `Unaligned` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/deprecated.rs:46:106 [INFO] [stdout] | [INFO] [stdout] 46 | test!(Struct => #[repr(C)] struct Struct; => TryFromBytes, FromZeros, FromBytes, KnownLayout, Immutable, IntoBytes, Unaligned); [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/deprecated.rs:46:95 [INFO] [stdout] | [INFO] [stdout] 46 | test!(Struct => #[repr(C)] struct Struct; => TryFromBytes, FromZeros, FromBytes, KnownLayout, Immutable, IntoBytes, Unaligned); [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/deprecated.rs:46:82 [INFO] [stdout] | [INFO] [stdout] 46 | test!(Struct => #[repr(C)] struct Struct; => TryFromBytes, FromZeros, FromBytes, KnownLayout, Immutable, IntoBytes, Unaligned); [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromBytes` in `imp` [INFO] [stdout] --> tests/deprecated.rs:46:71 [INFO] [stdout] | [INFO] [stdout] 46 | test!(Struct => #[repr(C)] struct Struct; => TryFromBytes, FromZeros, FromBytes, KnownLayout, Immutable, IntoBytes, Unaligned); [INFO] [stdout] | ^^^^^^^^^ could not find `FromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromZeros` in `imp` [INFO] [stdout] --> tests/deprecated.rs:46:60 [INFO] [stdout] | [INFO] [stdout] 46 | test!(Struct => #[repr(C)] struct Struct; => TryFromBytes, FromZeros, FromBytes, KnownLayout, Immutable, IntoBytes, Unaligned); [INFO] [stdout] | ^^^^^^^^^ could not find `FromZeros` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TryFromBytes` in `imp` [INFO] [stdout] --> tests/deprecated.rs:46:46 [INFO] [stdout] | [INFO] [stdout] 46 | test!(Struct => #[repr(C)] struct Struct; => TryFromBytes, FromZeros, FromBytes, KnownLayout, Immutable, IntoBytes, Unaligned); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `TryFromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Unaligned` in `imp` [INFO] [stdout] --> tests/deprecated.rs:44:107 [INFO] [stdout] | [INFO] [stdout] 44 | test!(Enum => #[repr(u8)] enum Enum { A, } => TryFromBytes, FromZeros, KnownLayout, Immutable, IntoBytes, Unaligned); [INFO] [stdout] | ^^^^^^^^^ could not find `Unaligned` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/deprecated.rs:44:96 [INFO] [stdout] | [INFO] [stdout] 44 | test!(Enum => #[repr(u8)] enum Enum { A, } => TryFromBytes, FromZeros, KnownLayout, Immutable, IntoBytes, Unaligned); [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/deprecated.rs:44:85 [INFO] [stdout] | [INFO] [stdout] 44 | test!(Enum => #[repr(u8)] enum Enum { A, } => TryFromBytes, FromZeros, KnownLayout, Immutable, IntoBytes, Unaligned); [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/deprecated.rs:44:72 [INFO] [stdout] | [INFO] [stdout] 44 | test!(Enum => #[repr(u8)] enum Enum { A, } => TryFromBytes, FromZeros, KnownLayout, Immutable, IntoBytes, Unaligned); [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromZeros` in `imp` [INFO] [stdout] --> tests/deprecated.rs:44:61 [INFO] [stdout] | [INFO] [stdout] 44 | test!(Enum => #[repr(u8)] enum Enum { A, } => TryFromBytes, FromZeros, KnownLayout, Immutable, IntoBytes, Unaligned); [INFO] [stdout] | ^^^^^^^^^ could not find `FromZeros` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TryFromBytes` in `imp` [INFO] [stdout] --> tests/deprecated.rs:44:47 [INFO] [stdout] | [INFO] [stdout] 44 | test!(Enum => #[repr(u8)] enum Enum { A, } => TryFromBytes, FromZeros, KnownLayout, Immutable, IntoBytes, Unaligned); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `TryFromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/include.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | super::imp::KnownLayout, [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/include.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | super::imp::Immutable, [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromBytes` in `imp` [INFO] [stdout] --> tests/include.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | super::imp::FromBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `FromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/include.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | super::imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zerocopy-derive` (test "deprecated") due to 25 previous errors [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/include.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | ::zerocopy::*, [INFO] [stdout] | ^^^^^^^^ could not find `zerocopy` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TryFromBytes` in `imp` [INFO] [stdout] --> tests/union_try_from_bytes.rs:178:15 [INFO] [stdout] | [INFO] [stdout] 178 | #[derive(imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `TryFromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TryFromBytes` in `imp` [INFO] [stdout] --> tests/union_try_from_bytes.rs:175:28 [INFO] [stdout] | [INFO] [stdout] 175 | #[derive(Clone, Copy, imp::TryFromBytes, imp::Immutable)] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `TryFromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/union_try_from_bytes.rs:175:47 [INFO] [stdout] | [INFO] [stdout] 175 | #[derive(Clone, Copy, imp::TryFromBytes, imp::Immutable)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/union_try_from_bytes.rs:161:15 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(imp::Immutable, imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TryFromBytes` in `imp` [INFO] [stdout] --> tests/union_try_from_bytes.rs:161:31 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(imp::Immutable, imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `TryFromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/union_try_from_bytes.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(imp::Immutable, imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TryFromBytes` in `imp` [INFO] [stdout] --> tests/union_try_from_bytes.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(imp::Immutable, imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `TryFromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromBytes` in `imp` [INFO] [stdout] --> tests/union_try_from_bytes.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(imp::FromBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `FromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/union_try_from_bytes.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(imp::Immutable, imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TryFromBytes` in `imp` [INFO] [stdout] --> tests/union_try_from_bytes.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(imp::Immutable, imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `TryFromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/union_try_from_bytes.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(imp::Immutable, imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TryFromBytes` in `imp` [INFO] [stdout] --> tests/union_try_from_bytes.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(imp::Immutable, imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `TryFromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/union_try_from_bytes.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(imp::Immutable, imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TryFromBytes` in `imp` [INFO] [stdout] --> tests/union_try_from_bytes.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(imp::Immutable, imp::TryFromBytes)] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `TryFromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/include.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | super::imp::KnownLayout, [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zerocopy-derive` (test "union_try_from_bytes") due to 19 previous errors [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/include.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | super::imp::Immutable, [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromBytes` in `imp` [INFO] [stdout] --> tests/include.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | super::imp::FromBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `FromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/include.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | super::imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] Fixed src/repr.rs (4 fixes) [INFO] [stderr] Migrating tests/struct_to_bytes.rs from 2021 edition to 2024 [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/include.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | ::zerocopy::*, [INFO] [stdout] | ^^^^^^^^ could not find `zerocopy` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KnownLayout` in `imp` [INFO] [stdout] --> tests/include.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | super::imp::KnownLayout, [INFO] [stdout] | ^^^^^^^^^^^ could not find `KnownLayout` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Immutable` in `imp` [INFO] [stdout] --> tests/include.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | super::imp::Immutable, [INFO] [stdout] | ^^^^^^^^^ could not find `Immutable` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FromBytes` in `imp` [INFO] [stdout] --> tests/include.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | super::imp::FromBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `FromBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/include.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | super::imp::IntoBytes, [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/struct_to_bytes.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(imp::IntoBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/struct_to_bytes.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(imp::IntoBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/struct_to_bytes.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(imp::IntoBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/struct_to_bytes.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(imp::IntoBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/struct_to_bytes.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(imp::IntoBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/struct_to_bytes.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(imp::IntoBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/struct_to_bytes.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(imp::IntoBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/struct_to_bytes.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(imp::IntoBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/struct_to_bytes.rs:105:15 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive(imp::IntoBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/struct_to_bytes.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(imp::IntoBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/struct_to_bytes.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 130 | #[derive(imp::IntoBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/struct_to_bytes.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(imp::IntoBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/struct_to_bytes.rs:155:15 [INFO] [stdout] | [INFO] [stdout] 155 | #[derive(imp::IntoBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/struct_to_bytes.rs:165:15 [INFO] [stdout] | [INFO] [stdout] 165 | #[derive(imp::IntoBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/struct_to_bytes.rs:180:15 [INFO] [stdout] | [INFO] [stdout] 180 | #[derive(imp::IntoBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoBytes` in `imp` [INFO] [stdout] --> tests/struct_to_bytes.rs:184:15 [INFO] [stdout] | [INFO] [stdout] 184 | #[derive(imp::IntoBytes)] [INFO] [stdout] | ^^^^^^^^^ could not find `IntoBytes` in `imp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zerocopy-derive` (test "struct_to_bytes") due to 21 previous errors [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "c8ec25909ac3585dab8b4ddae3852052749c436c89bae52ab3ba5602c0339e64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8ec25909ac3585dab8b4ddae3852052749c436c89bae52ab3ba5602c0339e64", kill_on_drop: false }` [INFO] [stdout] c8ec25909ac3585dab8b4ddae3852052749c436c89bae52ab3ba5602c0339e64