[INFO] fetching crate file_hashmap 0.1.0... [INFO] checking file_hashmap-0.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate file_hashmap 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate file_hashmap 0.1.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate file_hashmap 0.1.0 [INFO] finished tweaking crates.io crate file_hashmap 0.1.0 [INFO] tweaked toml for crates.io crate file_hashmap 0.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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 18 packages to latest compatible versions [INFO] [stderr] Adding bitflags v0.4.0 (available: v2.6.0) [INFO] [stderr] Adding cast v0.1.0 (available: v0.3.0) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding lazy_static v0.1.16 (available: v1.5.0) [INFO] [stderr] Adding nix v0.7.0 (available: v0.29.0) [INFO] [stderr] Adding rand v0.3.23 (available: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] [stderr] Adding rustc_version v0.1.7 (available: v0.4.1) [INFO] [stderr] Adding semver v0.1.20 (available: v1.0.23) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded semver v0.1.20 [INFO] [stderr] Downloaded cast v0.1.0 [INFO] [stderr] Downloaded nix v0.7.0 [INFO] [stderr] Downloaded bitflags v0.4.0 [INFO] [stderr] Downloaded void v1.0.2 [INFO] [stderr] Downloaded rustc_version v0.1.7 [INFO] [stderr] Downloaded rand v0.3.23 [INFO] [stderr] Downloaded lazy_static v0.1.16 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28ea9ddbb5cf0ba71eb7cc908cba13798257211797df1f4a669f2aed51470331 [INFO] running `Command { std: "docker" "start" "-a" "28ea9ddbb5cf0ba71eb7cc908cba13798257211797df1f4a669f2aed51470331", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28ea9ddbb5cf0ba71eb7cc908cba13798257211797df1f4a669f2aed51470331", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28ea9ddbb5cf0ba71eb7cc908cba13798257211797df1f4a669f2aed51470331", kill_on_drop: false }` [INFO] [stdout] 28ea9ddbb5cf0ba71eb7cc908cba13798257211797df1f4a669f2aed51470331 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 226a4206997cd604cc29df11a0a4ac1cc8f488a0dda445ba7b0e37cb61721304 [INFO] running `Command { std: "docker" "start" "-a" "226a4206997cd604cc29df11a0a4ac1cc8f488a0dda445ba7b0e37cb61721304", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking cast v0.1.0 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling nix v0.7.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking file_hashmap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `alloc::heap` [INFO] [stdout] --> src/hashmap/table.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::heap::EMPTY; [INFO] [stdout] | ^^^^ could not find `heap` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::ptr::Shared` [INFO] [stdout] --> src/hashmap/table.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | use std::ptr::{self, Unique, Shared}; [INFO] [stdout] | ^^^^^^ no `Shared` in `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `oom` in crate `alloc` [INFO] [stdout] --> src/hashmap/table.rs:657:22 [INFO] [stdout] | [INFO] [stdout] 657 | ::alloc::oom() [INFO] [stdout] | ^^^ not found in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::heap` [INFO] [stdout] --> src/hashmap/table.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::heap::EMPTY; [INFO] [stdout] | ^^^^ could not find `heap` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::ptr::Shared` [INFO] [stdout] --> src/hashmap/table.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | use std::ptr::{self, Unique, Shared}; [INFO] [stdout] | ^^^^^^ no `Shared` in `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:10:117 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(pub_restricted, dropck_eyepatch, generic_param_attrs, shared, unique, sip_hash_13, heap_api, oom, alloc, 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 type [INFO] [stdout] --> src/hashmap/map.rs:1562:34 [INFO] [stdout] | [INFO] [stdout] 1562 | fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1562 - fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] 1562 + fn next(&mut self) -> Option<&'a K> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/hashmap/map.rs:1580:34 [INFO] [stdout] | [INFO] [stdout] 1580 | fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1580 - fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] 1580 + fn next(&mut self) -> Option<&'a V> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/hashmap/map.rs:1598:34 [INFO] [stdout] | [INFO] [stdout] 1598 | fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1598 - fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] 1598 + fn next(&mut self) -> Option<&'a mut V> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `oom` in crate `alloc` [INFO] [stdout] --> src/hashmap/table.rs:657:22 [INFO] [stdout] | [INFO] [stdout] 657 | ::alloc::oom() [INFO] [stdout] | ^^^ not found in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/raw_alloc.rs:24:57 [INFO] [stdout] | [INFO] [stdout] 24 | static ref PATH: RwLock = RwLock::new(env::home_dir().unwrap_or(".".into())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/raw_alloc.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | static ref PATH: RwLock = RwLock::new(env::home_dir().unwrap_or(".".into())); [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/raw_alloc.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | static ref PATH: RwLock = RwLock::new(env::home_dir().unwrap_or(".".into())); [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [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/hashmap/table.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | use std::ptr::{self, Unique, Shared}; [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 2024-09-17; 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/hashmap/table.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | hashes: 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 2024-09-17; 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/hashmap/table.rs:624:25 [INFO] [stdout] | [INFO] [stdout] 624 | hashes: Unique::new(EMPTY as *mut HashUint), [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 2024-09-17; 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/hashmap/table.rs:665:21 [INFO] [stdout] | [INFO] [stdout] 665 | hashes: Unique::new(hashes), [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 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'hashmap_internals' [INFO] [stdout] --> src/hashmap/map.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | use std::hash::{Hash, Hasher, BuildHasher, SipHasher13}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(hashmap_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'hashmap_internals' [INFO] [stdout] --> src/hashmap/map.rs:2053:26 [INFO] [stdout] | [INFO] [stdout] 2053 | pub struct DefaultHasher(SipHasher13); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(hashmap_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'hashmap_internals' [INFO] [stdout] --> src/hashmap/map.rs:2040:23 [INFO] [stdout] | [INFO] [stdout] 2040 | DefaultHasher(SipHasher13::new_with_keys(self.k0, self.k1)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(hashmap_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'hashmap_internals' [INFO] [stdout] --> src/hashmap/map.rs:2063:23 [INFO] [stdout] | [INFO] [stdout] 2063 | DefaultHasher(SipHasher13::new_with_keys(0, 0)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(hashmap_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `pub_restricted` has been stable since 1.18.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(pub_restricted, dropck_eyepatch, generic_param_attrs, shared, unique, sip_hash_13, heap_api, oom, alloc, core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_param_attrs` has been stable since 1.27.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(pub_restricted, dropck_eyepatch, generic_param_attrs, shared, unique, sip_hash_13, heap_api, oom, alloc, core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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:10:110 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(pub_restricted, dropck_eyepatch, generic_param_attrs, shared, unique, sip_hash_13, heap_api, oom, alloc, core_intrinsics)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `shared` [INFO] [stdout] --> src/lib.rs:10:66 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(pub_restricted, dropck_eyepatch, generic_param_attrs, shared, unique, sip_hash_13, heap_api, oom, alloc, core_intrinsics)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:10:117 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(pub_restricted, dropck_eyepatch, generic_param_attrs, shared, unique, sip_hash_13, heap_api, oom, alloc, 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] error[E0635]: unknown feature `unique` [INFO] [stdout] --> src/lib.rs:10:74 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(pub_restricted, dropck_eyepatch, generic_param_attrs, shared, unique, sip_hash_13, heap_api, oom, alloc, core_intrinsics)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `sip_hash_13` [INFO] [stdout] --> src/lib.rs:10:82 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(pub_restricted, dropck_eyepatch, generic_param_attrs, shared, unique, sip_hash_13, heap_api, oom, alloc, core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `heap_api` [INFO] [stdout] --> src/lib.rs:10:95 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(pub_restricted, dropck_eyepatch, generic_param_attrs, shared, unique, sip_hash_13, heap_api, oom, alloc, core_intrinsics)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `oom` [INFO] [stdout] --> src/lib.rs:10:105 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(pub_restricted, dropck_eyepatch, generic_param_attrs, shared, unique, sip_hash_13, heap_api, oom, alloc, core_intrinsics)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/hashmap/map.rs:1562:34 [INFO] [stdout] | [INFO] [stdout] 1562 | fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1562 - fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] 1562 + fn next(&mut self) -> Option<&'a K> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/hashmap/map.rs:1580:34 [INFO] [stdout] | [INFO] [stdout] 1580 | fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1580 - fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] 1580 + fn next(&mut self) -> Option<&'a V> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/hashmap/map.rs:1598:34 [INFO] [stdout] | [INFO] [stdout] 1598 | fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1598 - fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] 1598 + fn next(&mut self) -> Option<&'a mut V> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/raw_alloc.rs:24:57 [INFO] [stdout] | [INFO] [stdout] 24 | static ref PATH: RwLock = RwLock::new(env::home_dir().unwrap_or(".".into())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/raw_alloc.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | static ref PATH: RwLock = RwLock::new(env::home_dir().unwrap_or(".".into())); [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/raw_alloc.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | static ref PATH: RwLock = RwLock::new(env::home_dir().unwrap_or(".".into())); [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [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/hashmap/table.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | use std::ptr::{self, Unique, Shared}; [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 2024-09-17; 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/hashmap/table.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | hashes: 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 2024-09-17; 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/hashmap/table.rs:624:25 [INFO] [stdout] | [INFO] [stdout] 624 | hashes: Unique::new(EMPTY as *mut HashUint), [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 2024-09-17; 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/hashmap/table.rs:665:21 [INFO] [stdout] | [INFO] [stdout] 665 | hashes: Unique::new(hashes), [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 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'hashmap_internals' [INFO] [stdout] --> src/hashmap/map.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | use std::hash::{Hash, Hasher, BuildHasher, SipHasher13}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(hashmap_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'hashmap_internals' [INFO] [stdout] --> src/hashmap/map.rs:2053:26 [INFO] [stdout] | [INFO] [stdout] 2053 | pub struct DefaultHasher(SipHasher13); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(hashmap_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'hashmap_internals' [INFO] [stdout] --> src/hashmap/map.rs:2040:23 [INFO] [stdout] | [INFO] [stdout] 2040 | DefaultHasher(SipHasher13::new_with_keys(self.k0, self.k1)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(hashmap_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'hashmap_internals' [INFO] [stdout] --> src/hashmap/map.rs:2063:23 [INFO] [stdout] | [INFO] [stdout] 2063 | DefaultHasher(SipHasher13::new_with_keys(0, 0)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(hashmap_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `pub_restricted` has been stable since 1.18.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(pub_restricted, dropck_eyepatch, generic_param_attrs, shared, unique, sip_hash_13, heap_api, oom, alloc, core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_param_attrs` has been stable since 1.27.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(pub_restricted, dropck_eyepatch, generic_param_attrs, shared, unique, sip_hash_13, heap_api, oom, alloc, core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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:10:110 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(pub_restricted, dropck_eyepatch, generic_param_attrs, shared, unique, sip_hash_13, heap_api, oom, alloc, core_intrinsics)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `shared` [INFO] [stdout] --> src/lib.rs:10:66 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(pub_restricted, dropck_eyepatch, generic_param_attrs, shared, unique, sip_hash_13, heap_api, oom, alloc, core_intrinsics)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `unique` [INFO] [stdout] --> src/lib.rs:10:74 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(pub_restricted, dropck_eyepatch, generic_param_attrs, shared, unique, sip_hash_13, heap_api, oom, alloc, core_intrinsics)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `sip_hash_13` [INFO] [stdout] --> src/lib.rs:10:82 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(pub_restricted, dropck_eyepatch, generic_param_attrs, shared, unique, sip_hash_13, heap_api, oom, alloc, core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `heap_api` [INFO] [stdout] --> src/lib.rs:10:95 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(pub_restricted, dropck_eyepatch, generic_param_attrs, shared, unique, sip_hash_13, heap_api, oom, alloc, core_intrinsics)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `oom` [INFO] [stdout] --> src/lib.rs:10:105 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(pub_restricted, dropck_eyepatch, generic_param_attrs, shared, unique, sip_hash_13, heap_api, oom, alloc, core_intrinsics)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stdout] --> src/hashmap/table.rs:624:25 [INFO] [stdout] | [INFO] [stdout] 624 | hashes: Unique::new(EMPTY as *mut HashUint), [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 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hashmap/table.rs:624:25 [INFO] [stdout] | [INFO] [stdout] 624 | hashes: Unique::new(EMPTY as *mut HashUint), [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] 624 | hashes: Unique::new(EMPTY as *mut HashUint).expect("REASON"), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stdout] --> src/hashmap/table.rs:665:21 [INFO] [stdout] | [INFO] [stdout] 665 | hashes: Unique::new(hashes), [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 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hashmap/table.rs:665:21 [INFO] [stdout] | [INFO] [stdout] 665 | hashes: Unique::new(hashes), [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] 665 | hashes: Unique::new(hashes).expect("REASON"), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> src/hashmap/table.rs:674:22 [INFO] [stdout] | [INFO] [stdout] 674 | let buffer = *self.hashes as *mut u8; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> src/hashmap/table.rs:680:23 [INFO] [stdout] | [INFO] [stdout] 680 | hash: *self.hashes, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> src/hashmap/table.rs:692:30 [INFO] [stdout] | [INFO] [stdout] 692 | ptr::write_bytes(*ret.hashes, 0, capacity); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset` found for struct `Unique` in the current scope [INFO] [stdout] --> src/hashmap/table.rs:711:46 [INFO] [stdout] | [INFO] [stdout] 711 | hashes_end: unsafe { self.hashes.offset(self.capacity as isize) }, [INFO] [stdout] | ^^^^^^ method not found in `Unique` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> src/hashmap/table.rs:1093:24 [INFO] [stdout] | [INFO] [stdout] 1093 | deallocate(*self.hashes as *mut u8, size, align); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'hashmap_internals' [INFO] [stdout] --> src/hashmap/map.rs:2040:23 [INFO] [stdout] | [INFO] [stdout] 2040 | DefaultHasher(SipHasher13::new_with_keys(self.k0, self.k1)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(hashmap_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'hashmap_internals' [INFO] [stdout] --> src/hashmap/map.rs:2063:23 [INFO] [stdout] | [INFO] [stdout] 2063 | DefaultHasher(SipHasher13::new_with_keys(0, 0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(hashmap_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; 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/hashmap/table.rs:624:25 [INFO] [stdout] | [INFO] [stdout] 624 | hashes: Unique::new(EMPTY as *mut HashUint), [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 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hashmap/table.rs:624:25 [INFO] [stdout] | [INFO] [stdout] 624 | hashes: Unique::new(EMPTY as *mut HashUint), [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] 624 | hashes: Unique::new(EMPTY as *mut HashUint).expect("REASON"), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stdout] --> src/hashmap/table.rs:665:21 [INFO] [stdout] | [INFO] [stdout] 665 | hashes: Unique::new(hashes), [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 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hashmap/table.rs:665:21 [INFO] [stdout] | [INFO] [stdout] 665 | hashes: Unique::new(hashes), [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] 665 | hashes: Unique::new(hashes).expect("REASON"), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> src/hashmap/table.rs:674:22 [INFO] [stdout] | [INFO] [stdout] 674 | let buffer = *self.hashes as *mut u8; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> src/hashmap/table.rs:680:23 [INFO] [stdout] | [INFO] [stdout] 680 | hash: *self.hashes, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> src/hashmap/table.rs:692:30 [INFO] [stdout] | [INFO] [stdout] 692 | ptr::write_bytes(*ret.hashes, 0, capacity); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hashmap/table.rs:459:17 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn take(mut self) -> (EmptyBucket>, K, V) { [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] error[E0599]: no method named `offset` found for struct `Unique` in the current scope [INFO] [stdout] --> src/hashmap/table.rs:711:46 [INFO] [stdout] | [INFO] [stdout] 711 | hashes_end: unsafe { self.hashes.offset(self.capacity as isize) }, [INFO] [stdout] | ^^^^^^ method not found in `Unique` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> src/hashmap/table.rs:1093:24 [INFO] [stdout] | [INFO] [stdout] 1093 | deallocate(*self.hashes as *mut u8, size, align); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hashmap/map.rs:1450:18 [INFO] [stdout] | [INFO] [stdout] 1450 | fn into_iter(mut self) -> IterMut<'a, K, V> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'hashmap_internals' [INFO] [stdout] --> src/hashmap/map.rs:2040:23 [INFO] [stdout] | [INFO] [stdout] 2040 | DefaultHasher(SipHasher13::new_with_keys(self.k0, self.k1)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(hashmap_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'hashmap_internals' [INFO] [stdout] --> src/hashmap/map.rs:2063:23 [INFO] [stdout] | [INFO] [stdout] 2063 | DefaultHasher(SipHasher13::new_with_keys(0, 0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(hashmap_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0599, E0614, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `file_hashmap` (lib) due to 28 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hashmap/table.rs:459:17 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn take(mut self) -> (EmptyBucket>, K, V) { [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/hashmap/map.rs:1450:18 [INFO] [stdout] | [INFO] [stdout] 1450 | fn into_iter(mut self) -> IterMut<'a, K, V> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0599, E0614, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `file_hashmap` (lib test) due to 28 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "226a4206997cd604cc29df11a0a4ac1cc8f488a0dda445ba7b0e37cb61721304", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "226a4206997cd604cc29df11a0a4ac1cc8f488a0dda445ba7b0e37cb61721304", kill_on_drop: false }` [INFO] [stdout] 226a4206997cd604cc29df11a0a4ac1cc8f488a0dda445ba7b0e37cb61721304