[INFO] fetching crate dashmap-shard 0.1.1... [INFO] testing dashmap-shard-0.1.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate dashmap-shard 0.1.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate dashmap-shard 0.1.1 [INFO] finished tweaking crates.io crate dashmap-shard 0.1.1 [INFO] tweaked toml for crates.io crate dashmap-shard 0.1.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dashmap-shard 0.1.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 41 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.2.19 (available: v0.8.12) [INFO] [stderr] Adding autocfg v0.1.8 (available: v1.5.0) [INFO] [stderr] Adding rand v0.5.6 (available: v0.9.2) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.1.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-std-workspace-core v1.0.1 [INFO] [stderr] Downloaded serde_test v1.0.177 [INFO] [stderr] Downloaded rustc-std-workspace-alloc v1.0.1 [INFO] [stderr] Downloaded doc-comment v0.3.4 [INFO] [stderr] Downloaded ahash v0.2.19 [INFO] [stderr] Downloaded compiler_builtins v0.1.160 [INFO] [stderr] Downloaded rand v0.5.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84296b574242d3543f36eb76da45764ba4253cd22fe66924817e0549a5066c89 [INFO] running `Command { std: "docker" "start" "-a" "84296b574242d3543f36eb76da45764ba4253cd22fe66924817e0549a5066c89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84296b574242d3543f36eb76da45764ba4253cd22fe66924817e0549a5066c89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84296b574242d3543f36eb76da45764ba4253cd22fe66924817e0549a5066c89", kill_on_drop: false }` [INFO] [stdout] 84296b574242d3543f36eb76da45764ba4253cd22fe66924817e0549a5066c89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27c2f53aa09b3e920d37544f843df708a246cd4930fa6f835b20e5c2e62b07ba [INFO] running `Command { std: "docker" "start" "-a" "27c2f53aa09b3e920d37544f843df708a246cd4930fa6f835b20e5c2e62b07ba", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling dashmap-shard v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling ahash v0.2.19 [INFO] [stdout] warning: unexpected `cfg` condition name: `has_extern_crate_alloc` [INFO] [stdout] --> src/lib.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[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:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | #[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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/map.rs:1953:34 [INFO] [stdout] | [INFO] [stdout] 1953 | fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1953 - fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] 1953 + fn next(&mut self) -> Option<&'a K > { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/map.rs:1973:34 [INFO] [stdout] | [INFO] [stdout] 1973 | fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1973 - fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] 1973 + fn next(&mut self) -> Option<&'a V > { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/map.rs:1993:34 [INFO] [stdout] | [INFO] [stdout] 1993 | fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1993 - fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] 1993 + fn next(&mut self) -> Option<&'a mut V > { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/map.rs:762:5 [INFO] [stdout] | [INFO] [stdout] 762 | / pub fn get_hash_nocheck_key_value(&self, hash: u64, k: &Q) -> Option<(&K, &V)> [INFO] [stdout] 763 | | where [INFO] [stdout] 764 | | K: Borrow, [INFO] [stdout] 765 | | Q: Hash + Eq, [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.73s [INFO] running `Command { std: "docker" "inspect" "27c2f53aa09b3e920d37544f843df708a246cd4930fa6f835b20e5c2e62b07ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27c2f53aa09b3e920d37544f843df708a246cd4930fa6f835b20e5c2e62b07ba", kill_on_drop: false }` [INFO] [stdout] 27c2f53aa09b3e920d37544f843df708a246cd4930fa6f835b20e5c2e62b07ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a96e4393b8ec8249a0245524b5e1b77c744d4e268716749d0d2dfa72e14e97f [INFO] running `Command { std: "docker" "start" "-a" "3a96e4393b8ec8249a0245524b5e1b77c744d4e268716749d0d2dfa72e14e97f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling doc-comment v0.3.4 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling ahash v0.2.19 [INFO] [stderr] Compiling dashmap-shard v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `has_extern_crate_alloc` [INFO] [stdout] --> src/lib.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[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:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | #[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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/map.rs:1953:34 [INFO] [stdout] | [INFO] [stdout] 1953 | fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1953 - fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] 1953 + fn next(&mut self) -> Option<&'a K > { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/map.rs:1973:34 [INFO] [stdout] | [INFO] [stdout] 1973 | fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1973 - fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] 1973 + fn next(&mut self) -> Option<&'a V > { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/map.rs:1993:34 [INFO] [stdout] | [INFO] [stdout] 1993 | fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1993 - fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] 1993 + fn next(&mut self) -> Option<&'a mut V > { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/map.rs:762:5 [INFO] [stdout] | [INFO] [stdout] 762 | / pub fn get_hash_nocheck_key_value(&self, hash: u64, k: &Q) -> Option<(&K, &V)> [INFO] [stdout] 763 | | where [INFO] [stdout] 764 | | K: Borrow, [INFO] [stdout] 765 | | Q: Hash + Eq, [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_test v1.0.177 [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:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | .map(|_| (rng.sample_iter(&Alphanumeric).take(32).collect())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - .map(|_| (rng.sample_iter(&Alphanumeric).take(32).collect())) [INFO] [stdout] 18 + .map(|_| rng.sample_iter(&Alphanumeric).take(32).collect()) [INFO] [stdout] | [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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dashmap-shard` (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] --> 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 dashmap_shard::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:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[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:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | #[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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/map.rs:1953:34 [INFO] [stdout] | [INFO] [stdout] 1953 | fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1953 - fn next(&mut self) -> Option<(&'a K)> { [INFO] [stdout] 1953 + fn next(&mut self) -> Option<&'a K > { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/map.rs:1973:34 [INFO] [stdout] | [INFO] [stdout] 1973 | fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1973 - fn next(&mut self) -> Option<(&'a V)> { [INFO] [stdout] 1973 + fn next(&mut self) -> Option<&'a V > { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/map.rs:1993:34 [INFO] [stdout] | [INFO] [stdout] 1993 | fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1993 - fn next(&mut self) -> Option<(&'a mut V)> { [INFO] [stdout] 1993 + fn next(&mut self) -> Option<&'a mut V > { [INFO] [stdout] | [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 `dashmap-shard` (test "hasher") due to 2 previous errors [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/set.rs:1824:34 [INFO] [stdout] | [INFO] [stdout] 1824 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/map.rs:762:5 [INFO] [stdout] | [INFO] [stdout] 762 | / pub fn get_hash_nocheck_key_value(&self, hash: u64, k: &Q) -> Option<(&K, &V)> [INFO] [stdout] 763 | | where [INFO] [stdout] 764 | | K: Borrow, [INFO] [stdout] 765 | | Q: Hash + Eq, [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/map.rs:3403:21 [INFO] [stdout] | [INFO] [stdout] 3403 | 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:3403:36 [INFO] [stdout] | [INFO] [stdout] 3403 | 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:3407:26 [INFO] [stdout] | [INFO] [stdout] 3407 | 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:3422:26 [INFO] [stdout] | [INFO] [stdout] 3422 | 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:3426:31 [INFO] [stdout] | [INFO] [stdout] 3426 | 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" "3a96e4393b8ec8249a0245524b5e1b77c744d4e268716749d0d2dfa72e14e97f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a96e4393b8ec8249a0245524b5e1b77c744d4e268716749d0d2dfa72e14e97f", kill_on_drop: false }` [INFO] [stdout] 3a96e4393b8ec8249a0245524b5e1b77c744d4e268716749d0d2dfa72e14e97f