[INFO] crate rahashmap 0.2.14 is already in cache [INFO] checking rahashmap-0.2.14 against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] extracting crate rahashmap 0.2.14 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate rahashmap 0.2.14 on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [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-9/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=forbid" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 56c3d89b08278feac9d4a930c8a0d079d52859fcf720d62b54dee762fa0f1bb8 [INFO] running `"docker" "start" "-a" "56c3d89b08278feac9d4a930c8a0d079d52859fcf720d62b54dee762fa0f1bb8"` [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [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] [stderr] error[E0432]: unresolved import `std::alloc::Alloc` [INFO] [stderr] --> src/table.rs:11:38 [INFO] [stderr] | [INFO] [stderr] 11 | use std::alloc::{handle_alloc_error, Alloc, Global, Layout, LayoutErr}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `Alloc` in `alloc` [INFO] [stderr] | help: a similar name exists in the module: `alloc` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::collections::CollectionAllocErr` [INFO] [stderr] --> src/table.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use std::collections::CollectionAllocErr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `CollectionAllocErr` in `collections` [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/map.rs:1913:34 [INFO] [stderr] | [INFO] [stderr] 1913 | fn next(&mut self) -> Option<(&'a K)> { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/map.rs:1933:34 [INFO] [stderr] | [INFO] [stderr] 1933 | fn next(&mut self) -> Option<(&'a V)> { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/map.rs:1953:34 [INFO] [stderr] | [INFO] [stderr] 1953 | fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stderr] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::alloc::Alloc` [INFO] [stderr] --> src/table.rs:11:38 [INFO] [stderr] | [INFO] [stderr] 11 | use std::alloc::{handle_alloc_error, Alloc, Global, Layout, LayoutErr}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `Alloc` in `alloc` [INFO] [stderr] | help: a similar name exists in the module: `alloc` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::collections::CollectionAllocErr` [INFO] [stderr] --> src/table.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use std::collections::CollectionAllocErr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `CollectionAllocErr` in `collections` [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/map.rs:1913:34 [INFO] [stderr] | [INFO] [stderr] 1913 | fn next(&mut self) -> Option<(&'a K)> { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/map.rs:1933:34 [INFO] [stderr] | [INFO] [stderr] 1933 | fn next(&mut self) -> Option<(&'a V)> { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/map.rs:1953:34 [INFO] [stderr] | [INFO] [stderr] 1953 | fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stderr] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `alloc` found for struct `std::alloc::Global` in the current scope [INFO] [stderr] --> src/table.rs:697:29 [INFO] [stderr] | [INFO] [stderr] 697 | let buffer = Global.alloc(layout).map_err(|e| match fallibility { [INFO] [stderr] | ^^^^^ method not found in `std::alloc::Global` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::alloc::AllocRef;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `dealloc` found for struct `std::alloc::Global` in the current scope [INFO] [stderr] --> src/table.rs:1131:20 [INFO] [stderr] | [INFO] [stderr] 1131 | Global.dealloc(NonNull::new_unchecked(self.hashes.ptr()).cast(), layout); [INFO] [stderr] | ^^^^^^^ method not found in `std::alloc::Global` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::alloc::AllocRef;` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [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] [stderr] error[E0599]: no method named `alloc` found for struct `std::alloc::Global` in the current scope [INFO] [stderr] --> src/table.rs:697:29 [INFO] [stderr] | [INFO] [stderr] 697 | let buffer = Global.alloc(layout).map_err(|e| match fallibility { [INFO] [stderr] | ^^^^^ method not found in `std::alloc::Global` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::alloc::AllocRef;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `dealloc` found for struct `std::alloc::Global` in the current scope [INFO] [stderr] --> src/table.rs:1131:20 [INFO] [stderr] | [INFO] [stderr] 1131 | Global.dealloc(NonNull::new_unchecked(self.hashes.ptr()).cast(), layout); [INFO] [stderr] | ^^^^^^^ method not found in `std::alloc::Global` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::alloc::AllocRef;` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `rahashmap`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "56c3d89b08278feac9d4a930c8a0d079d52859fcf720d62b54dee762fa0f1bb8"` [INFO] running `"docker" "rm" "-f" "56c3d89b08278feac9d4a930c8a0d079d52859fcf720d62b54dee762fa0f1bb8"` [INFO] [stdout] 56c3d89b08278feac9d4a930c8a0d079d52859fcf720d62b54dee762fa0f1bb8