[INFO] fetching crate rahashmap 0.2.14... [INFO] checking rahashmap-0.2.14 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate rahashmap 0.2.14 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate rahashmap 0.2.14 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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] e23ab1c6b74b677c35a561c803da8fe384c8e7c47d361c1a4ea0078d537c78ba [INFO] running `Command { std: "docker" "start" "-a" "e23ab1c6b74b677c35a561c803da8fe384c8e7c47d361c1a4ea0078d537c78ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e23ab1c6b74b677c35a561c803da8fe384c8e7c47d361c1a4ea0078d537c78ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e23ab1c6b74b677c35a561c803da8fe384c8e7c47d361c1a4ea0078d537c78ba", kill_on_drop: false }` [INFO] [stdout] e23ab1c6b74b677c35a561c803da8fe384c8e7c47d361c1a4ea0078d537c78ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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] 9da175ace59b062d25fba8a0e543ca1ec67522b9b7f2200bbb9387d86b64f49d [INFO] running `Command { std: "docker" "start" "-a" "9da175ace59b062d25fba8a0e543ca1ec67522b9b7f2200bbb9387d86b64f49d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Checking getrandom v0.1.15 [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] 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] 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[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] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::alloc::AllocRef;` [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] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::alloc::AllocRef;` [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] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::alloc::AllocRef;` [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] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::alloc::AllocRef;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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 `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; 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" "9da175ace59b062d25fba8a0e543ca1ec67522b9b7f2200bbb9387d86b64f49d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9da175ace59b062d25fba8a0e543ca1ec67522b9b7f2200bbb9387d86b64f49d", kill_on_drop: false }` [INFO] [stdout] 9da175ace59b062d25fba8a0e543ca1ec67522b9b7f2200bbb9387d86b64f49d