[INFO] fetching crate hashmap_core2 0.0.1... [INFO] checking hashmap_core2-0.0.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate hashmap_core2 0.0.1 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate hashmap_core2 0.0.1 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 hashmap_core2 0.0.1 [INFO] finished tweaking crates.io crate hashmap_core2 0.0.1 [INFO] tweaked toml for crates.io crate hashmap_core2 0.0.1 written to /workspace/builds/worker-2-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] 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 8e7e11a4da7bd0a333b8ab730853e02952462e9eb663d0fb1eaa89ae9041cb99 [INFO] running `Command { std: "docker" "start" "-a" "8e7e11a4da7bd0a333b8ab730853e02952462e9eb663d0fb1eaa89ae9041cb99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e7e11a4da7bd0a333b8ab730853e02952462e9eb663d0fb1eaa89ae9041cb99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e7e11a4da7bd0a333b8ab730853e02952462e9eb663d0fb1eaa89ae9041cb99", kill_on_drop: false }` [INFO] [stdout] 8e7e11a4da7bd0a333b8ab730853e02952462e9eb663d0fb1eaa89ae9041cb99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 5fd95bc5771df3b68501417933d23ee7013197e5510dcaf3818ad6cc35d460ba [INFO] running `Command { std: "docker" "start" "-a" "5fd95bc5771df3b68501417933d23ee7013197e5510dcaf3818ad6cc35d460ba", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking hashmap_core2 v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `alloc_crate::alloc::oom` [INFO] [stdout] --> src/lib.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | pub use alloc_crate::alloc::{oom, Global}; [INFO] [stdout] | ^^^ no `oom` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::CollectionAllocErr` [INFO] [stdout] --> src/map.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use alloc::CollectionAllocErr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `CollectionAllocErr` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `alloc::Alloc`, `alloc::CollectionAllocErr` [INFO] [stdout] --> src/table.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::{Alloc, CollectionAllocErr, Global, Layout}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ no `CollectionAllocErr` in `alloc` [INFO] [stdout] | | [INFO] [stdout] | no `Alloc` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc_crate::alloc::oom` [INFO] [stdout] --> src/lib.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | pub use alloc_crate::alloc::{oom, Global}; [INFO] [stdout] | ^^^ no `oom` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::Vec` [INFO] [stdout] --> src/fnv.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | use alloc::Vec; [INFO] [stdout] | ^^^^^^^^^^ no `Vec` in `alloc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 124 | use alloc_crate::vec::Vec; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `ptr_internals` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:14:58 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(alloc, dropck_eyepatch, allocator_api, fused, ptr_internals, try_reserve, nonnull_cast)] [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/map.rs:1878:34 [INFO] [stdout] | [INFO] [stdout] 1878 | 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] 1878 - fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] 1878 + fn next(&mut self) -> Option<&'a K> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::CollectionAllocErr` [INFO] [stdout] --> src/map.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use alloc::CollectionAllocErr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `CollectionAllocErr` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/map.rs:1898:34 [INFO] [stdout] | [INFO] [stdout] 1898 | fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1898 - fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] 1898 + fn next(&mut self) -> Option<&'a V> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/map.rs:1918:34 [INFO] [stdout] | [INFO] [stdout] 1918 | fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1918 - fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] 1918 + fn next(&mut self) -> Option<&'a mut V> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `alloc::Alloc`, `alloc::CollectionAllocErr` [INFO] [stdout] --> src/table.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::{Alloc, CollectionAllocErr, Global, Layout}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ no `CollectionAllocErr` in `alloc` [INFO] [stdout] | | [INFO] [stdout] | no `Alloc` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `fused` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:14:51 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(alloc, dropck_eyepatch, allocator_api, fused, ptr_internals, try_reserve, nonnull_cast)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `nonnull_cast` has been stable since 1.27.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:14:86 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(alloc, dropck_eyepatch, allocator_api, fused, ptr_internals, try_reserve, nonnull_cast)] [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:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(alloc, dropck_eyepatch, allocator_api, fused, ptr_internals, try_reserve, nonnull_cast)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `try_reserve` has been stable since 1.57.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:14:73 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(alloc, dropck_eyepatch, allocator_api, fused, ptr_internals, try_reserve, nonnull_cast)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `ptr_internals` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:14:58 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(alloc, dropck_eyepatch, allocator_api, fused, ptr_internals, try_reserve, nonnull_cast)] [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/map.rs:1878:34 [INFO] [stdout] | [INFO] [stdout] 1878 | 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] 1878 - fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] 1878 + fn next(&mut self) -> Option<&'a K> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/map.rs:1898:34 [INFO] [stdout] | [INFO] [stdout] 1898 | fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1898 - fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] 1898 + fn next(&mut self) -> Option<&'a V> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/map.rs:1918:34 [INFO] [stdout] | [INFO] [stdout] 1918 | fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1918 - fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] 1918 + fn next(&mut self) -> Option<&'a mut V> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `fused` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:14:51 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(alloc, dropck_eyepatch, allocator_api, fused, ptr_internals, try_reserve, nonnull_cast)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `nonnull_cast` has been stable since 1.27.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:14:86 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(alloc, dropck_eyepatch, allocator_api, fused, ptr_internals, try_reserve, nonnull_cast)] [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:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(alloc, dropck_eyepatch, allocator_api, fused, ptr_internals, try_reserve, nonnull_cast)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `try_reserve` has been stable since 1.57.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:14:73 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(alloc, dropck_eyepatch, allocator_api, fused, ptr_internals, try_reserve, nonnull_cast)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `alloc` found for struct `alloc_crate::alloc::Global` in the current scope [INFO] [stdout] --> src/table.rs:766:29 [INFO] [stdout] | [INFO] [stdout] 766 | let buffer = Global.alloc(Layout::from_size_align(size, alignment) [INFO] [stdout] | -------^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `allocate` with a similar name [INFO] [stdout] | [INFO] [stdout] 766 | let buffer = Global.allocate(Layout::from_size_align(size, alignment) [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dealloc` found for struct `alloc_crate::alloc::Global` in the current scope [INFO] [stdout] --> src/table.rs:1204:20 [INFO] [stdout] | [INFO] [stdout] 1204 | Global.dealloc( [INFO] [stdout] | -------^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `deallocate` with a similar name [INFO] [stdout] | [INFO] [stdout] 1204 | Global.deallocate( [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_opaque` found for struct `NonNull` in the current scope [INFO] [stdout] --> src/table.rs:1205:59 [INFO] [stdout] | [INFO] [stdout] 1205 | NonNull::new_unchecked(self.hashes.ptr()).as_opaque(), [INFO] [stdout] | ^^^^^^^^^ method not found in `NonNull` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `alloc` found for struct `alloc_crate::alloc::Global` in the current scope [INFO] [stdout] --> src/table.rs:766:29 [INFO] [stdout] | [INFO] [stdout] 766 | let buffer = Global.alloc(Layout::from_size_align(size, alignment) [INFO] [stdout] | -------^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `allocate` with a similar name [INFO] [stdout] | [INFO] [stdout] 766 | let buffer = Global.allocate(Layout::from_size_align(size, alignment) [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dealloc` found for struct `alloc_crate::alloc::Global` in the current scope [INFO] [stdout] --> src/table.rs:1204:20 [INFO] [stdout] | [INFO] [stdout] 1204 | Global.dealloc( [INFO] [stdout] | -------^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `deallocate` with a similar name [INFO] [stdout] | [INFO] [stdout] 1204 | Global.deallocate( [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hashmap_core2` (lib) due to 7 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `as_opaque` found for struct `NonNull` in the current scope [INFO] [stdout] --> src/table.rs:1205:59 [INFO] [stdout] | [INFO] [stdout] 1205 | NonNull::new_unchecked(self.hashes.ptr()).as_opaque(), [INFO] [stdout] | ^^^^^^^^^ method not found in `NonNull` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hashmap_core2` (lib test) due to 8 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5fd95bc5771df3b68501417933d23ee7013197e5510dcaf3818ad6cc35d460ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fd95bc5771df3b68501417933d23ee7013197e5510dcaf3818ad6cc35d460ba", kill_on_drop: false }` [INFO] [stdout] 5fd95bc5771df3b68501417933d23ee7013197e5510dcaf3818ad6cc35d460ba