[INFO] fetching crate thin-dst 1.1.0... [INFO] checking thin-dst-1.1.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate thin-dst 1.1.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate thin-dst 1.1.0 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 thin-dst 1.1.0 [INFO] finished tweaking crates.io crate thin-dst 1.1.0 [INFO] tweaked toml for crates.io crate thin-dst 1.1.0 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] 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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07311bf9a5c4a8f6ef6f08b2ca0631fe92b9fc10fbd10dfdcf018274f75459ba [INFO] running `Command { std: "docker" "start" "-a" "07311bf9a5c4a8f6ef6f08b2ca0631fe92b9fc10fbd10dfdcf018274f75459ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07311bf9a5c4a8f6ef6f08b2ca0631fe92b9fc10fbd10dfdcf018274f75459ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07311bf9a5c4a8f6ef6f08b2ca0631fe92b9fc10fbd10dfdcf018274f75459ba", kill_on_drop: false }` [INFO] [stdout] 07311bf9a5c4a8f6ef6f08b2ca0631fe92b9fc10fbd10dfdcf018274f75459ba [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=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] d27b033a0661775e36e59d33ce48ac7702896cb443c09df16d94b6e5e9d63b8c [INFO] running `Command { std: "docker" "start" "-a" "d27b033a0661775e36e59d33ce48ac7702896cb443c09df16d94b6e5e9d63b8c", kill_on_drop: false }` [INFO] [stderr] Checking thin-dst v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `slice_from_raw_parts` [INFO] [stdout] --> src/polyfill.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(not(slice_from_raw_parts))] // https://github.com/rust-lang/rust/issues/36925 [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(slice_from_raw_parts)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(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: `slice_from_raw_parts` [INFO] [stdout] --> src/polyfill.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(slice_from_raw_parts)] // https://github.com/rust-lang/rust/issues/36925 [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(slice_from_raw_parts)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(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: unexpected `cfg` condition name: `alloc_layout_extra` [INFO] [stdout] --> src/polyfill.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(not(alloc_layout_extra))] // https://github.com/rust-lang/rust/issues/55724 [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(alloc_layout_extra)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(alloc_layout_extra)");` 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: unexpected `cfg` condition name: `alloc_layout_extra` [INFO] [stdout] --> src/polyfill.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(alloc_layout_extra)] // https://github.com/rust-lang/rust/issues/55724 [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(alloc_layout_extra)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(alloc_layout_extra)");` 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: unexpected `cfg` condition name: `slice_from_raw_parts` [INFO] [stdout] --> src/polyfill.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(not(slice_from_raw_parts))] // https://github.com/rust-lang/rust/issues/36925 [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(slice_from_raw_parts)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(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: `slice_from_raw_parts` [INFO] [stdout] --> src/polyfill.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(slice_from_raw_parts)] // https://github.com/rust-lang/rust/issues/36925 [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(slice_from_raw_parts)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(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: unexpected `cfg` condition name: `alloc_layout_extra` [INFO] [stdout] --> src/polyfill.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(not(alloc_layout_extra))] // https://github.com/rust-lang/rust/issues/55724 [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(alloc_layout_extra)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(alloc_layout_extra)");` 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: unexpected `cfg` condition name: `alloc_layout_extra` [INFO] [stdout] --> src/polyfill.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(alloc_layout_extra)] // https://github.com/rust-lang/rust/issues/55724 [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(alloc_layout_extra)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(alloc_layout_extra)");` 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/lib.rs:41:61 [INFO] [stdout] | [INFO] [stdout] 41 | alloc::{alloc, dealloc, handle_alloc_error, 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/lib.rs:41:61 [INFO] [stdout] | [INFO] [stdout] 41 | alloc::{alloc, dealloc, handle_alloc_error, 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/lib.rs:269:59 [INFO] [stdout] | [INFO] [stdout] 269 | fn layout(len: usize) -> 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/lib.rs:269:59 [INFO] [stdout] | [INFO] [stdout] 269 | fn layout(len: usize) -> 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/polyfill.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | use core::alloc::{Layout, 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/polyfill.rs:89:70 [INFO] [stdout] | [INFO] [stdout] 89 | pub 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/polyfill.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | alloc::{Layout, 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/polyfill.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | fn layout_err() -> 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/polyfill.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | use core::alloc::{Layout, 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/polyfill.rs:37:89 [INFO] [stdout] | [INFO] [stdout] 37 | 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/polyfill.rs:89:70 [INFO] [stdout] | [INFO] [stdout] 89 | pub 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/polyfill.rs:46:63 [INFO] [stdout] | [INFO] [stdout] 46 | 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/polyfill.rs:62:74 [INFO] [stdout] | [INFO] [stdout] 62 | 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/polyfill.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | alloc::{Layout, 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/polyfill.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | fn layout_err() -> 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/polyfill.rs:37:89 [INFO] [stdout] | [INFO] [stdout] 37 | 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/polyfill.rs:46:63 [INFO] [stdout] | [INFO] [stdout] 46 | 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/polyfill.rs:62:74 [INFO] [stdout] | [INFO] [stdout] 62 | fn repeat_layout(this: &Layout, n: usize) -> Result<(Layout, usize), LayoutErr> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] running `Command { std: "docker" "inspect" "d27b033a0661775e36e59d33ce48ac7702896cb443c09df16d94b6e5e9d63b8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d27b033a0661775e36e59d33ce48ac7702896cb443c09df16d94b6e5e9d63b8c", kill_on_drop: false }` [INFO] [stdout] d27b033a0661775e36e59d33ce48ac7702896cb443c09df16d94b6e5e9d63b8c