[INFO] fetching crate hashmap2 0.2.0... [INFO] checking hashmap2-0.2.0 against try#3bb2879ea9e58d65b875f9a98df44f4a43ce2597 for pr-85387 [INFO] extracting crate hashmap2 0.2.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate hashmap2 0.2.0 on toolchain 3bb2879ea9e58d65b875f9a98df44f4a43ce2597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hashmap2 0.2.0 [INFO] finished tweaking crates.io crate hashmap2 0.2.0 [INFO] tweaked toml for crates.io crate hashmap2 0.2.0 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ce2eebec9360ffb94a67f8ff27a0424ff04c7854ce5f06acdb2f76d1fc291bc [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" "7ce2eebec9360ffb94a67f8ff27a0424ff04c7854ce5f06acdb2f76d1fc291bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ce2eebec9360ffb94a67f8ff27a0424ff04c7854ce5f06acdb2f76d1fc291bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ce2eebec9360ffb94a67f8ff27a0424ff04c7854ce5f06acdb2f76d1fc291bc", kill_on_drop: false }` [INFO] [stdout] 7ce2eebec9360ffb94a67f8ff27a0424ff04c7854ce5f06acdb2f76d1fc291bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15de0aee3ebf5cb6a808b8507fb0f6c09b1b0b70e2fe0e3b4b6305c8167e212c [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" "15de0aee3ebf5cb6a808b8507fb0f6c09b1b0b70e2fe0e3b4b6305c8167e212c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking hashmap2 v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | dropck_parametricity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe_no_drop_flag, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | dropck_parametricity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe_no_drop_flag, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::heap` [INFO] [stdout] --> src/table.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::heap::{allocate, deallocate, EMPTY}; [INFO] [stdout] | ^^^^ could not find `heap` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::wrapping` [INFO] [stdout] --> src/table.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | use std::num::wrapping::OverflowingOps; [INFO] [stdout] | ^^^^^^^^ could not find `wrapping` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::collections::hash_state` [INFO] [stdout] --> src/table.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | use std::collections::hash_state::HashState; [INFO] [stdout] | ^^^^^^^^^^ could not find `hash_state` in `collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::borrow::IntoCow` [INFO] [stdout] --> src/lib.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | use std::borrow::{Borrow, IntoCow, Cow}; [INFO] [stdout] | ^^^^^^^ no `IntoCow` in `borrow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::collections::hash_state` [INFO] [stdout] --> src/lib.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | use std::collections::hash_state::HashState; [INFO] [stdout] | ^^^^^^^^^^ could not find `hash_state` in `collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::heap` [INFO] [stdout] --> src/table.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::heap::{allocate, deallocate, EMPTY}; [INFO] [stdout] | ^^^^ could not find `heap` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::wrapping` [INFO] [stdout] --> src/table.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | use std::num::wrapping::OverflowingOps; [INFO] [stdout] | ^^^^^^^^ could not find `wrapping` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::collections::hash_state` [INFO] [stdout] --> src/table.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | use std::collections::hash_state::HashState; [INFO] [stdout] | ^^^^^^^^^^ could not find `hash_state` in `collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::borrow::IntoCow` [INFO] [stdout] --> src/lib.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | use std::borrow::{Borrow, IntoCow, Cow}; [INFO] [stdout] | ^^^^^^^ no `IntoCow` in `borrow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::collections::hash_state` [INFO] [stdout] --> src/lib.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | use std::collections::hash_state::HashState; [INFO] [stdout] | ^^^^^^^^^^ could not find `hash_state` in `collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::iter::range_inclusive` [INFO] [stdout] --> src/lib.rs:1782:9 [INFO] [stdout] | [INFO] [stdout] 1782 | use std::iter::range_inclusive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `range_inclusive` in `iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `unsafe_no_drop_flag` in this scope [INFO] [stdout] --> src/table.rs:63:3 [INFO] [stdout] | [INFO] [stdout] 63 | #[unsafe_no_drop_flag] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `unsafe_destructor_blind_to_params` in this scope [INFO] [stdout] --> src/table.rs:1002:7 [INFO] [stdout] | [INFO] [stdout] 1002 | #[unsafe_destructor_blind_to_params] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `unsafe_no_drop_flag` in this scope [INFO] [stdout] --> src/table.rs:63:3 [INFO] [stdout] | [INFO] [stdout] 63 | #[unsafe_no_drop_flag] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `unsafe_destructor_blind_to_params` in this scope [INFO] [stdout] --> src/table.rs:1002:7 [INFO] [stdout] | [INFO] [stdout] 1002 | #[unsafe_destructor_blind_to_params] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `oom` in crate `alloc` [INFO] [stdout] --> src/table.rs:612:40 [INFO] [stdout] | [INFO] [stdout] 612 | if buffer.is_null() { ::alloc::oom() } [INFO] [stdout] | ^^^ not found in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `POST_DROP_USIZE` in module `mem` [INFO] [stdout] --> src/table.rs:1004:56 [INFO] [stdout] | [INFO] [stdout] 1004 | if self.capacity == 0 || self.capacity == mem::POST_DROP_USIZE { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `oom` in crate `alloc` [INFO] [stdout] --> src/table.rs:612:40 [INFO] [stdout] | [INFO] [stdout] 612 | if buffer.is_null() { ::alloc::oom() } [INFO] [stdout] | ^^^ not found in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:1541:44 [INFO] [stdout] | [INFO] [stdout] 1541 | #[inline] fn next(&mut self) -> Option<(&'a K)> { self.inner.next() } [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/lib.rs:1551:44 [INFO] [stdout] | [INFO] [stdout] 1551 | #[inline] fn next(&mut self) -> Option<(&'a V)> { self.inner.next() } [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `POST_DROP_USIZE` in module `mem` [INFO] [stdout] --> src/table.rs:1004:56 [INFO] [stdout] | [INFO] [stdout] 1004 | if self.capacity == 0 || self.capacity == mem::POST_DROP_USIZE { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:1541:44 [INFO] [stdout] | [INFO] [stdout] 1541 | #[inline] fn next(&mut self) -> Option<(&'a K)> { self.inner.next() } [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/lib.rs:1551:44 [INFO] [stdout] | [INFO] [stdout] 1551 | #[inline] fn next(&mut self) -> Option<(&'a V)> { self.inner.next() } [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hashmap2` [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 12 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "15de0aee3ebf5cb6a808b8507fb0f6c09b1b0b70e2fe0e3b4b6305c8167e212c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15de0aee3ebf5cb6a808b8507fb0f6c09b1b0b70e2fe0e3b4b6305c8167e212c", kill_on_drop: false }` [INFO] [stdout] 15de0aee3ebf5cb6a808b8507fb0f6c09b1b0b70e2fe0e3b4b6305c8167e212c