[INFO] fetching crate hashbrown_tstd 0.7.1... [INFO] checking hashbrown_tstd-0.7.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate hashbrown_tstd 0.7.1 into /workspace/builds/worker-3-tc2/source [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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hashbrown_tstd 0.7.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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.12) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.2) [INFO] [stderr] Adding rustc-hash v1.0.1 (available: v1.1.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56b643dd95cd5ab584eace8d03449a584c2c1743df10da82d6a3b12ffc50e063 [INFO] running `Command { std: "docker" "start" "-a" "56b643dd95cd5ab584eace8d03449a584c2c1743df10da82d6a3b12ffc50e063", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56b643dd95cd5ab584eace8d03449a584c2c1743df10da82d6a3b12ffc50e063", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56b643dd95cd5ab584eace8d03449a584c2c1743df10da82d6a3b12ffc50e063", kill_on_drop: false }` [INFO] [stdout] 56b643dd95cd5ab584eace8d03449a584c2c1743df10da82d6a3b12ffc50e063 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11cf80d0f98a48db116394ba1e7a2127e476966b0577bc8699d8c7c1fa072591 [INFO] running `Command { std: "docker" "start" "-a" "11cf80d0f98a48db116394ba1e7a2127e476966b0577bc8699d8c7c1fa072591", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking rustc-hash v1.0.1 [INFO] [stderr] Compiling hashbrown_tstd v0.7.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking ahash v0.3.8 [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: `docsrs`, `feature`, and `test` and 31 more [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 ppv-lite86 v0.2.21 [INFO] [stderr] Checking serde_test v1.0.177 [INFO] [stderr] Checking rand_chacha v0.2.2 [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 unresolved module or unlinked crate `hashbrown` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hashbrown`, use `cargo add hashbrown` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> tests/set.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | .map(|_| (rng.sample_iter(&Alphanumeric).take(32).collect())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - .map(|_| (rng.sample_iter(&Alphanumeric).take(32).collect())) [INFO] [stdout] 17 + .map(|_| rng.sample_iter(&Alphanumeric).take(32).collect()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hashbrown_tstd` (test "set") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hashbrown` [INFO] [stdout] --> benches/bench.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use hashbrown::hash_map::DefaultHashBuilder; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `hashbrown` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hashbrown`, use `cargo add hashbrown` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `hashbrown` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hashbrown`, use `cargo add hashbrown` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `hashbrown` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hashbrown`, use `cargo add hashbrown` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hashbrown` [INFO] [stdout] --> tests/hasher.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | check::(); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `hashbrown` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hashbrown`, use `cargo add hashbrown` to add it to your `Cargo.toml` [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] [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: `docsrs`, `feature`, and `test` and 31 more [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] 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 2 previous errors [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 2 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] running `Command { std: "docker" "inspect" "11cf80d0f98a48db116394ba1e7a2127e476966b0577bc8699d8c7c1fa072591", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11cf80d0f98a48db116394ba1e7a2127e476966b0577bc8699d8c7c1fa072591", kill_on_drop: false }` [INFO] [stdout] 11cf80d0f98a48db116394ba1e7a2127e476966b0577bc8699d8c7c1fa072591