[INFO] fetching crate thin-dst 1.1.0... [INFO] testing thin-dst-1.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate thin-dst 1.1.0 into /workspace/builds/worker-5-tc1/source [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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate thin-dst 1.1.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80f0e8bf70c9eba9eb9f572f5b2dceae168071044e4096b405ffc4f2b863daa1 [INFO] running `Command { std: "docker" "start" "-a" "80f0e8bf70c9eba9eb9f572f5b2dceae168071044e4096b405ffc4f2b863daa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80f0e8bf70c9eba9eb9f572f5b2dceae168071044e4096b405ffc4f2b863daa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80f0e8bf70c9eba9eb9f572f5b2dceae168071044e4096b405ffc4f2b863daa1", kill_on_drop: false }` [INFO] [stdout] 80f0e8bf70c9eba9eb9f572f5b2dceae168071044e4096b405ffc4f2b863daa1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90f3ba63b136a4606cd523083b4bb62787f5708e8ea538f738f462ca977fe89c [INFO] running `Command { std: "docker" "start" "-a" "90f3ba63b136a4606cd523083b4bb62787f5708e8ea538f738f462ca977fe89c", kill_on_drop: false }` [INFO] [stderr] Compiling 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: `docsrs`, `feature`, and `test` and 31 more [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: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: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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "90f3ba63b136a4606cd523083b4bb62787f5708e8ea538f738f462ca977fe89c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90f3ba63b136a4606cd523083b4bb62787f5708e8ea538f738f462ca977fe89c", kill_on_drop: false }` [INFO] [stdout] 90f3ba63b136a4606cd523083b4bb62787f5708e8ea538f738f462ca977fe89c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 620ed6c91b09d72bbf9364cb9570e42110f66207141c36676597e464a9baa17f [INFO] running `Command { std: "docker" "start" "-a" "620ed6c91b09d72bbf9364cb9570e42110f66207141c36676597e464a9baa17f", kill_on_drop: false }` [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: `docsrs`, `feature`, and `test` and 31 more [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:269:59 [INFO] [stdout] | [INFO] [stdout] 269 | fn layout(len: usize) -> Result<(Layout, [usize; 3]), LayoutErr> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thin-dst v1.1.0 (/opt/rustwide/workdir) [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: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: 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: `docsrs`, `feature`, and `test` and 31 more [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: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: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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "620ed6c91b09d72bbf9364cb9570e42110f66207141c36676597e464a9baa17f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "620ed6c91b09d72bbf9364cb9570e42110f66207141c36676597e464a9baa17f", kill_on_drop: false }` [INFO] [stdout] 620ed6c91b09d72bbf9364cb9570e42110f66207141c36676597e464a9baa17f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e071dd812c0589ed6139cb6cdcbc0bf06e4babd5b8d82921a07eab96a725275c [INFO] running `Command { std: "docker" "start" "-a" "e071dd812c0589ed6139cb6cdcbc0bf06e4babd5b8d82921a07eab96a725275c", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `slice_from_raw_parts` [INFO] [stderr] --> src/polyfill.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | #[cfg(not(slice_from_raw_parts))] // https://github.com/rust-lang/rust/issues/36925 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(slice_from_raw_parts)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(slice_from_raw_parts)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `slice_from_raw_parts` [INFO] [stderr] --> src/polyfill.rs:17:7 [INFO] [stderr] | [INFO] [stderr] 17 | #[cfg(slice_from_raw_parts)] // https://github.com/rust-lang/rust/issues/36925 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(slice_from_raw_parts)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(slice_from_raw_parts)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `alloc_layout_extra` [INFO] [stderr] --> src/polyfill.rs:26:11 [INFO] [stderr] | [INFO] [stderr] 26 | #[cfg(not(alloc_layout_extra))] // https://github.com/rust-lang/rust/issues/55724 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(alloc_layout_extra)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(alloc_layout_extra)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `alloc_layout_extra` [INFO] [stderr] --> src/polyfill.rs:74:7 [INFO] [stderr] | [INFO] [stderr] 74 | #[cfg(alloc_layout_extra)] // https://github.com/rust-lang/rust/issues/55724 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(alloc_layout_extra)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(alloc_layout_extra)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stderr] --> src/lib.rs:41:61 [INFO] [stderr] | [INFO] [stderr] 41 | alloc::{alloc, dealloc, handle_alloc_error, Layout, LayoutErr}, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stderr] --> src/lib.rs:269:59 [INFO] [stderr] | [INFO] [stderr] 269 | fn layout(len: usize) -> Result<(Layout, [usize; 3]), LayoutErr> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stderr] --> src/polyfill.rs:88:27 [INFO] [stderr] | [INFO] [stderr] 88 | use core::alloc::{Layout, LayoutErr}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stderr] --> src/polyfill.rs:89:70 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn repr_c_3(fields: [Layout; 3]) -> Result<(Layout, [usize; 3]), LayoutErr> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stderr] --> src/polyfill.rs:29:25 [INFO] [stderr] | [INFO] [stderr] 29 | alloc::{Layout, LayoutErr}, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stderr] --> src/polyfill.rs:33:24 [INFO] [stderr] | [INFO] [stderr] 33 | fn layout_err() -> LayoutErr { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stderr] --> src/polyfill.rs:37:89 [INFO] [stderr] | [INFO] [stderr] 37 | pub(crate) fn extend_layout(this: &Layout, next: Layout) -> Result<(Layout, usize), LayoutErr> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stderr] --> src/polyfill.rs:46:63 [INFO] [stderr] | [INFO] [stderr] 46 | pub(crate) fn layout_array(n: usize) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stderr] --> src/polyfill.rs:62:74 [INFO] [stderr] | [INFO] [stderr] 62 | fn repeat_layout(this: &Layout, n: usize) -> Result<(Layout, usize), LayoutErr> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `thin-dst` (lib) generated 13 warnings [INFO] [stderr] warning: `thin-dst` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/thin_dst-45f6e6594bd41915) [INFO] [stdout] [INFO] [stdout] running 0 tests [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] [stderr] Running tests/no_leaks.rs (/opt/rustwide/target/debug/deps/no_leaks-c5083fb2f46946cf) [INFO] [stdout] running 2 tests [INFO] [stdout] test test_thinbox ... ok [INFO] [stderr] Running tests/tests.rs (/opt/rustwide/target/debug/deps/tests-cf93a6deff2805a8) [INFO] [stdout] test test_std_box ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stderr] Doc-tests thin_dst [INFO] [stdout] test slice ... ok [INFO] [stdout] test zst ... ok [INFO] [stdout] test node ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 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 - (line 24) ... ok [INFO] [stdout] test src/lib.rs - (line 9) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e071dd812c0589ed6139cb6cdcbc0bf06e4babd5b8d82921a07eab96a725275c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e071dd812c0589ed6139cb6cdcbc0bf06e4babd5b8d82921a07eab96a725275c", kill_on_drop: false }` [INFO] [stdout] e071dd812c0589ed6139cb6cdcbc0bf06e4babd5b8d82921a07eab96a725275c