[INFO] fetching crate sharded 0.3.0...
[INFO] testing sharded-0.3.0 against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6
[INFO] extracting crate sharded 0.3.0 into /workspace/builds/worker-5-tc1/source
[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-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate sharded 0.3.0 on toolchain 1ef7943ee607160a564655b6596f83670ef95df5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "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" "+1ef7943ee607160a564655b6596f83670ef95df5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 11 packages to latest compatible versions
[INFO] [stderr]       Adding hashbrown v0.12.3 (available: v0.16.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dcdc3d0d783aee4643fe1c329950673c46976dbfb82df423fb6d16ecc7c76a8b
[INFO] running `Command { std: "docker" "start" "-a" "dcdc3d0d783aee4643fe1c329950673c46976dbfb82df423fb6d16ecc7c76a8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dcdc3d0d783aee4643fe1c329950673c46976dbfb82df423fb6d16ecc7c76a8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dcdc3d0d783aee4643fe1c329950673c46976dbfb82df423fb6d16ecc7c76a8b", kill_on_drop: false }`
[INFO] [stdout] dcdc3d0d783aee4643fe1c329950673c46976dbfb82df423fb6d16ecc7c76a8b
[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" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 33f73b718c29467c67aecb16702fe4eabbe2e15da017927620992fa0a3a9e75b
[INFO] running `Command { std: "docker" "start" "-a" "33f73b718c29467c67aecb16702fe4eabbe2e15da017927620992fa0a3a9e75b", kill_on_drop: false }`
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling sharded v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[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]     |                     --             -- the lifetime is named here         ^^ the same lifetime is elided here
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 297 -     pub fn get<'a>(&'a self, key: &'a K) -> Option<MappedRwLockReadGuard<'_, V>>
[INFO] [stdout] 297 +     pub fn get<'a>(&'a self, key: &'a K) -> Option<MappedRwLockReadGuard<'a, V>>
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.84s
[INFO] running `Command { std: "docker" "inspect" "33f73b718c29467c67aecb16702fe4eabbe2e15da017927620992fa0a3a9e75b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "33f73b718c29467c67aecb16702fe4eabbe2e15da017927620992fa0a3a9e75b", kill_on_drop: false }`
[INFO] [stdout] 33f73b718c29467c67aecb16702fe4eabbe2e15da017927620992fa0a3a9e75b
[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" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 32d8902a02bd6645aa81d1becc382d91c075f89455755d4e74bbe1d40d15ab76
[INFO] running `Command { std: "docker" "start" "-a" "32d8902a02bd6645aa81d1becc382d91c075f89455755d4e74bbe1d40d15ab76", kill_on_drop: false }`
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[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]     |                     --             -- the lifetime is named here         ^^ the same lifetime is elided here
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 297 -     pub fn get<'a>(&'a self, key: &'a K) -> Option<MappedRwLockReadGuard<'_, V>>
[INFO] [stdout] 297 +     pub fn get<'a>(&'a self, key: &'a K) -> Option<MappedRwLockReadGuard<'a, V>>
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling sharded v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[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]     |                     --             -- the lifetime is named here         ^^ the same lifetime is elided here
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 297 -     pub fn get<'a>(&'a self, key: &'a K) -> Option<MappedRwLockReadGuard<'_, V>>
[INFO] [stdout] 297 +     pub fn get<'a>(&'a self, key: &'a K) -> Option<MappedRwLockReadGuard<'a, V>>
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.65s
[INFO] running `Command { std: "docker" "inspect" "32d8902a02bd6645aa81d1becc382d91c075f89455755d4e74bbe1d40d15ab76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "32d8902a02bd6645aa81d1becc382d91c075f89455755d4e74bbe1d40d15ab76", kill_on_drop: false }`
[INFO] [stdout] 32d8902a02bd6645aa81d1becc382d91c075f89455755d4e74bbe1d40d15ab76
[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" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 7e5459f19de3bbe176bd74eac26fb299b1f0b5bed8fb47d50cba91a22bd6ad46
[INFO] running `Command { std: "docker" "start" "-a" "7e5459f19de3bbe176bd74eac26fb299b1f0b5bed8fb47d50cba91a22bd6ad46", kill_on_drop: false }`
[INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing
[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]     |                     --             -- the lifetime is named here         ^^ the same lifetime is elided here
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     the lifetime is named here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: consistently use `'a`
[INFO] [stderr]     |
[INFO] [stderr] 297 -     pub fn get<'a>(&'a self, key: &'a K) -> Option<MappedRwLockReadGuard<'_, V>>
[INFO] [stderr] 297 +     pub fn get<'a>(&'a self, key: &'a K) -> Option<MappedRwLockReadGuard<'a, V>>
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: `sharded` (lib) generated 1 warning (run `cargo fix --lib -p sharded` to apply 1 suggestion)
[INFO] [stderr] warning: `sharded` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sharded-2afce41c2b286c20)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test tests::test_insert_values ... ok
[INFO] [stdout] test tests::test_other_deadlock ... ok
[INFO] [stderr]    Doc-tests sharded
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.02s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test src/lib.rs - ConcurrentHashMap<K,V,S,N>::get (line 288) ... FAILED
[INFO] [stdout] test src/lib.rs - IntoIter (line 364) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 42) ... 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>::capacity (line 269) ... FAILED
[INFO] [stdout] test src/lib.rs - ConcurrentHashMap<K,V,S,N>::with_hasher (line 191) ... FAILED
[INFO] [stdout] test src/lib.rs - ConcurrentHashMap<K,V,RandomState,DEFAULT_SHARD_COUNT>::new (line 146) ... ok
[INFO] [stdout] test src/lib.rs - ConcurrentHashMap<K,V,RandomState,DEFAULT_SHARD_COUNT>::with_capacity (line 159) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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: `Option<lock_api::rwlock::MappedRwLockReadGuard<'_, parking_lot::raw_rwlock::RawRwLock, &str>>` does not implement `PartialEq<Option<&&str>>`
[INFO] [stdout]  --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/option.rs:599:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Option<lock_api::rwlock::MappedRwLockReadGuard<'_, parking_lot::raw_rwlock::RawRwLock, &str>>` is defined in another crate
[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: `lock_api::rwlock::MappedRwLockReadGuard<'_, parking_lot::raw_rwlock::RawRwLock, &str>` does not implement `PartialEq`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lock_api-0.4.14/src/rwlock.rs:2795:1
[INFO] [stdout]      |
[INFO] [stdout] 2795 | pub struct MappedRwLockReadGuard<'a, R: RawRwLock, T: ?Sized> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `lock_api::rwlock::MappedRwLockReadGuard<'_, parking_lot::raw_rwlock::RawRwLock, &str>` is defined in another crate
[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 - 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/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/convert/mod.rs:592:8
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `into_iter` exists for struct `ConcurrentHashMap<_, _, _, _>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/lib.rs:371:16
[INFO] [stdout]     |
[INFO] [stdout]  10 | let iter = map.into_iter();
[INFO] [stdout]     |                ^^^^^^^^^ method cannot be called on `ConcurrentHashMap<_, _, _, _>` due to unsatisfied trait bounds
[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 - (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>::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`
[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<_, _, 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::<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<_, _, 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<_, _, 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>::capacity (line 269) stdout ----
[INFO] [stdout] Test executable failed (exit status: 101).
[INFO] [stdout] 
[INFO] [stdout] stderr:
[INFO] [stdout] 
[INFO] [stdout] thread 'main' (118) panicked at src/lib.rs:7:1:
[INFO] [stdout] assertion failed: map.capacity() >= 100
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x6486820d1e92 - std::backtrace_rs::backtrace::libunwind::trace::h786de35fecf3582f
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x6486820d1e92 - std::backtrace_rs::backtrace::trace_unsynchronized::h4a7da1a2a64387f1
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x6486820d1e92 - std::sys::backtrace::_print_fmt::h6bd7d500070c788c
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x6486820d1e92 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h6d82c1afff976903
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x6486820e0c7f - core::fmt::rt::Argument::fmt::hc4ce6d643d397690
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x6486820e0c7f - core::fmt::write::hb1e7ca88b6a3936e
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/fmt/mod.rs:1469:25
[INFO] [stdout]    6:     0x6486820afe83 - std::io::default_write_fmt::hd5a9ffaa98f14929
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x6486820afe83 - std::io::Write::write_fmt::hc04a1e5003ed78ae
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x6486820b5742 - std::sys::backtrace::BacktraceLock::print::ha2430613ee79d059
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x6486820b716c - std::panicking::default_hook::{{closure}}::hdbd2db9e5c303cf6
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x6486820b6fc6 - std::panicking::default_hook::hed93c70cba5fdcf0
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:328:9
[INFO] [stdout]   11:     0x6486820b7745 - std::panicking::panic_with_hook::h3862d766c2cec19b
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:834:13
[INFO] [stdout]   12:     0x6486820b75a6 - std::panicking::panic_handler::{{closure}}::hb95eb402b5e28ee1
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:700:13
[INFO] [stdout]   13:     0x6486820b5879 - std::sys::backtrace::__rust_end_short_backtrace::hf73a26dc1835d85a
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   14:     0x6486820a48ed - __rustc[6ed5915ee467787]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:698:5
[INFO] [stdout]   15:     0x6486820e4260 - core::panicking::panic_fmt::h3454303eb8e6f7cd
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panicking.rs:80:14
[INFO] [stdout]   16:     0x6486820e423c - core::panicking::panic::hb290d809a6d6b140
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panicking.rs:150:5
[INFO] [stdout]   17:     0x648682097e14 - rust_out::main::_doctest_main_src_lib_rs_269_0::had080a85fab0b11e
[INFO] [stdout]   18:     0x648682097d86 - rust_out::main::h4033cd6033bd24e0
[INFO] [stdout]   19:     0x6486820961d3 - core::ops::function::FnOnce::call_once::h41347ff1687e6b73
[INFO] [stdout]   20:     0x648682095e06 - std::sys::backtrace::__rust_begin_short_backtrace::h3dc8794c0fbffb60
[INFO] [stdout]   21:     0x648682095bd9 - std::rt::lang_start::{{closure}}::h1efb547a500af631
[INFO] [stdout]   22:     0x6486820b1030 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h3e39d917a8cc5592
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:287:21
[INFO] [stdout]   23:     0x6486820b1030 - std::panicking::catch_unwind::do_call::hc1ce44ccb31bb18e
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:590:40
[INFO] [stdout]   24:     0x6486820b1030 - std::panicking::catch_unwind::ha27d9fd2a77bbb18
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:553:19
[INFO] [stdout]   25:     0x6486820b1030 - std::panic::catch_unwind::h0b0f1918d1e2eb85
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panic.rs:359:14
[INFO] [stdout]   26:     0x6486820b1030 - std::rt::lang_start_internal::{{closure}}::heeac2294083edcfe
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/rt.rs:175:24
[INFO] [stdout]   27:     0x6486820b1030 - std::panicking::catch_unwind::do_call::h4bb7d51c3842c367
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:590:40
[INFO] [stdout]   28:     0x6486820b1030 - std::panicking::catch_unwind::h1d2f2878ba2618c4
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:553:19
[INFO] [stdout]   29:     0x6486820b1030 - std::panic::catch_unwind::h5070bdf026bf1f78
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panic.rs:359:14
[INFO] [stdout]   30:     0x6486820b1030 - std::rt::lang_start_internal::h9590fa5449576090
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/rt.rs:171:5
[INFO] [stdout]   31:     0x648682095bc1 - std::rt::lang_start::hb5dea8481070e01f
[INFO] [stdout]   32:     0x648682099835 - main
[INFO] [stdout]   33:     0x7e805a5091ca - <unknown>
[INFO] [stdout]   34:     0x7e805a50928b - __libc_start_main
[INFO] [stdout]   35:     0x648682095415 - _start
[INFO] [stdout]   36:                0x0 - <unknown>
[INFO] [stdout] 
[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`
[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<_, _, 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::<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<_, _, 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<_, _, 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] 
[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.68s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "7e5459f19de3bbe176bd74eac26fb299b1f0b5bed8fb47d50cba91a22bd6ad46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e5459f19de3bbe176bd74eac26fb299b1f0b5bed8fb47d50cba91a22bd6ad46", kill_on_drop: false }`
[INFO] [stdout] 7e5459f19de3bbe176bd74eac26fb299b1f0b5bed8fb47d50cba91a22bd6ad46
