[INFO] fetching crate rahashmap 0.2.14... [INFO] checking rahashmap-0.2.14 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate rahashmap 0.2.14 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate rahashmap 0.2.14 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 rahashmap 0.2.14 [INFO] finished tweaking crates.io crate rahashmap 0.2.14 [INFO] tweaked toml for crates.io crate rahashmap 0.2.14 written to /workspace/builds/worker-6/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] 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-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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe35dac2b5dca0dd8ff1f18065daf71addce2a0917c1552ec781583af1224358 [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" "fe35dac2b5dca0dd8ff1f18065daf71addce2a0917c1552ec781583af1224358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe35dac2b5dca0dd8ff1f18065daf71addce2a0917c1552ec781583af1224358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe35dac2b5dca0dd8ff1f18065daf71addce2a0917c1552ec781583af1224358", kill_on_drop: false }` [INFO] [stdout] fe35dac2b5dca0dd8ff1f18065daf71addce2a0917c1552ec781583af1224358 [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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] f87985b3526f195151303afa8a8b39f63627e3177ac6e0e7f11ab46836cbfedb [INFO] running `Command { std: "docker" "start" "-a" "f87985b3526f195151303afa8a8b39f63627e3177ac6e0e7f11ab46836cbfedb", kill_on_drop: false }` [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rahashmap v0.2.14 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::alloc::Alloc` [INFO] [stdout] --> src/table.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use std::alloc::{handle_alloc_error, Alloc, Global, Layout, LayoutErr}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Alloc` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::collections::CollectionAllocErr` [INFO] [stdout] --> src/table.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::CollectionAllocErr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `CollectionAllocErr` in `collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/map.rs:1913:34 [INFO] [stdout] | [INFO] [stdout] 1913 | 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:1933:34 [INFO] [stdout] | [INFO] [stdout] 1933 | 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:1953:34 [INFO] [stdout] | [INFO] [stdout] 1953 | fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::alloc::Alloc` [INFO] [stdout] --> src/table.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use std::alloc::{handle_alloc_error, Alloc, Global, Layout, LayoutErr}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Alloc` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::collections::CollectionAllocErr` [INFO] [stdout] --> src/table.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::CollectionAllocErr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `CollectionAllocErr` in `collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/table.rs:11:61 [INFO] [stdout] | [INFO] [stdout] 11 | use std::alloc::{handle_alloc_error, Alloc, Global, Layout, LayoutErr}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/table.rs:661:71 [INFO] [stdout] | [INFO] [stdout] 661 | fn calculate_layout(capacity: usize) -> Result<(Layout, usize), LayoutErr> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/map.rs:1913:34 [INFO] [stdout] | [INFO] [stdout] 1913 | 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:1933:34 [INFO] [stdout] | [INFO] [stdout] 1933 | 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:1953:34 [INFO] [stdout] | [INFO] [stdout] 1953 | fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/table.rs:11:61 [INFO] [stdout] | [INFO] [stdout] 11 | use std::alloc::{handle_alloc_error, Alloc, Global, Layout, LayoutErr}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/table.rs:661:71 [INFO] [stdout] | [INFO] [stdout] 661 | fn calculate_layout(capacity: usize) -> Result<(Layout, usize), LayoutErr> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `alloc` found for struct `std::alloc::Global` in the current scope [INFO] [stdout] --> src/table.rs:697:29 [INFO] [stdout] | [INFO] [stdout] 697 | let buffer = Global.alloc(layout).map_err(|e| match fallibility { [INFO] [stdout] | ^^^^^ method not found in `std::alloc::Global` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dealloc` found for struct `std::alloc::Global` in the current scope [INFO] [stdout] --> src/table.rs:1131:20 [INFO] [stdout] | [INFO] [stdout] 1131 | Global.dealloc(NonNull::new_unchecked(self.hashes.ptr()).cast(), layout); [INFO] [stdout] | ^^^^^^^ method not found in `std::alloc::Global` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `alloc` found for struct `std::alloc::Global` in the current scope [INFO] [stdout] --> src/table.rs:697:29 [INFO] [stdout] | [INFO] [stdout] 697 | let buffer = Global.alloc(layout).map_err(|e| match fallibility { [INFO] [stdout] | ^^^^^ method not found in `std::alloc::Global` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dealloc` found for struct `std::alloc::Global` in the current scope [INFO] [stdout] --> src/table.rs:1131:20 [INFO] [stdout] | [INFO] [stdout] 1131 | Global.dealloc(NonNull::new_unchecked(self.hashes.ptr()).cast(), layout); [INFO] [stdout] | ^^^^^^^ method not found in `std::alloc::Global` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 5 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 `rahashmap` [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 4 previous errors; 5 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" "f87985b3526f195151303afa8a8b39f63627e3177ac6e0e7f11ab46836cbfedb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f87985b3526f195151303afa8a8b39f63627e3177ac6e0e7f11ab46836cbfedb", kill_on_drop: false }` [INFO] [stdout] f87985b3526f195151303afa8a8b39f63627e3177ac6e0e7f11ab46836cbfedb