[INFO] fetching crate slice-dst 1.5.1... [INFO] checking slice-dst-1.5.1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate slice-dst 1.5.1 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate slice-dst 1.5.1 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate slice-dst 1.5.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate slice-dst 1.5.1 [INFO] tweaked toml for crates.io crate slice-dst 1.5.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded erasable v1.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8573ec703dc30c6509bff18381a9cbaeec8c72171ad1337fdc752a0dd9820e0a [INFO] running `Command { std: "docker" "start" "-a" "8573ec703dc30c6509bff18381a9cbaeec8c72171ad1337fdc752a0dd9820e0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8573ec703dc30c6509bff18381a9cbaeec8c72171ad1337fdc752a0dd9820e0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8573ec703dc30c6509bff18381a9cbaeec8c72171ad1337fdc752a0dd9820e0a", kill_on_drop: false }` [INFO] [stdout] 8573ec703dc30c6509bff18381a9cbaeec8c72171ad1337fdc752a0dd9820e0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f9baef536bf8d8737edec1c455703300b233168fcce529bfcac64b3c4f43701 [INFO] running `Command { std: "docker" "start" "-a" "4f9baef536bf8d8737edec1c455703300b233168fcce529bfcac64b3c4f43701", kill_on_drop: false }` [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Compiling slice-dst v1.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `has_ptr_slice_from_raw_parts` [INFO] [stdout] --> src/lib.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(has_ptr_slice_from_raw_parts)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_ptr_slice_from_raw_parts)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_ptr_slice_from_raw_parts)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_ptr_slice_from_raw_parts` [INFO] [stdout] --> src/lib.rs:143:11 [INFO] [stdout] | [INFO] [stdout] 143 | #[cfg(not(has_ptr_slice_from_raw_parts))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_ptr_slice_from_raw_parts)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_ptr_slice_from_raw_parts)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/layout_polyfill.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | alloc::{Layout, LayoutErr}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/layout_polyfill.rs:7:85 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) fn extend_layout(this: &Layout, next: Layout) -> Result<(Layout, usize), LayoutErr> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/layout_polyfill.rs:24:59 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) fn layout_array(n: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/layout_polyfill.rs:29:77 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn repr_c_3(fields: [Layout; 3]) -> Result<(Layout, [usize; 3]), LayoutErr> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/layout_polyfill.rs:48:70 [INFO] [stdout] | [INFO] [stdout] 48 | fn repeat_layout(this: &Layout, n: usize) -> Result<(Layout, usize), LayoutErr> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/layout_polyfill.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | fn layout_err() -> LayoutErr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_ptr_slice_from_raw_parts` [INFO] [stdout] --> src/lib.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(has_ptr_slice_from_raw_parts)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_ptr_slice_from_raw_parts)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_ptr_slice_from_raw_parts)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_ptr_slice_from_raw_parts` [INFO] [stdout] --> src/lib.rs:143:11 [INFO] [stdout] | [INFO] [stdout] 143 | #[cfg(not(has_ptr_slice_from_raw_parts))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_ptr_slice_from_raw_parts)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_ptr_slice_from_raw_parts)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/layout_polyfill.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | alloc::{Layout, LayoutErr}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/layout_polyfill.rs:7:85 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) fn extend_layout(this: &Layout, next: Layout) -> Result<(Layout, usize), LayoutErr> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/layout_polyfill.rs:24:59 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) fn layout_array(n: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/layout_polyfill.rs:29:77 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn repr_c_3(fields: [Layout; 3]) -> Result<(Layout, [usize; 3]), LayoutErr> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/layout_polyfill.rs:48:70 [INFO] [stdout] | [INFO] [stdout] 48 | fn repeat_layout(this: &Layout, n: usize) -> Result<(Layout, usize), LayoutErr> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/layout_polyfill.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | fn layout_err() -> LayoutErr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | Err(void) => match void {}, [INFO] [stdout] | ^^^^^^^^^ matches no values because ` as AllocSliceDst>::new_slice_dst::Void` is uninhabited [INFO] [stdout] ... [INFO] [stdout] 318 | impl_alloc_by_try_alloc!(Box); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_alloc_by_try_alloc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | Err(void) => match void {}, [INFO] [stdout] | ^^^^^^^^^ matches no values because ` as AllocSliceDst>::new_slice_dst::Void` is uninhabited [INFO] [stdout] ... [INFO] [stdout] 353 | impl_alloc_by_try_alloc!(Rc); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: this warning originates in the macro `impl_alloc_by_try_alloc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | Err(void) => match void {}, [INFO] [stdout] | ^^^^^^^^^ matches no values because ` as AllocSliceDst>::new_slice_dst::Void` is uninhabited [INFO] [stdout] ... [INFO] [stdout] 364 | impl_alloc_by_try_alloc!(Arc); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: this warning originates in the macro `impl_alloc_by_try_alloc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | Err(void) => match void {}, [INFO] [stdout] | ^^^^^^^^^ matches no values because ` as AllocSliceDst>::new_slice_dst::Void` is uninhabited [INFO] [stdout] ... [INFO] [stdout] 318 | impl_alloc_by_try_alloc!(Box); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_alloc_by_try_alloc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | Err(void) => match void {}, [INFO] [stdout] | ^^^^^^^^^ matches no values because ` as AllocSliceDst>::new_slice_dst::Void` is uninhabited [INFO] [stdout] ... [INFO] [stdout] 353 | impl_alloc_by_try_alloc!(Rc); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: this warning originates in the macro `impl_alloc_by_try_alloc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | Err(void) => match void {}, [INFO] [stdout] | ^^^^^^^^^ matches no values because ` as AllocSliceDst>::new_slice_dst::Void` is uninhabited [INFO] [stdout] ... [INFO] [stdout] 364 | impl_alloc_by_try_alloc!(Arc); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: this warning originates in the macro `impl_alloc_by_try_alloc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/leak.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | struct S(u8); [INFO] [stdout] | - ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.37s [INFO] running `Command { std: "docker" "inspect" "4f9baef536bf8d8737edec1c455703300b233168fcce529bfcac64b3c4f43701", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f9baef536bf8d8737edec1c455703300b233168fcce529bfcac64b3c4f43701", kill_on_drop: false }` [INFO] [stdout] 4f9baef536bf8d8737edec1c455703300b233168fcce529bfcac64b3c4f43701