[INFO] fetching crate bitmaptrie 2.0.0... [INFO] checking bitmaptrie-2.0.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate bitmaptrie 2.0.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate bitmaptrie 2.0.0 [INFO] finished tweaking crates.io crate bitmaptrie 2.0.0 [INFO] tweaked toml for crates.io crate bitmaptrie 2.0.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bitmaptrie 2.0.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e33de3f307ee6a6ccac48c7493f87cbbea1b367365746b9c21bffdc6e9cf9407 [INFO] running `Command { std: "docker" "start" "-a" "e33de3f307ee6a6ccac48c7493f87cbbea1b367365746b9c21bffdc6e9cf9407", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e33de3f307ee6a6ccac48c7493f87cbbea1b367365746b9c21bffdc6e9cf9407", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e33de3f307ee6a6ccac48c7493f87cbbea1b367365746b9c21bffdc6e9cf9407", kill_on_drop: false }` [INFO] [stdout] e33de3f307ee6a6ccac48c7493f87cbbea1b367365746b9c21bffdc6e9cf9407 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f81e1c755291d192810d7ef27ddc91bd37c8e1737e428fff2cf5870ee48a7d9 [INFO] running `Command { std: "docker" "start" "-a" "7f81e1c755291d192810d7ef27ddc91bd37c8e1737e428fff2cf5870ee48a7d9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking bitmaptrie v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::intrinsics::drop_in_place` [INFO] [stdout] --> src/comprawvec.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use std::intrinsics::{needs_drop, drop_in_place, abort}; [INFO] [stdout] | ^^^^^^^^^^^^^ no `drop_in_place` in `intrinsics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::alloc::heap` [INFO] [stdout] --> src/comprawvec.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use self::alloc::heap::{allocate, reallocate, deallocate}; [INFO] [stdout] | ^^^^ could not find `heap` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:144:38 [INFO] [stdout] | [INFO] [stdout] 144 | const BRANCHING_FACTOR_BITS: usize = (0b100 | (USIZE_BYTES >> 2)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 144 - const BRANCHING_FACTOR_BITS: usize = (0b100 | (USIZE_BYTES >> 2)); [INFO] [stdout] 144 + const BRANCHING_FACTOR_BITS: usize = 0b100 | (USIZE_BYTES >> 2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:413:62 [INFO] [stdout] | [INFO] [stdout] 413 | cache.set(depth, local_index, child);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:443:62 [INFO] [stdout] | [INFO] [stdout] 443 | cache.set(depth, local_index, child);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `alloc` has been stable since 1.36.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | #![feature(alloc)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `heap_api` [INFO] [stdout] --> src/lib.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | #![feature(heap_api)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `unique` [INFO] [stdout] --> src/lib.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | #![feature(unique)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals`: use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/comprawvec.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ptr::{copy, read, write, Unique}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals`: use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/comprawvec.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | ptrs: Unique, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals`: use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/comprawvec.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | fn allocate(capacity: usize) -> Unique { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals`: use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/comprawvec.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | Unique::new(array as *mut T) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals`: use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/comprawvec.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | fn reallocate(data: &mut Unique, old_capacity: usize, new_capacity: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals`: use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/comprawvec.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | *data = Unique::new(array as *mut T); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals`: use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/comprawvec.rs:71:30 [INFO] [stdout] | [INFO] [stdout] 71 | fn deallocate(data: &mut Unique, capacity: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals` [INFO] [stdout] --> src/comprawvec.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | Unique::new(array as *mut T) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/comprawvec.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 38 | fn allocate(capacity: usize) -> Unique { [INFO] [stdout] | --------- expected `Unique` because of return type [INFO] [stdout] ... [INFO] [stdout] 47 | Unique::new(array as *mut T) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Unique`, found `Option>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 47 | Unique::new(array as *mut T).expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals` [INFO] [stdout] --> src/comprawvec.rs:58:41 [INFO] [stdout] | [INFO] [stdout] 58 | let array = reallocate(data.as_ptr() as *mut u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals` [INFO] [stdout] --> src/comprawvec.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | *data = Unique::new(array as *mut T); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bitmaptrie` (lib) due to 21 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/comprawvec.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | *data = Unique::new(array as *mut T); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Unique`, found `Option>` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 66 | *data = Unique::new(array as *mut T).expect("REASON"); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals` [INFO] [stdout] --> src/comprawvec.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | deallocate(data.as_ptr() as *mut u8, size, align_of::()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals` [INFO] [stdout] --> src/comprawvec.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | let p: *mut T = self.ptrs.as_ptr().offset(index as isize); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals` [INFO] [stdout] --> src/comprawvec.rs:88:37 [INFO] [stdout] | [INFO] [stdout] 88 | let p: *const T = self.ptrs.as_ptr().offset(index as isize); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals` [INFO] [stdout] --> src/comprawvec.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | let ptr: *mut T = self.ptrs.as_ptr().offset(index as isize); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals` [INFO] [stdout] --> src/comprawvec.rs:138:37 [INFO] [stdout] | [INFO] [stdout] 138 | let ptr: *mut T = self.ptrs.as_ptr().offset(index as isize); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/comprawvec.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { abort() } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/comprawvec.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let mut ptr = self.get_mut(index); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compvec.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | let mut vec = unsafe { &mut *self.vec }; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7f81e1c755291d192810d7ef27ddc91bd37c8e1737e428fff2cf5870ee48a7d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f81e1c755291d192810d7ef27ddc91bd37c8e1737e428fff2cf5870ee48a7d9", kill_on_drop: false }` [INFO] [stdout] 7f81e1c755291d192810d7ef27ddc91bd37c8e1737e428fff2cf5870ee48a7d9