[INFO] fetching crate collection_traits 0.0.2... [INFO] checking collection_traits-0.0.2 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] extracting crate collection_traits 0.0.2 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate collection_traits 0.0.2 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate collection_traits 0.0.2 [INFO] finished tweaking crates.io crate collection_traits 0.0.2 [INFO] tweaked toml for crates.io crate collection_traits 0.0.2 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f7c7890f284810255fbf0be184535387ff62bb220a926a2bb87c81932eeeaec [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" "3f7c7890f284810255fbf0be184535387ff62bb220a926a2bb87c81932eeeaec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f7c7890f284810255fbf0be184535387ff62bb220a926a2bb87c81932eeeaec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f7c7890f284810255fbf0be184535387ff62bb220a926a2bb87c81932eeeaec", kill_on_drop: false }` [INFO] [stdout] 3f7c7890f284810255fbf0be184535387ff62bb220a926a2bb87c81932eeeaec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4dbaeae89c736b36113d67c75ac58de39d5155d9bf1bba4b517efbd82eb27c7d [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" "4dbaeae89c736b36113d67c75ac58de39d5155d9bf1bba4b517efbd82eb27c7d", kill_on_drop: false }` [INFO] [stderr] Checking collection_traits v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::collections::hash_state` [INFO] [stdout] --> src/impls/hash_map.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | 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::collections::hash_state` [INFO] [stdout] --> src/impls/hash_set.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | 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::collections::hash_state` [INFO] [stdout] --> src/impls/hash_map.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | 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::collections::hash_state` [INFO] [stdout] --> src/impls/hash_set.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::hash_state::HashState; [INFO] [stdout] | ^^^^^^^^^^ could not find `hash_state` in `collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorrowMut` [INFO] [stdout] --> src/traits.rs:129:31 [INFO] [stdout] | [INFO] [stdout] 129 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow` [INFO] [stdout] --> src/traits.rs:156:23 [INFO] [stdout] | [INFO] [stdout] 156 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorrowMut` [INFO] [stdout] --> src/traits.rs:129:31 [INFO] [stdout] | [INFO] [stdout] 129 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow` [INFO] [stdout] --> src/traits.rs:156:23 [INFO] [stdout] | [INFO] [stdout] 156 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Key` not found for `T` [INFO] [stdout] --> src/impls/core.rs:135:65 [INFO] [stdout] | [INFO] [stdout] 135 | where T: NewtypeDeref, T::Target: assoc::ContainsKey, T::Key: Borrow, Q: Ord [INFO] [stdout] | ^^^ associated type `Key` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Key` not found for `T` [INFO] [stdout] --> src/impls/core.rs:135:65 [INFO] [stdout] | [INFO] [stdout] 135 | where T: NewtypeDeref, T::Target: assoc::ContainsKey, T::Key: Borrow, Q: Ord [INFO] [stdout] | ^^^ associated type `Key` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Key` not found for `T` [INFO] [stdout] --> src/impls/core.rs:141:62 [INFO] [stdout] | [INFO] [stdout] 141 | where T: NewtypeDerefMut, T::Target: assoc::Erase, T::Key: Borrow, Q: Ord [INFO] [stdout] | ^^^ associated type `Key` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Key` not found for `T` [INFO] [stdout] --> src/impls/core.rs:141:62 [INFO] [stdout] | [INFO] [stdout] 141 | where T: NewtypeDerefMut, T::Target: assoc::Erase, T::Key: Borrow, Q: Ord [INFO] [stdout] | ^^^ associated type `Key` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Key` not found for `T` [INFO] [stdout] --> src/impls/core.rs:162:60 [INFO] [stdout] | [INFO] [stdout] 162 | where T: NewtypeDeref, T::Target: map::_Get<'a, Q>, T::Key: Borrow, Q: Ord [INFO] [stdout] | ^^^ associated type `Key` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Key` not found for `T` [INFO] [stdout] --> src/impls/core.rs:162:60 [INFO] [stdout] | [INFO] [stdout] 162 | where T: NewtypeDeref, T::Target: map::_Get<'a, Q>, T::Key: Borrow, Q: Ord [INFO] [stdout] | ^^^ associated type `Key` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Key` not found for `T` [INFO] [stdout] --> src/impls/core.rs:168:55 [INFO] [stdout] | [INFO] [stdout] 168 | where T: NewtypeDeref, T::Target: map::Get, T::Key: Borrow, Q: Ord [INFO] [stdout] | ^^^ associated type `Key` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Key` not found for `T` [INFO] [stdout] --> src/impls/core.rs:168:55 [INFO] [stdout] | [INFO] [stdout] 168 | where T: NewtypeDeref, T::Target: map::Get, T::Key: Borrow, Q: Ord [INFO] [stdout] | ^^^ associated type `Key` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Key` not found for `T` [INFO] [stdout] --> src/impls/core.rs:174:66 [INFO] [stdout] | [INFO] [stdout] 174 | where T: NewtypeDerefMut, T::Target: map::_GetMut<'a, Q>, T::Key: Borrow, Q: Ord [INFO] [stdout] | ^^^ associated type `Key` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Key` not found for `T` [INFO] [stdout] --> src/impls/core.rs:174:66 [INFO] [stdout] | [INFO] [stdout] 174 | where T: NewtypeDerefMut, T::Target: map::_GetMut<'a, Q>, T::Key: Borrow, Q: Ord [INFO] [stdout] | ^^^ associated type `Key` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Key` not found for `T` [INFO] [stdout] --> src/impls/core.rs:180:61 [INFO] [stdout] | [INFO] [stdout] 180 | where T: NewtypeDerefMut, T::Target: map::GetMut, T::Key: Borrow, Q: Ord [INFO] [stdout] | ^^^ associated type `Key` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Key` not found for `T` [INFO] [stdout] --> src/impls/core.rs:180:61 [INFO] [stdout] | [INFO] [stdout] 180 | where T: NewtypeDerefMut, T::Target: map::GetMut, T::Key: Borrow, Q: Ord [INFO] [stdout] | ^^^ associated type `Key` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Key` not found for `T` [INFO] [stdout] --> src/impls/core.rs:192:61 [INFO] [stdout] | [INFO] [stdout] 192 | where T: NewtypeDerefMut, T::Target: map::Remove, T::Key: Borrow, Q: Ord [INFO] [stdout] | ^^^ associated type `Key` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Key` not found for `T` [INFO] [stdout] --> src/impls/core.rs:192:61 [INFO] [stdout] | [INFO] [stdout] 192 | where T: NewtypeDerefMut, T::Target: map::Remove, T::Key: Borrow, Q: Ord [INFO] [stdout] | ^^^ associated type `Key` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] [INFO] [stderr] error: could not compile `collection_traits` [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: build failed [INFO] running `Command { std: "docker" "inspect" "4dbaeae89c736b36113d67c75ac58de39d5155d9bf1bba4b517efbd82eb27c7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dbaeae89c736b36113d67c75ac58de39d5155d9bf1bba4b517efbd82eb27c7d", kill_on_drop: false }` [INFO] [stdout] 4dbaeae89c736b36113d67c75ac58de39d5155d9bf1bba4b517efbd82eb27c7d