[INFO] fetching crate default_allocator 0.3.0... [INFO] checking default_allocator-0.3.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] extracting crate default_allocator 0.3.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate default_allocator 0.3.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate default_allocator 0.3.0 [INFO] finished tweaking crates.io crate default_allocator 0.3.0 [INFO] tweaked toml for crates.io crate default_allocator 0.3.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ptr v0.2.3 [INFO] [stderr] Downloaded loca v0.7.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30316fca0fb3ffdb3ab90919a8f31a67dbca66799c5856482a9b7284d8bdb822 [INFO] running `Command { std: "docker" "start" "-a" "30316fca0fb3ffdb3ab90919a8f31a67dbca66799c5856482a9b7284d8bdb822", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30316fca0fb3ffdb3ab90919a8f31a67dbca66799c5856482a9b7284d8bdb822", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30316fca0fb3ffdb3ab90919a8f31a67dbca66799c5856482a9b7284d8bdb822", kill_on_drop: false }` [INFO] [stdout] 30316fca0fb3ffdb3ab90919a8f31a67dbca66799c5856482a9b7284d8bdb822 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4d8ca4f8a09b1121a9f383b44e0d3d18a2730bbdf5dbe50a2b8eed152b5c862 [INFO] running `Command { std: "docker" "start" "-a" "e4d8ca4f8a09b1121a9f383b44e0d3d18a2730bbdf5dbe50a2b8eed152b5c862", kill_on_drop: false }` [INFO] [stderr] Compiling ptr v0.2.3 [INFO] [stderr] Checking loca v0.7.4 [INFO] [stderr] Checking default_allocator v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: attributes starting with `rustc` are reserved for use by the `rustc` compiler [INFO] [stdout] --> src/lib.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg_attr(not(feature = "stable-rust"), rustc_allocator_nounwind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: attributes starting with `rustc` are reserved for use by the `rustc` compiler [INFO] [stdout] --> src/lib.rs:24:46 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg_attr(not(feature = "stable-rust"), rustc_allocator_nounwind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: attributes starting with `rustc` are reserved for use by the `rustc` compiler [INFO] [stdout] --> src/lib.rs:26:46 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg_attr(not(feature = "stable-rust"), rustc_allocator_nounwind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: attributes starting with `rustc` are reserved for use by the `rustc` compiler [INFO] [stdout] --> src/lib.rs:31:46 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg_attr(not(feature = "stable-rust"), rustc_allocator_nounwind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: attributes starting with `rustc` are reserved for use by the `rustc` compiler [INFO] [stdout] --> src/lib.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg_attr(not(feature = "stable-rust"), rustc_allocator_nounwind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: attributes starting with `rustc` are reserved for use by the `rustc` compiler [INFO] [stdout] --> src/lib.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg_attr(not(feature = "stable-rust"), rustc_allocator_nounwind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: attributes starting with `rustc` are reserved for use by the `rustc` compiler [INFO] [stdout] --> src/lib.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg_attr(not(feature = "stable-rust"), rustc_allocator_nounwind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: attributes starting with `rustc` are reserved for use by the `rustc` compiler [INFO] [stdout] --> src/lib.rs:24:46 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg_attr(not(feature = "stable-rust"), rustc_allocator_nounwind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: attributes starting with `rustc` are reserved for use by the `rustc` compiler [INFO] [stdout] --> src/lib.rs:26:46 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg_attr(not(feature = "stable-rust"), rustc_allocator_nounwind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: attributes starting with `rustc` are reserved for use by the `rustc` compiler [INFO] [stdout] --> src/lib.rs:31:46 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg_attr(not(feature = "stable-rust"), rustc_allocator_nounwind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: attributes starting with `rustc` are reserved for use by the `rustc` compiler [INFO] [stdout] --> src/lib.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg_attr(not(feature = "stable-rust"), rustc_allocator_nounwind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: attributes starting with `rustc` are reserved for use by the `rustc` compiler [INFO] [stdout] --> src/lib.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg_attr(not(feature = "stable-rust"), rustc_allocator_nounwind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rustc_allocator_nounwind` in this scope [INFO] [stdout] --> src/lib.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg_attr(not(feature = "stable-rust"), rustc_allocator_nounwind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `rustc_allocator_zeroed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rustc_allocator_nounwind` in this scope [INFO] [stdout] --> src/lib.rs:24:46 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg_attr(not(feature = "stable-rust"), rustc_allocator_nounwind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `rustc_allocator_zeroed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rustc_allocator_nounwind` in this scope [INFO] [stdout] --> src/lib.rs:26:46 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg_attr(not(feature = "stable-rust"), rustc_allocator_nounwind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `rustc_allocator_zeroed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rustc_allocator_nounwind` in this scope [INFO] [stdout] --> src/lib.rs:31:46 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg_attr(not(feature = "stable-rust"), rustc_allocator_nounwind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `rustc_allocator_zeroed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rustc_allocator_nounwind` in this scope [INFO] [stdout] --> src/lib.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg_attr(not(feature = "stable-rust"), rustc_allocator_nounwind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `rustc_allocator_zeroed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rustc_allocator_nounwind` in this scope [INFO] [stdout] --> src/lib.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg_attr(not(feature = "stable-rust"), rustc_allocator_nounwind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `rustc_allocator_zeroed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rustc_allocator_nounwind` in this scope [INFO] [stdout] --> src/lib.rs:24:46 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg_attr(not(feature = "stable-rust"), rustc_allocator_nounwind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `rustc_allocator_zeroed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rustc_allocator_nounwind` in this scope [INFO] [stdout] --> src/lib.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg_attr(not(feature = "stable-rust"), rustc_allocator_nounwind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `rustc_allocator_zeroed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rustc_allocator_nounwind` in this scope [INFO] [stdout] --> src/lib.rs:26:46 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg_attr(not(feature = "stable-rust"), rustc_allocator_nounwind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `rustc_allocator_zeroed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rustc_allocator_nounwind` in this scope [INFO] [stdout] --> src/lib.rs:31:46 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg_attr(not(feature = "stable-rust"), rustc_allocator_nounwind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `rustc_allocator_zeroed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rustc_allocator_nounwind` in this scope [INFO] [stdout] --> src/lib.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg_attr(not(feature = "stable-rust"), rustc_allocator_nounwind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `rustc_allocator_zeroed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rustc_allocator_nounwind` in this scope [INFO] [stdout] --> src/lib.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg_attr(not(feature = "stable-rust"), rustc_allocator_nounwind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `rustc_allocator_zeroed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'non_null_convenience' [INFO] [stdout] --> src/lib.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | let end = ptr.offset(layout.size() as isize); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #117691 for more information [INFO] [stdout] = help: add `#![feature(non_null_convenience)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-03-29; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `default_allocator` (lib) due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0614]: type `NonNull` cannot be dereferenced [INFO] [stdout] --> src/lib.rs:99:28 [INFO] [stdout] | [INFO] [stdout] 99 | assert_eq!(*i, 0); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'non_null_convenience' [INFO] [stdout] --> src/lib.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | i = i.offset(1); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #117691 for more information [INFO] [stdout] = help: add `#![feature(non_null_convenience)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-03-29; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0614, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0614`. [INFO] [stdout] [INFO] [stderr] error: could not compile `default_allocator` (lib test) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "e4d8ca4f8a09b1121a9f383b44e0d3d18a2730bbdf5dbe50a2b8eed152b5c862", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4d8ca4f8a09b1121a9f383b44e0d3d18a2730bbdf5dbe50a2b8eed152b5c862", kill_on_drop: false }` [INFO] [stdout] e4d8ca4f8a09b1121a9f383b44e0d3d18a2730bbdf5dbe50a2b8eed152b5c862