[INFO] fetching crate ostd-pod-macros 0.4.0... [INFO] testing ostd-pod-macros-0.4.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate ostd-pod-macros 0.4.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate ostd-pod-macros 0.4.0 [INFO] finished tweaking crates.io crate ostd-pod-macros 0.4.0 [INFO] tweaked toml for crates.io crate ostd-pod-macros 0.4.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ostd-pod-macros 0.4.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ostd-pod-macros 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3066384be69b462f52fbc9171e3594db781c004da6fe0679b871ef9d09943063 [INFO] running `Command { std: "docker" "start" "-a" "3066384be69b462f52fbc9171e3594db781c004da6fe0679b871ef9d09943063", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3066384be69b462f52fbc9171e3594db781c004da6fe0679b871ef9d09943063", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3066384be69b462f52fbc9171e3594db781c004da6fe0679b871ef9d09943063", kill_on_drop: false }` [INFO] [stdout] 3066384be69b462f52fbc9171e3594db781c004da6fe0679b871ef9d09943063 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f46dd42d7fed025995ad9b300314e16050d6685d19aefeaaae4b92f6dd7a6a40 [INFO] running `Command { std: "docker" "start" "-a" "f46dd42d7fed025995ad9b300314e16050d6685d19aefeaaae4b92f6dd7a6a40", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling ostd-pod-macros v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.61s [INFO] running `Command { std: "docker" "inspect" "f46dd42d7fed025995ad9b300314e16050d6685d19aefeaaae4b92f6dd7a6a40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f46dd42d7fed025995ad9b300314e16050d6685d19aefeaaae4b92f6dd7a6a40", kill_on_drop: false }` [INFO] [stdout] f46dd42d7fed025995ad9b300314e16050d6685d19aefeaaae4b92f6dd7a6a40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad8071bde56ce127a397b0d41afd04ce537212833db1cf047021148f720a37c2 [INFO] running `Command { std: "docker" "start" "-a" "ad8071bde56ce127a397b0d41afd04ce537212833db1cf047021148f720a37c2", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.34 [INFO] [stderr] Compiling zerocopy-derive v0.8.34 [INFO] [stderr] Compiling ostd-pod-macros v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.86s [INFO] running `Command { std: "docker" "inspect" "ad8071bde56ce127a397b0d41afd04ce537212833db1cf047021148f720a37c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad8071bde56ce127a397b0d41afd04ce537212833db1cf047021148f720a37c2", kill_on_drop: false }` [INFO] [stdout] ad8071bde56ce127a397b0d41afd04ce537212833db1cf047021148f720a37c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2fa8bef3bb1b323c493797756c60b9df6e237c449ba1caada949843ae5a1c550 [INFO] running `Command { std: "docker" "start" "-a" "2fa8bef3bb1b323c493797756c60b9df6e237c449ba1caada949843ae5a1c550", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ostd_pod_macros-badf37c3ad4099c8) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests ostd_pod_macros [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - pod_union (line 26) ... FAILED [INFO] [stdout] test src/lib.rs - pod_union (line 40) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - pod_union (line 26) stdout ---- [INFO] [stdout] error[E0433]: cannot find `ostd_pod` in the crate root [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | #[pod_union] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `ostd_pod` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pod_union` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - pod_union (line 40) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `ostd_pod` in this scope [INFO] [stdout] --> src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use ostd_pod::array_helper::{ArrayFactory, ArrayManufacture, U64Array}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `ostd_pod` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ostd_pod`, use `cargo add ostd_pod` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ostd_pod` [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use ostd_pod::{FromBytes, FromZeros, Immutable, IntoBytes, KnownLayout, Pod}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `ostd_pod` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ostd_pod`, use `cargo add ostd_pod` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `ref_from_bytes` found for type `u64` in the current scope [INFO] [stdout] --> src/lib.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | u64::ref_from_bytes(&self.0.as_bytes()[..8]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `u64` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromBytes` which provides `ref_from_bytes` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 40 + use zerocopy::FromBytes; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `try_ref_from_bytes` with a similar name [INFO] [stdout] | [INFO] [stdout] 63 | u64::try_ref_from_bytes(&self.0.as_bytes()[..8]).unwrap() [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `mut_from_bytes` found for type `u64` in the current scope [INFO] [stdout] --> src/lib.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | u64::mut_from_bytes(&mut self.0.as_mut_bytes()[..8]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `u64` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromBytes` which provides `mut_from_bytes` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 40 + use zerocopy::FromBytes; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `try_mut_from_bytes` with a similar name [INFO] [stdout] | [INFO] [stdout] 66 | u64::try_mut_from_bytes(&mut self.0.as_mut_bytes()[..8]).unwrap() [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `ref_from_bytes` found for array `[u8; 4]` in the current scope [INFO] [stdout] --> src/lib.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | <[u8; 4]>::ref_from_bytes(&self.0.as_bytes()[..4]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `[u8; 4]` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromBytes` which provides `ref_from_bytes` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 40 + use zerocopy::FromBytes; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `try_ref_from_bytes` with a similar name [INFO] [stdout] | [INFO] [stdout] 69 | <[u8; 4]>::try_ref_from_bytes(&self.0.as_bytes()[..4]).unwrap() [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `mut_from_bytes` found for array `[u8; 4]` in the current scope [INFO] [stdout] --> src/lib.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | <[u8; 4]>::mut_from_bytes(&mut self.0.as_mut_bytes()[..4]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `[u8; 4]` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromBytes` which provides `mut_from_bytes` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 40 + use zerocopy::FromBytes; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `try_mut_from_bytes` with a similar name [INFO] [stdout] | [INFO] [stdout] 72 | <[u8; 4]>::try_mut_from_bytes(&mut self.0.as_mut_bytes()[..4]).unwrap() [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_zeroed` found for struct `Data` in the current scope [INFO] [stdout] --> src/lib.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Data( src/lib.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn new_value(value: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn new_bytes(bytes: [u8; 4]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new_zeroed`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `zerocopy::FromZeros` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_zeroed` found for struct `Data` in the current scope [INFO] [stdout] --> src/lib.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Data( src/lib.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn new_value(value: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn new_bytes(bytes: [u8; 4]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new_zeroed`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `zerocopy::FromZeros` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - pod_union (line 26) [INFO] [stdout] src/lib.rs - pod_union (line 40) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.45s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.83s; merged doctests compilation took 0.38s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "2fa8bef3bb1b323c493797756c60b9df6e237c449ba1caada949843ae5a1c550", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fa8bef3bb1b323c493797756c60b9df6e237c449ba1caada949843ae5a1c550", kill_on_drop: false }` [INFO] [stdout] 2fa8bef3bb1b323c493797756c60b9df6e237c449ba1caada949843ae5a1c550