[INFO] fetching crate hashmap_core2 0.0.1... [INFO] checking hashmap_core2-0.0.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate hashmap_core2 0.0.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate hashmap_core2 0.0.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32eeac516e8079498d6b88c4bf69de6b70d152704c9d233af208766e45a7499b [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" "32eeac516e8079498d6b88c4bf69de6b70d152704c9d233af208766e45a7499b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32eeac516e8079498d6b88c4bf69de6b70d152704c9d233af208766e45a7499b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32eeac516e8079498d6b88c4bf69de6b70d152704c9d233af208766e45a7499b", kill_on_drop: false }` [INFO] [stdout] 32eeac516e8079498d6b88c4bf69de6b70d152704c9d233af208766e45a7499b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f12fd8929ca11d326f12e951d93d811089c31eea4923924669d52e6d0b05235b [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" "f12fd8929ca11d326f12e951d93d811089c31eea4923924669d52e6d0b05235b", kill_on_drop: false }` [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] 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] | ^^^^^^^ 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/map.rs:1898:34 [INFO] [stdout] | [INFO] [stdout] 1898 | 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/map.rs:1918:34 [INFO] [stdout] | [INFO] [stdout] 1918 | fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [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] [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] 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] | ^^^^^^^ 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/map.rs:1898:34 [INFO] [stdout] | [INFO] [stdout] 1898 | 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/map.rs:1918:34 [INFO] [stdout] | [INFO] [stdout] 1918 | fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `alloc` found for struct `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] | ^^^^^ method not found in `Global` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dealloc` found for struct `Global` in the current scope [INFO] [stdout] --> src/table.rs:1204:20 [INFO] [stdout] | [INFO] [stdout] 1204 | Global.dealloc( [INFO] [stdout] | ^^^^^^^ method not found in `Global` [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: aborting due to 6 previous errors; 3 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` [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[E0599]: no method named `alloc` found for struct `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] | ^^^^^ method not found in `Global` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dealloc` found for struct `Global` in the current scope [INFO] [stdout] --> src/table.rs:1204:20 [INFO] [stdout] | [INFO] [stdout] 1204 | Global.dealloc( [INFO] [stdout] | ^^^^^^^ method not found in `Global` [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: aborting due to 7 previous errors; 3 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: build failed [INFO] running `Command { std: "docker" "inspect" "f12fd8929ca11d326f12e951d93d811089c31eea4923924669d52e6d0b05235b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f12fd8929ca11d326f12e951d93d811089c31eea4923924669d52e6d0b05235b", kill_on_drop: false }` [INFO] [stdout] f12fd8929ca11d326f12e951d93d811089c31eea4923924669d52e6d0b05235b