[INFO] fetching crate zerocopy 0.8.27... [INFO] checking zerocopy-0.8.27 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate zerocopy 0.8.27 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate zerocopy 0.8.27 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate zerocopy 0.8.27 [INFO] tweaked toml for crates.io crate zerocopy 0.8.27 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate zerocopy 0.8.27 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate zerocopy 0.8.27 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c082fc7efdc22315319f87a4ce2a1679f3d7e359582573dcc2880b8e4a65c5f4 [INFO] running `Command { std: "docker" "start" "-a" "c082fc7efdc22315319f87a4ce2a1679f3d7e359582573dcc2880b8e4a65c5f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c082fc7efdc22315319f87a4ce2a1679f3d7e359582573dcc2880b8e4a65c5f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c082fc7efdc22315319f87a4ce2a1679f3d7e359582573dcc2880b8e4a65c5f4", kill_on_drop: false }` [INFO] [stdout] c082fc7efdc22315319f87a4ce2a1679f3d7e359582573dcc2880b8e4a65c5f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4b977db6cb3ff125f3bff31ddee0ad6161652ceaa1178a0b0cedad1e098a191 [INFO] running `Command { std: "docker" "start" "-a" "e4b977db6cb3ff125f3bff31ddee0ad6161652ceaa1178a0b0cedad1e098a191", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling trybuild v1.0.89 [INFO] [stderr] Compiling zerocopy v0.8.27 (/opt/rustwide/workdir) [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking dissimilar v1.0.10 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking elain v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/error.rs:200:43 [INFO] [stdout] | [INFO] [stdout] 200 | ConvertError::Alignment(e) => ConvertError::Alignment(Infallible::from(e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^-------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `Infallible`, which is uninhabited [INFO] [stdout] --> src/error.rs:200:67 [INFO] [stdout] | [INFO] [stdout] 200 | ConvertError::Alignment(e) => ConvertError::Alignment(Infallible::from(e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking basic-toml v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stdout] warning: use of deprecated constant `_::_WARNING`: some tests may be skipped due to missing RUSTFLAGS="--cfg __ZEROCOPY_INTERNAL_USE_ONLY_NIGHTLY_FEATURES_IN_TESTS" [INFO] [stdout] --> src/lib.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 429 | _WARNING [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:428:12 [INFO] [stdout] | [INFO] [stdout] 428 | #[warn(deprecated)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/error.rs:200:43 [INFO] [stdout] | [INFO] [stdout] 200 | ConvertError::Alignment(e) => ConvertError::Alignment(Infallible::from(e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^-------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `Infallible`, which is uninhabited [INFO] [stdout] --> src/error.rs:200:67 [INFO] [stdout] | [INFO] [stdout] 200 | ConvertError::Alignment(e) => ConvertError::Alignment(Infallible::from(e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/byteorder.rs:1178:80 [INFO] [stdout] | [INFO] [stdout] 1178 | fn checked_shl(self, rhs: Self) -> Option { self.checked_shl(rhs.try_into().unwrap_or(u32::MAX)) } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1194 | impl_traits!(U16, u16, unsigned); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `impl_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/byteorder.rs:1179:80 [INFO] [stdout] | [INFO] [stdout] 1179 | fn checked_shr(self, rhs: Self) -> Option { self.checked_shr(rhs.try_into().unwrap_or(u32::MAX)) } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1194 | impl_traits!(U16, u16, unsigned); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/byteorder.rs:1178:80 [INFO] [stdout] | [INFO] [stdout] 1178 | fn checked_shl(self, rhs: Self) -> Option { self.checked_shl(rhs.try_into().unwrap_or(u32::MAX)) } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1195 | impl_traits!(U32, u32, unsigned); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/byteorder.rs:1179:80 [INFO] [stdout] | [INFO] [stdout] 1179 | fn checked_shr(self, rhs: Self) -> Option { self.checked_shr(rhs.try_into().unwrap_or(u32::MAX)) } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1195 | impl_traits!(U32, u32, unsigned); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zerocopy` (lib test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e4b977db6cb3ff125f3bff31ddee0ad6161652ceaa1178a0b0cedad1e098a191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4b977db6cb3ff125f3bff31ddee0ad6161652ceaa1178a0b0cedad1e098a191", kill_on_drop: false }` [INFO] [stdout] e4b977db6cb3ff125f3bff31ddee0ad6161652ceaa1178a0b0cedad1e098a191