[INFO] fetching crate file_hashmap 0.1.0... [INFO] checking file_hashmap-0.1.0 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] extracting crate file_hashmap 0.1.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate file_hashmap 0.1.0 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bdd3e64c1f2a1c456dd5ebd6d665093d9d0e40b660d086daa010e0a8b9d70392 [INFO] running `Command { std: "docker" "start" "-a" "bdd3e64c1f2a1c456dd5ebd6d665093d9d0e40b660d086daa010e0a8b9d70392", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdd3e64c1f2a1c456dd5ebd6d665093d9d0e40b660d086daa010e0a8b9d70392", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdd3e64c1f2a1c456dd5ebd6d665093d9d0e40b660d086daa010e0a8b9d70392", kill_on_drop: false }` [INFO] [stdout] bdd3e64c1f2a1c456dd5ebd6d665093d9d0e40b660d086daa010e0a8b9d70392 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5f73e89357fc88222217f74cdc1a32adf835741d42c2a1f77aaa0606544ae10 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b5f73e89357fc88222217f74cdc1a32adf835741d42c2a1f77aaa0606544ae10", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking cast v0.1.0 [INFO] [stderr] Compiling nix v0.7.0 [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[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[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: 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] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/raw_alloc.rs:24:52 [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 `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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/raw_alloc.rs:24:52 [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 `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 a macro (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 `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 a macro (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] [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] [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] [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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 struct `Unique`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique` [INFO] [stdout] found enum `Option>` [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] [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 struct `Unique`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique` [INFO] [stdout] found enum `Option>` [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] [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 struct `Unique`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique<_>` [INFO] [stdout] found enum `Option>` [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 struct `Unique`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique<_>` [INFO] [stdout] found enum `Option>` [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: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:692:30 [INFO] [stdout] | [INFO] [stdout] 692 | ptr::write_bytes(*ret.hashes, 0, capacity); [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[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[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: aborting due to 20 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0599, E0614, 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 20 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0599, E0614, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b5f73e89357fc88222217f74cdc1a32adf835741d42c2a1f77aaa0606544ae10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5f73e89357fc88222217f74cdc1a32adf835741d42c2a1f77aaa0606544ae10", kill_on_drop: false }` [INFO] [stdout] b5f73e89357fc88222217f74cdc1a32adf835741d42c2a1f77aaa0606544ae10