[INFO] fetching crate hashbrown_tstd 0.7.1... [INFO] checking hashbrown_tstd-0.7.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate hashbrown_tstd 0.7.1 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate hashbrown_tstd 0.7.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hashbrown_tstd 0.7.1 [INFO] finished tweaking crates.io crate hashbrown_tstd 0.7.1 [INFO] tweaked toml for crates.io crate hashbrown_tstd 0.7.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 38 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.3.8 (available: v0.8.11) [INFO] [stderr] Adding getrandom v0.1.16 (available: v0.2.15) [INFO] [stderr] Adding rand v0.7.3 (available: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (available: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (available: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (available: v0.3.2) [INFO] [stderr] Adding rand_pcg v0.2.1 (available: v0.3.1) [INFO] [stderr] Adding rustc-hash v1.0.1 (available: v1.1.0) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded doc-comment v0.3.3 [INFO] [stderr] Downloaded rustc-hash v1.0.1 [INFO] [stderr] Downloaded serde_test v1.0.177 [INFO] [stderr] Downloaded ahash v0.3.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b9afde8329a38bbb5370f63f96623d210fb7302c06282721a56d8f89b0a2cac [INFO] running `Command { std: "docker" "start" "-a" "4b9afde8329a38bbb5370f63f96623d210fb7302c06282721a56d8f89b0a2cac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b9afde8329a38bbb5370f63f96623d210fb7302c06282721a56d8f89b0a2cac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b9afde8329a38bbb5370f63f96623d210fb7302c06282721a56d8f89b0a2cac", kill_on_drop: false }` [INFO] [stdout] 4b9afde8329a38bbb5370f63f96623d210fb7302c06282721a56d8f89b0a2cac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 809cb966e5b56c1ae70af9ceaf7e0bbbd57ebaf07e33bd5a8c9e200be4da6c0b [INFO] running `Command { std: "docker" "start" "-a" "809cb966e5b56c1ae70af9ceaf7e0bbbd57ebaf07e33bd5a8c9e200be4da6c0b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling hashbrown_tstd v0.7.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking rustc-hash v1.0.1 [INFO] [stderr] Checking serde_test v1.0.177 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stdout] warning: unexpected `cfg` condition name: `has_extern_crate_alloc` [INFO] [stdout] --> src/lib.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(has_extern_crate_alloc)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_extern_crate_alloc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_extern_crate_alloc)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_extern_crate_alloc` [INFO] [stdout] --> src/lib.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | #[cfg(not(has_extern_crate_alloc))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_extern_crate_alloc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_extern_crate_alloc)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/raw/sse2.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand v0.7.3 [INFO] [stdout] error[E0432]: unresolved import `hashbrown` [INFO] [stdout] --> tests/set.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hashbrown::HashSet; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `hashbrown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hashbrown` [INFO] [stdout] --> benches/bench.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use hashbrown::hash_map::DefaultHashBuilder; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `hashbrown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hashbrown` [INFO] [stdout] --> tests/hasher.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use hashbrown::HashSet; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `hashbrown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hashbrown` [INFO] [stdout] --> benches/bench.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use hashbrown::HashMap; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `hashbrown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hashbrown` [INFO] [stdout] --> tests/hasher.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | check::(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `hashbrown` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 5 + use hashbrown_tstd::hash_map; [INFO] [stdout] | [INFO] [stdout] help: if you import `hash_map`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 26 - check::(); [INFO] [stdout] 26 + check::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hashbrown_tstd` (test "set") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hashbrown_tstd` (test "hasher") due to 3 previous errors [INFO] [stdout] warning: unexpected `cfg` condition name: `has_extern_crate_alloc` [INFO] [stdout] --> src/lib.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(has_extern_crate_alloc)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_extern_crate_alloc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_extern_crate_alloc)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_extern_crate_alloc` [INFO] [stdout] --> src/lib.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | #[cfg(not(has_extern_crate_alloc))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_extern_crate_alloc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_extern_crate_alloc)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/raw/sse2.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hashbrown_tstd` (bench "bench") due to 3 previous errors [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/set.rs:1841:34 [INFO] [stdout] | [INFO] [stdout] 1841 | struct Foo(&'static str, i32); [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Foo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/map.rs:3630:21 [INFO] [stdout] | [INFO] [stdout] 3630 | a.insert(key.clone(), value.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/map.rs:3630:36 [INFO] [stdout] | [INFO] [stdout] 3630 | a.insert(key.clone(), value.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/map.rs:3634:26 [INFO] [stdout] | [INFO] [stdout] 3634 | match a.entry(key.clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/map.rs:3649:26 [INFO] [stdout] | [INFO] [stdout] 3649 | match a.entry(key.clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/map.rs:3653:31 [INFO] [stdout] | [INFO] [stdout] 3653 | e.insert(value.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "809cb966e5b56c1ae70af9ceaf7e0bbbd57ebaf07e33bd5a8c9e200be4da6c0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "809cb966e5b56c1ae70af9ceaf7e0bbbd57ebaf07e33bd5a8c9e200be4da6c0b", kill_on_drop: false }` [INFO] [stdout] 809cb966e5b56c1ae70af9ceaf7e0bbbd57ebaf07e33bd5a8c9e200be4da6c0b