[INFO] fetching crate rahashmap 0.2.14... [INFO] checking rahashmap-0.2.14 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate rahashmap 0.2.14 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate rahashmap 0.2.14 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0abc22490e0f7cd2bae0e8109b759e64bdf1feae933c1db5fb3785fe2c6a795 [INFO] running `Command { std: "docker" "start" "-a" "d0abc22490e0f7cd2bae0e8109b759e64bdf1feae933c1db5fb3785fe2c6a795", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0abc22490e0f7cd2bae0e8109b759e64bdf1feae933c1db5fb3785fe2c6a795", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0abc22490e0f7cd2bae0e8109b759e64bdf1feae933c1db5fb3785fe2c6a795", kill_on_drop: false }` [INFO] [stdout] d0abc22490e0f7cd2bae0e8109b759e64bdf1feae933c1db5fb3785fe2c6a795 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5361fb01f7bbf3f3ee7fc7b4138f141c45e3582d06b6de739b83fe2566fb2c7e [INFO] running `Command { std: "docker" "start" "-a" "5361fb01f7bbf3f3ee7fc7b4138f141c45e3582d06b6de739b83fe2566fb2c7e", 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` due to 5 previous errors; 5 warnings emitted [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" "5361fb01f7bbf3f3ee7fc7b4138f141c45e3582d06b6de739b83fe2566fb2c7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5361fb01f7bbf3f3ee7fc7b4138f141c45e3582d06b6de739b83fe2566fb2c7e", kill_on_drop: false }` [INFO] [stdout] 5361fb01f7bbf3f3ee7fc7b4138f141c45e3582d06b6de739b83fe2566fb2c7e