[INFO] fetching crate sharded 0.3.0...
[INFO] testing sharded-0.3.0 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate sharded 0.3.0 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate sharded 0.3.0 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate sharded 0.3.0
[INFO] finished tweaking crates.io crate sharded 0.3.0
[INFO] tweaked toml for crates.io crate sharded 0.3.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 20 packages to latest compatible versions
[INFO] [stderr]       Adding hashbrown v0.12.3 (available: v0.15.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 80afedfba6f5ac671b863d95bb174721217ea022d0862362de3844ea0f04ab62
[INFO] running `Command { std: "docker" "start" "-a" "80afedfba6f5ac671b863d95bb174721217ea022d0862362de3844ea0f04ab62", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "80afedfba6f5ac671b863d95bb174721217ea022d0862362de3844ea0f04ab62", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "80afedfba6f5ac671b863d95bb174721217ea022d0862362de3844ea0f04ab62", kill_on_drop: false }`
[INFO] [stdout] 80afedfba6f5ac671b863d95bb174721217ea022d0862362de3844ea0f04ab62
[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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dcf5719dba4c6064e62c398f5527873969577dc9a767775438436b657b1116b6
[INFO] running `Command { std: "docker" "start" "-a" "dcf5719dba4c6064e62c398f5527873969577dc9a767775438436b657b1116b6", kill_on_drop: false }`
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling sharded v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]    --> src/lib.rs:297:74
[INFO] [stdout]     |
[INFO] [stdout] 297 |     pub fn get<'a>(&'a self, key: &'a K) -> Option<MappedRwLockReadGuard<'_, V>>
[INFO] [stdout]     |                -- lifetime `'a` declared here                            ^^ this elided lifetime gets resolved as `'a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.81s
[INFO] running `Command { std: "docker" "inspect" "dcf5719dba4c6064e62c398f5527873969577dc9a767775438436b657b1116b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dcf5719dba4c6064e62c398f5527873969577dc9a767775438436b657b1116b6", kill_on_drop: false }`
[INFO] [stdout] dcf5719dba4c6064e62c398f5527873969577dc9a767775438436b657b1116b6
[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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 69c72b3b0cea1312932b651c44f30fe30a07135e95b06374da1ab1f760963cc5
[INFO] running `Command { std: "docker" "start" "-a" "69c72b3b0cea1312932b651c44f30fe30a07135e95b06374da1ab1f760963cc5", kill_on_drop: false }`
[INFO] [stderr]    Compiling sharded v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]    --> src/lib.rs:297:74
[INFO] [stdout]     |
[INFO] [stdout] 297 |     pub fn get<'a>(&'a self, key: &'a K) -> Option<MappedRwLockReadGuard<'_, V>>
[INFO] [stdout]     |                -- lifetime `'a` declared here                            ^^ this elided lifetime gets resolved as `'a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]    --> src/lib.rs:297:74
[INFO] [stdout]     |
[INFO] [stdout] 297 |     pub fn get<'a>(&'a self, key: &'a K) -> Option<MappedRwLockReadGuard<'_, V>>
[INFO] [stdout]     |                -- lifetime `'a` declared here                            ^^ this elided lifetime gets resolved as `'a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s
[INFO] running `Command { std: "docker" "inspect" "69c72b3b0cea1312932b651c44f30fe30a07135e95b06374da1ab1f760963cc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "69c72b3b0cea1312932b651c44f30fe30a07135e95b06374da1ab1f760963cc5", kill_on_drop: false }`
[INFO] [stdout] 69c72b3b0cea1312932b651c44f30fe30a07135e95b06374da1ab1f760963cc5
[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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 3e0a6bff9bd759d34882e8a15f85ed8c0b1cfbfc0c05b10d8edbf51a52936c90
[INFO] running `Command { std: "docker" "start" "-a" "3e0a6bff9bd759d34882e8a15f85ed8c0b1cfbfc0c05b10d8edbf51a52936c90", kill_on_drop: false }`
[INFO] [stderr] warning: elided lifetime has a name
[INFO] [stderr]    --> src/lib.rs:297:74
[INFO] [stderr]     |
[INFO] [stderr] 297 |     pub fn get<'a>(&'a self, key: &'a K) -> Option<MappedRwLockReadGuard<'_, V>>
[INFO] [stderr]     |                -- lifetime `'a` declared here                            ^^ this elided lifetime gets resolved as `'a`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `sharded` (lib) generated 1 warning
[INFO] [stderr] warning: `sharded` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sharded-f4ac7a8115b4981c)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test tests::test_insert_values ... ok
[INFO] [stdout] test tests::test_other_deadlock ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests sharded
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test src/lib.rs - ConcurrentHashMap<K,V,S,N>::with_hasher (line 191) ... FAILED
[INFO] [stdout] test src/lib.rs - IntoIter (line 364) ... FAILED
[INFO] [stdout] test src/lib.rs - ConcurrentHashMap<K,V,S,N>::with_capacity_and_hasher (line 222) ... FAILED
[INFO] [stdout] test src/lib.rs - ConcurrentHashMap<K,V,S,N>::get (line 288) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 42) ... FAILED
[INFO] [stdout] test src/lib.rs - ConcurrentHashMap<K,V,S,N>::capacity (line 269) ... FAILED
[INFO] [stdout] test src/lib.rs - ConcurrentHashMap<K,V,RandomState,DEFAULT_SHARD_COUNT>::with_capacity (line 159) ... ok
[INFO] [stdout] test src/lib.rs - ConcurrentHashMap<K,V,RandomState,DEFAULT_SHARD_COUNT>::new (line 146) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - ConcurrentHashMap<K,V,S,N>::with_hasher (line 191) stdout ----
[INFO] [stdout] error[E0284]: type annotations needed for `ConcurrentHashMap<i32, i32, RandomState, _>`
[INFO] [stdout]    --> src/lib.rs:196:5
[INFO] [stdout]     |
[INFO] [stdout] 8   | let mut map = ConcurrentHashMap::with_hasher(RandomState::new());
[INFO] [stdout]     |     ^^^^^^^   -------------------------------------------------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] note: required by a const generic parameter in `ConcurrentHashMap::<K, V, S, N>::with_hasher`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:175:28
[INFO] [stdout]     |
[INFO] [stdout] 175 | impl<K, V, S: BuildHasher, const N: usize> ConcurrentHashMap<K, V, S, N> {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^ required by this const generic parameter in `ConcurrentHashMap::<K, V, S, N>::with_hasher`
[INFO] [stdout] ...
[INFO] [stdout] 199 |     pub fn with_hasher(hash_builder: S) -> ConcurrentHashMap<K, V, S, N>
[INFO] [stdout]     |            ----------- required by a bound in this associated function
[INFO] [stdout] help: consider giving `map` an explicit type, where the value of const parameter `N` is specified
[INFO] [stdout]     |
[INFO] [stdout] 8   | let mut map: ConcurrentHashMap<i32, i32, RandomState, N> = ConcurrentHashMap::with_hasher(RandomState::new());
[INFO] [stdout]     |            +++++++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0284]: type annotations needed for `ConcurrentHashMap<i32, i32, RandomState, _>`
[INFO] [stdout]    --> src/lib.rs:196:5
[INFO] [stdout]     |
[INFO] [stdout] 8   | let mut map = ConcurrentHashMap::with_hasher(RandomState::new());
[INFO] [stdout]     |     ^^^^^^^   ----------------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] note: required by a const generic parameter in `ConcurrentHashMap`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:133:53
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct ConcurrentHashMap<K, V, S = RandomState, const N: usize = DEFAULT_SHARD_COUNT> {
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this const generic parameter in `ConcurrentHashMap`
[INFO] [stdout] help: consider giving `map` an explicit type, where the value of const parameter `N` is specified
[INFO] [stdout]     |
[INFO] [stdout] 8   | let mut map: ConcurrentHashMap<i32, i32, RandomState, N> = ConcurrentHashMap::with_hasher(RandomState::new());
[INFO] [stdout]     |            +++++++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0284]: type annotations needed for `ConcurrentHashMap<i32, i32, RandomState, _>`
[INFO] [stdout]    --> src/lib.rs:196:5
[INFO] [stdout]     |
[INFO] [stdout] 8   | let mut map = ConcurrentHashMap::with_hasher(RandomState::new());
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 9   | map.insert(1, 2);
[INFO] [stdout]     |     ------ type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] note: required by a const generic parameter in `ConcurrentHashMap::<K, V, S, N>::insert`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:175:28
[INFO] [stdout]     |
[INFO] [stdout] 175 | impl<K, V, S: BuildHasher, const N: usize> ConcurrentHashMap<K, V, S, N> {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^ required by this const generic parameter in `ConcurrentHashMap::<K, V, S, N>::insert`
[INFO] [stdout] ...
[INFO] [stdout] 322 |     pub fn insert(&self, k: K, v: V) -> Option<V>
[INFO] [stdout]     |            ------ required by a bound in this associated function
[INFO] [stdout] help: consider giving `map` an explicit type, where the value of const parameter `N` is specified
[INFO] [stdout]     |
[INFO] [stdout] 8   | let mut map: ConcurrentHashMap<i32, i32, RandomState, N> = ConcurrentHashMap::with_hasher(RandomState::new());
[INFO] [stdout]     |            +++++++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0284`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - IntoIter (line 364) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/lib.rs:368:35
[INFO] [stdout]   |
[INFO] [stdout] 7 |   let map = ConcurrentHashMap::from([
[INFO] [stdout]   |  ___________-----------------------_^
[INFO] [stdout]   | |           |
[INFO] [stdout]   | |           arguments to this function are incorrect
[INFO] [stdout] 8 | |     ("a", 1),
[INFO] [stdout] 9 | | ]);
[INFO] [stdout]   | |_^ expected `ConcurrentHashMap<_, _, _, _>`, found `[(&str, {integer}); 1]`
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected struct `ConcurrentHashMap<_, _, _, _>`
[INFO] [stdout]               found array `[(&str, {integer}); 1]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]  --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/convert/mod.rs:585:8
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `ConcurrentHashMap<_, _, _, _>` is not an iterator
[INFO] [stdout]    --> src/lib.rs:371:16
[INFO] [stdout]     |
[INFO] [stdout] 10  | let iter = map.into_iter();
[INFO] [stdout]     |                ^^^^^^^^^ `ConcurrentHashMap<_, _, _, _>` is not an iterator
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:133:1
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct ConcurrentHashMap<K, V, S = RandomState, const N: usize = DEFAULT_SHARD_COUNT> {
[INFO] [stdout]     | ----------------------------------------------------------------------------------------- doesn't satisfy `ConcurrentHashMap<_, _, _, _>: IntoIterator` or `ConcurrentHashMap<_, _, _, _>: Iterator`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `ConcurrentHashMap<_, _, _, _>: Iterator`
[INFO] [stdout]             which is required by `ConcurrentHashMap<_, _, _, _>: IntoIterator`
[INFO] [stdout]             `&ConcurrentHashMap<_, _, _, _>: Iterator`
[INFO] [stdout]             which is required by `&ConcurrentHashMap<_, _, _, _>: IntoIterator`
[INFO] [stdout]             `&mut ConcurrentHashMap<_, _, _, _>: Iterator`
[INFO] [stdout]             which is required by `&mut ConcurrentHashMap<_, _, _, _>: IntoIterator`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - ConcurrentHashMap<K,V,S,N>::with_capacity_and_hasher (line 222) stdout ----
[INFO] [stdout] error[E0284]: type annotations needed for `ConcurrentHashMap<i32, i32, RandomState, _>`
[INFO] [stdout]    --> src/lib.rs:228:5
[INFO] [stdout]     |
[INFO] [stdout] 9   | let mut map = ConcurrentHashMap::with_capacity_and_hasher(10, s);
[INFO] [stdout]     |     ^^^^^^^   -------------------------------------------------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] note: required by a const generic parameter in `ConcurrentHashMap::<K, V, S, N>::with_capacity_and_hasher`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:175:28
[INFO] [stdout]     |
[INFO] [stdout] 175 | impl<K, V, S: BuildHasher, const N: usize> ConcurrentHashMap<K, V, S, N> {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^ required by this const generic parameter in `ConcurrentHashMap::<K, V, S, N>::with_capacity_and_hasher`
[INFO] [stdout] ...
[INFO] [stdout] 230 |     pub fn with_capacity_and_hasher(
[INFO] [stdout]     |            ------------------------ required by a bound in this associated function
[INFO] [stdout] help: consider giving `map` an explicit type, where the value of const parameter `N` is specified
[INFO] [stdout]     |
[INFO] [stdout] 9   | let mut map: ConcurrentHashMap<i32, i32, RandomState, N> = ConcurrentHashMap::with_capacity_and_hasher(10, s);
[INFO] [stdout]     |            +++++++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0284]: type annotations needed for `ConcurrentHashMap<i32, i32, RandomState, _>`
[INFO] [stdout]    --> src/lib.rs:228:5
[INFO] [stdout]     |
[INFO] [stdout] 9   | let mut map = ConcurrentHashMap::with_capacity_and_hasher(10, s);
[INFO] [stdout]     |     ^^^^^^^   ----------------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] note: required by a const generic parameter in `ConcurrentHashMap`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:133:53
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct ConcurrentHashMap<K, V, S = RandomState, const N: usize = DEFAULT_SHARD_COUNT> {
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this const generic parameter in `ConcurrentHashMap`
[INFO] [stdout] help: consider giving `map` an explicit type, where the value of const parameter `N` is specified
[INFO] [stdout]     |
[INFO] [stdout] 9   | let mut map: ConcurrentHashMap<i32, i32, RandomState, N> = ConcurrentHashMap::with_capacity_and_hasher(10, s);
[INFO] [stdout]     |            +++++++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0284]: type annotations needed for `ConcurrentHashMap<i32, i32, RandomState, _>`
[INFO] [stdout]    --> src/lib.rs:228:5
[INFO] [stdout]     |
[INFO] [stdout] 9   | let mut map = ConcurrentHashMap::with_capacity_and_hasher(10, s);
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 10  | map.insert(1, 2);
[INFO] [stdout]     |     ------ type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] note: required by a const generic parameter in `ConcurrentHashMap::<K, V, S, N>::insert`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:175:28
[INFO] [stdout]     |
[INFO] [stdout] 175 | impl<K, V, S: BuildHasher, const N: usize> ConcurrentHashMap<K, V, S, N> {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^ required by this const generic parameter in `ConcurrentHashMap::<K, V, S, N>::insert`
[INFO] [stdout] ...
[INFO] [stdout] 322 |     pub fn insert(&self, k: K, v: V) -> Option<V>
[INFO] [stdout]     |            ------ required by a bound in this associated function
[INFO] [stdout] help: consider giving `map` an explicit type, where the value of const parameter `N` is specified
[INFO] [stdout]     |
[INFO] [stdout] 9   | let mut map: ConcurrentHashMap<i32, i32, RandomState, N> = ConcurrentHashMap::with_capacity_and_hasher(10, s);
[INFO] [stdout]     |            +++++++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0284`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - ConcurrentHashMap<K,V,S,N>::get (line 288) stdout ----
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option<lock_api::rwlock::MappedRwLockReadGuard<'_, parking_lot::raw_rwlock::RawRwLock, &str>>`
[INFO] [stdout]  --> src/lib.rs:294:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | assert_eq!(map.get(&1), Some(&"a"));
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   | |
[INFO] [stdout]   | Option<lock_api::rwlock::MappedRwLockReadGuard<'_, parking_lot::raw_rwlock::RawRwLock, &str>>
[INFO] [stdout]   | Option<&&str>
[INFO] [stdout]   |
[INFO] [stdout] note: the foreign item type `Option<lock_api::rwlock::MappedRwLockReadGuard<'_, parking_lot::raw_rwlock::RawRwLock, &str>>` doesn't implement `PartialEq<Option<&&str>>`
[INFO] [stdout]  --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/option.rs:571:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: not implement `PartialEq<Option<&&str>>`
[INFO] [stdout]   = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option<lock_api::rwlock::MappedRwLockReadGuard<'_, parking_lot::raw_rwlock::RawRwLock, &str>>`
[INFO] [stdout]     --> src/lib.rs:295:1
[INFO] [stdout]      |
[INFO] [stdout] 10   | assert_eq!(map.get(&2), None);
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      | |
[INFO] [stdout]      | Option<lock_api::rwlock::MappedRwLockReadGuard<'_, parking_lot::raw_rwlock::RawRwLock, &str>>
[INFO] [stdout]      | Option<lock_api::rwlock::MappedRwLockReadGuard<'_, parking_lot::raw_rwlock::RawRwLock, &str>>
[INFO] [stdout]      |
[INFO] [stdout] note: the foreign item type `lock_api::rwlock::MappedRwLockReadGuard<'_, parking_lot::raw_rwlock::RawRwLock, &str>` doesn't implement `PartialEq`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lock_api-0.4.12/src/rwlock.rs:2615:1
[INFO] [stdout]      |
[INFO] [stdout] 2615 | pub struct MappedRwLockReadGuard<'a, R: RawRwLock, T: ?Sized> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not implement `PartialEq`
[INFO] [stdout]      = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0369`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 42) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:47:32
[INFO] [stdout]     |
[INFO] [stdout] 8   | assert_eq!(&"Henry", users.get(32).unwrap());
[INFO] [stdout]     |                            --- ^^ expected `&{integer}`, found integer
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:297:12
[INFO] [stdout]     |
[INFO] [stdout] 297 |     pub fn get<'a>(&'a self, key: &'a K) -> Option<MappedRwLockReadGuard<'_, V>>
[INFO] [stdout]     |            ^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 8   | assert_eq!(&"Henry", users.get(&32).unwrap());
[INFO] [stdout]     |                                +
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: can't compare `&&str` with `lock_api::rwlock::MappedRwLockReadGuard<'_, parking_lot::raw_rwlock::RawRwLock, &str>`
[INFO] [stdout]  --> src/lib.rs:47:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | assert_eq!(&"Henry", users.get(32).unwrap());
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `&&str == lock_api::rwlock::MappedRwLockReadGuard<'_, parking_lot::raw_rwlock::RawRwLock, &str>`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `PartialEq<lock_api::rwlock::MappedRwLockReadGuard<'_, parking_lot::raw_rwlock::RawRwLock, &str>>` is not implemented for `&&str`
[INFO] [stdout]   = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - ConcurrentHashMap<K,V,S,N>::capacity (line 269) stdout ----
[INFO] [stdout] Test executable failed (exit status: 101).
[INFO] [stdout] 
[INFO] [stdout] stderr:
[INFO] [stdout] thread 'main' panicked at src/lib.rs:7:1:
[INFO] [stdout] assertion failed: map.capacity() >= 100
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x61f2c9bd749a - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x61f2c9bd749a - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x61f2c9bd749a - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x61f2c9bd749a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x61f2c9bf3f13 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x61f2c9bf3f13 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x61f2c9bd4d43 - std::io::Write::write_fmt::hf1c1dcc8cc1287f0
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x61f2c9bd72e2 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x61f2c9bd82ac - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x61f2c9bd80f2 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:295:9
[INFO] [stdout]   10:     0x61f2c9bd88a7 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:801:13
[INFO] [stdout]   11:     0x61f2c9bd8706 - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:667:13
[INFO] [stdout]   12:     0x61f2c9bd7979 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   13:     0x61f2c9bd83cc - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   14:     0x61f2c9bf30c0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   15:     0x61f2c9bf314c - core::panicking::panic::h993086813d94accc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:152:5
[INFO] [stdout]   16:     0x61f2c9bacd74 - rust_out::main::_doctest_main_src_lib_rs_269_0::h513ba67d3b516dc0
[INFO] [stdout]   17:     0x61f2c9bacce6 - rust_out::main::ha213a30daa5df4da
[INFO] [stdout]   18:     0x61f2c9ba9883 - core::ops::function::FnOnce::call_once::hf7edf7132571051c
[INFO] [stdout]   19:     0x61f2c9ba91f6 - std::sys::backtrace::__rust_begin_short_backtrace::h32fd822fd2ba4079
[INFO] [stdout]   20:     0x61f2c9ba8e59 - std::rt::lang_start::{{closure}}::h4039a1c394ed4f7c
[INFO] [stdout]   21:     0x61f2c9bd2ed7 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hd87d66b906e0ccaf
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:284:13
[INFO] [stdout]   22:     0x61f2c9bd2ed7 - std::panicking::try::do_call::hae3703de71fc9e3a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   23:     0x61f2c9bd2ed7 - std::panicking::try::h1178330e9a2b2645
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   24:     0x61f2c9bd2ed7 - std::panic::catch_unwind::h0acf49d2305d32ad
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   25:     0x61f2c9bd2ed7 - std::rt::lang_start_internal::{{closure}}::h2d95182d798177be
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/rt.rs:174:48
[INFO] [stdout]   26:     0x61f2c9bd2ed7 - std::panicking::try::do_call::hb506f5bfe11fd30c
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   27:     0x61f2c9bd2ed7 - std::panicking::try::h54d825c46bd0fa95
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   28:     0x61f2c9bd2ed7 - std::panic::catch_unwind::hffbb0ad20c4e9fac
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   29:     0x61f2c9bd2ed7 - std::rt::lang_start_internal::h52c291ef1962c925
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/rt.rs:174:20
[INFO] [stdout]   30:     0x61f2c9ba8e37 - std::rt::lang_start::h8c6075cd6f225ba1
[INFO] [stdout]   31:     0x61f2c9bacdb5 - main
[INFO] [stdout]   32:     0x71f90e418d90 - <unknown>
[INFO] [stdout]   33:     0x71f90e418e40 - __libc_start_main
[INFO] [stdout]   34:     0x61f2c9ba8635 - _start
[INFO] [stdout]   35:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 42)
[INFO] [stdout]     src/lib.rs - ConcurrentHashMap<K,V,S,N>::capacity (line 269)
[INFO] [stdout]     src/lib.rs - ConcurrentHashMap<K,V,S,N>::get (line 288)
[INFO] [stdout]     src/lib.rs - ConcurrentHashMap<K,V,S,N>::with_capacity_and_hasher (line 222)
[INFO] [stdout]     src/lib.rs - ConcurrentHashMap<K,V,S,N>::with_hasher (line 191)
[INFO] [stdout]     src/lib.rs - IntoIter (line 364)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "3e0a6bff9bd759d34882e8a15f85ed8c0b1cfbfc0c05b10d8edbf51a52936c90", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3e0a6bff9bd759d34882e8a15f85ed8c0b1cfbfc0c05b10d8edbf51a52936c90", kill_on_drop: false }`
[INFO] [stdout] 3e0a6bff9bd759d34882e8a15f85ed8c0b1cfbfc0c05b10d8edbf51a52936c90
