[INFO] fetching crate collection_traits 0.0.2... [INFO] checking collection_traits-0.0.2 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate collection_traits 0.0.2 into /workspace/builds/worker-4-tc2/source [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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate collection_traits 0.0.2 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] [stderr] Adding smallvec v0.1.8 (available: v1.15.1) [INFO] [stderr] Adding vec_map v0.4.0 (available: v0.8.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b8cdc97b39f41d5f95f7a4d22e519489722ac3358cd13fc86f9033b0c6e273d [INFO] running `Command { std: "docker" "start" "-a" "3b8cdc97b39f41d5f95f7a4d22e519489722ac3358cd13fc86f9033b0c6e273d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b8cdc97b39f41d5f95f7a4d22e519489722ac3358cd13fc86f9033b0c6e273d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b8cdc97b39f41d5f95f7a4d22e519489722ac3358cd13fc86f9033b0c6e273d", kill_on_drop: false }` [INFO] [stdout] 3b8cdc97b39f41d5f95f7a4d22e519489722ac3358cd13fc86f9033b0c6e273d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7fe023bc5d030902ba33aae98a1e7e2b7f5707d9b497914447b5338af230020 [INFO] running `Command { std: "docker" "start" "-a" "b7fe023bc5d030902ba33aae98a1e7e2b7f5707d9b497914447b5338af230020", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] 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` and `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[E0635]: unknown feature `hashmap_hasher` [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(hashmap_hasher)] [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] | ^^^ there is an associated type `Key` in the trait `traits::assoc::Base` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `T` with trait `Base` [INFO] [stdout] | [INFO] [stdout] 134 | impl assoc::ContainsKey for T [INFO] [stdout] | +++++++++++++++++++++ [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] | ^^^ there is an associated type `Key` in the trait `traits::assoc::Base` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `T` with trait `Base` [INFO] [stdout] | [INFO] [stdout] 140 | impl assoc::Erase for T [INFO] [stdout] | +++++++++++++++++++++ [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] | ^^^ there is an associated type `Key` in the trait `traits::assoc::Base` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `T` with trait `Base` [INFO] [stdout] | [INFO] [stdout] 161 | impl<'a, T: ?Sized + traits::assoc::Base, Q: ?Sized> map::_Get<'a, Q> for T [INFO] [stdout] | +++++++++++++++++++++ [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] | ^^^ there is an associated type `Key` in the trait `traits::assoc::Base` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `T` with trait `Base` [INFO] [stdout] | [INFO] [stdout] 167 | impl map::Get for T [INFO] [stdout] | +++++++++++++++++++++ [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] | ^^^ there is an associated type `Key` in the trait `traits::assoc::Base` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `T` with trait `Base` [INFO] [stdout] | [INFO] [stdout] 173 | impl<'a, T: ?Sized + traits::assoc::Base, Q: ?Sized> map::_GetMut<'a, Q> for T [INFO] [stdout] | +++++++++++++++++++++ [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] | ^^^ there is an associated type `Key` in the trait `traits::assoc::Base` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `T` with trait `Base` [INFO] [stdout] | [INFO] [stdout] 179 | impl map::GetMut for T [INFO] [stdout] | +++++++++++++++++++++ [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] | ^^^ there is an associated type `Key` in the trait `traits::assoc::Base` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `T` with trait `Base` [INFO] [stdout] | [INFO] [stdout] 191 | impl map::Remove for T [INFO] [stdout] | +++++++++++++++++++++ [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] Some errors have detailed explanations: E0220, E0432, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [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` and `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] [stderr] error: could not compile `collection_traits` (lib test) due to 10 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0635]: unknown feature `hashmap_hasher` [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(hashmap_hasher)] [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] | ^^^ there is an associated type `Key` in the trait `traits::assoc::Base` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `T` with trait `Base` [INFO] [stdout] | [INFO] [stdout] 134 | impl assoc::ContainsKey for T [INFO] [stdout] | +++++++++++++++++++++ [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] | ^^^ there is an associated type `Key` in the trait `traits::assoc::Base` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `T` with trait `Base` [INFO] [stdout] | [INFO] [stdout] 140 | impl assoc::Erase for T [INFO] [stdout] | +++++++++++++++++++++ [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] | ^^^ there is an associated type `Key` in the trait `traits::assoc::Base` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `T` with trait `Base` [INFO] [stdout] | [INFO] [stdout] 161 | impl<'a, T: ?Sized + traits::assoc::Base, Q: ?Sized> map::_Get<'a, Q> for T [INFO] [stdout] | +++++++++++++++++++++ [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] | ^^^ there is an associated type `Key` in the trait `traits::assoc::Base` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `T` with trait `Base` [INFO] [stdout] | [INFO] [stdout] 167 | impl map::Get for T [INFO] [stdout] | +++++++++++++++++++++ [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] | ^^^ there is an associated type `Key` in the trait `traits::assoc::Base` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `T` with trait `Base` [INFO] [stdout] | [INFO] [stdout] 173 | impl<'a, T: ?Sized + traits::assoc::Base, Q: ?Sized> map::_GetMut<'a, Q> for T [INFO] [stdout] | +++++++++++++++++++++ [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] | ^^^ there is an associated type `Key` in the trait `traits::assoc::Base` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `T` with trait `Base` [INFO] [stdout] | [INFO] [stdout] 179 | impl map::GetMut for T [INFO] [stdout] | +++++++++++++++++++++ [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] | ^^^ there is an associated type `Key` in the trait `traits::assoc::Base` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `T` with trait `Base` [INFO] [stdout] | [INFO] [stdout] 191 | impl map::Remove for T [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0432, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] [INFO] [stderr] error: could not compile `collection_traits` (lib) due to 10 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b7fe023bc5d030902ba33aae98a1e7e2b7f5707d9b497914447b5338af230020", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7fe023bc5d030902ba33aae98a1e7e2b7f5707d9b497914447b5338af230020", kill_on_drop: false }` [INFO] [stdout] b7fe023bc5d030902ba33aae98a1e7e2b7f5707d9b497914447b5338af230020