[INFO] fetching crate zerocopy-derive 0.7.28... [INFO] checking zerocopy-derive-0.7.28 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] extracting crate zerocopy-derive 0.7.28 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate zerocopy-derive 0.7.28 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate zerocopy-derive 0.7.28 [INFO] finished tweaking crates.io crate zerocopy-derive 0.7.28 [INFO] tweaked toml for crates.io crate zerocopy-derive 0.7.28 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 21 packages [INFO] [stderr] Adding trybuild v1.0.85 (latest: v1.0.91) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded basic-toml v0.1.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfd15ae3f3fcaaefb588f423e3224609346b8c5ede269b07a2b15de1c6950619 [INFO] running `Command { std: "docker" "start" "-a" "cfd15ae3f3fcaaefb588f423e3224609346b8c5ede269b07a2b15de1c6950619", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfd15ae3f3fcaaefb588f423e3224609346b8c5ede269b07a2b15de1c6950619", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfd15ae3f3fcaaefb588f423e3224609346b8c5ede269b07a2b15de1c6950619", kill_on_drop: false }` [INFO] [stdout] cfd15ae3f3fcaaefb588f423e3224609346b8c5ede269b07a2b15de1c6950619 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac204d5c8f205b3ee63a812411b9e1c12c702613cd13d780f862eb7d557600a6 [INFO] running `Command { std: "docker" "start" "-a" "ac204d5c8f205b3ee63a812411b9e1c12c702613cd13d780f862eb7d557600a6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling trybuild v1.0.85 [INFO] [stderr] Checking dissimilar v1.0.7 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking basic-toml v0.1.9 [INFO] [stderr] Checking quote v1.0.35 [INFO] [stderr] Checking syn v2.0.58 [INFO] [stderr] Checking zerocopy-derive v0.7.28 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/union_from_bytes.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | zerocopy::{FromBytes, FromZeroes}, [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `zerocopy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/util.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use zerocopy::{AsBytes, FromBytes, FromZeroes, KnownLayout}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `zerocopy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/util.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use zerocopy::{AsBytes, FromBytes, FromZeroes, KnownLayout}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `zerocopy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/enum_unaligned.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | use {static_assertions::assert_impl_all, zerocopy::Unaligned}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `zerocopy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/paths_and_modules.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use zerocopy::{AsBytes, FromBytes, FromZeroes, Unaligned}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `zerocopy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/enum_from_zeroes.rs:13:42 [INFO] [stdout] | [INFO] [stdout] 13 | use {static_assertions::assert_impl_all, zerocopy::FromZeroes}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `zerocopy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/struct_unaligned.rs:15:42 [INFO] [stdout] | [INFO] [stdout] 15 | use {static_assertions::assert_impl_all, zerocopy::Unaligned}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `zerocopy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/paths_and_modules.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use zerocopy::{AsBytes, FromBytes, FromZeroes, Unaligned}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `zerocopy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/util.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use zerocopy::{AsBytes, FromBytes, FromZeroes, KnownLayout}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `zerocopy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/priv_in_pub.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use zerocopy::{AsBytes, FromBytes, FromZeroes, KnownLayout, Unaligned}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `zerocopy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/enum_known_layout.rs:9:69 [INFO] [stdout] | [INFO] [stdout] 9 | use {core::marker::PhantomData, static_assertions::assert_impl_all, zerocopy::KnownLayout}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `zerocopy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/util.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use zerocopy::{AsBytes, FromBytes, FromZeroes, KnownLayout}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `zerocopy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/struct_known_layout.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | zerocopy::{DstLayout, KnownLayout}, [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `zerocopy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/union_as_bytes.rs:13:42 [INFO] [stdout] | [INFO] [stdout] 13 | use {static_assertions::assert_impl_all, zerocopy::AsBytes}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `zerocopy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/enum_as_bytes.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | use {static_assertions::assert_impl_all, zerocopy::AsBytes}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `zerocopy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/util.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use zerocopy::{AsBytes, FromBytes, FromZeroes, KnownLayout}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `zerocopy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/util.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use zerocopy::{AsBytes, FromBytes, FromZeroes, KnownLayout}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `zerocopy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/struct_as_bytes.rs:15:42 [INFO] [stdout] | [INFO] [stdout] 15 | use {static_assertions::assert_impl_all, zerocopy::AsBytes}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `zerocopy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zerocopy` [INFO] [stdout] --> tests/hygiene.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate zerocopy as _zerocopy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zerocopy-derive` (test "priv_in_pub") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `zerocopy-derive` (test "paths_and_modules") due to 3 previous errors [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/util.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use zerocopy::{AsBytes, FromBytes, FromZeroes, KnownLayout}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `zerocopy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/union_from_zeroes.rs:16:42 [INFO] [stdout] | [INFO] [stdout] 16 | use {static_assertions::assert_impl_all, zerocopy::FromZeroes}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `zerocopy` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zerocopy-derive` (test "enum_as_bytes") due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zerocopy-derive` (test "enum_unaligned") due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zerocopy-derive` (test "union_as_bytes") due to 2 previous errors [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/util.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use zerocopy::{AsBytes, FromBytes, FromZeroes, KnownLayout}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `zerocopy` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 9 | use _zerocopy::{AsBytes, FromBytes, FromZeroes, KnownLayout}; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `testutil` [INFO] [stdout] --> tests/trybuild.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | let version = testutil::ToolchainVersion::extract_from_pwd().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `testutil` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zerocopy-derive` (test "enum_known_layout") due to 3 previous errors [INFO] [stderr] error: could not compile `zerocopy-derive` (test "union_from_bytes") due to 2 previous errors [INFO] [stderr] error: could not compile `zerocopy-derive` (test "util") due to 2 previous errors [INFO] [stderr] error: could not compile `zerocopy-derive` (test "struct_unaligned") due to 3 previous errors [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zerocopy-derive` (test "enum_from_zeroes") due to 3 previous errors [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zerocopy-derive` (test "struct_known_layout") due to 3 previous errors [INFO] [stderr] error: could not compile `zerocopy-derive` (test "struct_as_bytes") due to 3 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zerocopy-derive` (test "union_from_zeroes") due to 3 previous errors [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, 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 "trybuild") due to 2 previous errors [INFO] [stderr] error: could not compile `zerocopy-derive` (test "hygiene") due to 3 previous errors [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/util.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use zerocopy::{AsBytes, FromBytes, FromZeroes, KnownLayout}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `zerocopy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> tests/enum_from_bytes.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | zerocopy::{FromBytes, FromZeroes}, [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `zerocopy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zerocopy-derive` (test "enum_from_bytes") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "ac204d5c8f205b3ee63a812411b9e1c12c702613cd13d780f862eb7d557600a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac204d5c8f205b3ee63a812411b9e1c12c702613cd13d780f862eb7d557600a6", kill_on_drop: false }` [INFO] [stdout] ac204d5c8f205b3ee63a812411b9e1c12c702613cd13d780f862eb7d557600a6