[INFO] crate file_hashmap 0.1.0 is already in cache [INFO] testing file_hashmap-0.1.0 against 1.45.2 for beta-1.46-1 [INFO] extracting crate file_hashmap 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate file_hashmap 0.1.0 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", 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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c49cee829316782472c5b51e11da5d4bf5323cca28f9f77a3461f50ec29807f [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" "4c49cee829316782472c5b51e11da5d4bf5323cca28f9f77a3461f50ec29807f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c49cee829316782472c5b51e11da5d4bf5323cca28f9f77a3461f50ec29807f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c49cee829316782472c5b51e11da5d4bf5323cca28f9f77a3461f50ec29807f", kill_on_drop: false }` [INFO] [stdout] 4c49cee829316782472c5b51e11da5d4bf5323cca28f9f77a3461f50ec29807f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebb351d2ead02f5ca6bdda74856fdecf703d465aafc9125b30d174a8c577c53a [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" "ebb351d2ead02f5ca6bdda74856fdecf703d465aafc9125b30d174a8c577c53a", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling cast v0.1.0 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling nix v0.7.0 [INFO] [stderr] Compiling 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[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:10:1 [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] | ^^^^^^^ 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 item '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 item '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 item '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] [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] [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] [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] [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] [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] [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] [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] [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] [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 `std::ptr::Unique`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::ptr::Unique` [INFO] [stdout] found enum `std::option::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] [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 `std::ptr::Unique`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::ptr::Unique<_>` [INFO] [stdout] found enum `std::option::Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `std::ptr::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 `std::ptr::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 `std::ptr::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 `std::ptr::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 `std::ptr::Unique` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `std::ptr::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 21 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0554, 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] running `Command { std: "docker" "inspect" "ebb351d2ead02f5ca6bdda74856fdecf703d465aafc9125b30d174a8c577c53a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebb351d2ead02f5ca6bdda74856fdecf703d465aafc9125b30d174a8c577c53a", kill_on_drop: false }` [INFO] [stdout] ebb351d2ead02f5ca6bdda74856fdecf703d465aafc9125b30d174a8c577c53a