[INFO] fetching crate cow_hashbrown 0.14.21... [INFO] testing cow_hashbrown-0.14.21 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate cow_hashbrown 0.14.21 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate cow_hashbrown 0.14.21 [INFO] finished tweaking crates.io crate cow_hashbrown 0.14.21 [INFO] tweaked toml for crates.io crate cow_hashbrown 0.14.21 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cow_hashbrown 0.14.21 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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" "+beta-2025-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 78 packages to latest compatible versions [INFO] [stderr] Adding allocator-api2 v0.2.21 (available: v0.3.1) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rkyv v0.7.45 (available: v0.8.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6949fd302541b67e7a3b1fc1cc4fca51f9cef71b59e1ef64597b31fc434f423d [INFO] running `Command { std: "docker" "start" "-a" "6949fd302541b67e7a3b1fc1cc4fca51f9cef71b59e1ef64597b31fc434f423d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6949fd302541b67e7a3b1fc1cc4fca51f9cef71b59e1ef64597b31fc434f423d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6949fd302541b67e7a3b1fc1cc4fca51f9cef71b59e1ef64597b31fc434f423d", kill_on_drop: false }` [INFO] [stdout] 6949fd302541b67e7a3b1fc1cc4fca51f9cef71b59e1ef64597b31fc434f423d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd9912b8ed81e9bbd1ec1df1d39c70dab2dc5fa65f4adddf269facc93789b730 [INFO] running `Command { std: "docker" "start" "-a" "cd9912b8ed81e9bbd1ec1df1d39c70dab2dc5fa65f4adddf269facc93789b730", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling self_cell v1.2.0 [INFO] [stderr] Compiling arc-swap-for-cow v1.7.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling cow_hashbrown v0.14.21 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.85s [INFO] running `Command { std: "docker" "inspect" "cd9912b8ed81e9bbd1ec1df1d39c70dab2dc5fa65f4adddf269facc93789b730", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd9912b8ed81e9bbd1ec1df1d39c70dab2dc5fa65f4adddf269facc93789b730", kill_on_drop: false }` [INFO] [stdout] cd9912b8ed81e9bbd1ec1df1d39c70dab2dc5fa65f4adddf269facc93789b730 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f57a3483e9b6085c595ef5883b7cde8a2ba881cde24744257c41c810ca0b6739 [INFO] running `Command { std: "docker" "start" "-a" "f57a3483e9b6085c595ef5883b7cde8a2ba881cde24744257c41c810ca0b6739", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling bytecheck v0.6.12 [INFO] [stderr] Compiling rend v0.4.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling rkyv v0.7.45 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_test v1.0.177 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling bytecheck_derive v0.6.12 [INFO] [stderr] Compiling rkyv_derive v0.7.45 [INFO] [stderr] Compiling ptr_meta v0.1.4 [INFO] [stderr] Compiling cow_hashbrown v0.14.21 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 20.83s [INFO] running `Command { std: "docker" "inspect" "f57a3483e9b6085c595ef5883b7cde8a2ba881cde24744257c41c810ca0b6739", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f57a3483e9b6085c595ef5883b7cde8a2ba881cde24744257c41c810ca0b6739", kill_on_drop: false }` [INFO] [stdout] f57a3483e9b6085c595ef5883b7cde8a2ba881cde24744257c41c810ca0b6739 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7df64fbd774c7db6cea210b7f1631deea8d9cab388caa7b0ea8f544593eb0599 [INFO] running `Command { std: "docker" "start" "-a" "7df64fbd774c7db6cea210b7f1631deea8d9cab388caa7b0ea8f544593eb0599", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cow_hashbrown-d4037a92cfa7eca6) [INFO] [stdout] running 61 tests [INFO] [stdout] test map::test_map::test_behavior_resize_policy ... ok [INFO] [stdout] test map::test_map::test_conflict_remove ... ok [INFO] [stdout] test map::test_map::test_create_capacity_zero ... ok [INFO] [stdout] test map::test_map::test_empty_remove ... ok [INFO] [stdout] test map::test_map::test_empty_entry_ref ... ok [INFO] [stdout] test map::test_map::test_entry ... ok [INFO] [stdout] test map::test_map::test_empty_iter ... ok [INFO] [stdout] test map::test_map::test_entry_and_replace_entry_with ... ok [INFO] [stdout] test map::test_map::test_entry_ref ... ok [INFO] [stdout] test map::test_map::test_entry_ref_and_replace_entry_with ... ok [INFO] [stdout] test map::test_map::test_find ... ok [INFO] [stdout] test map::test_map::test_hashmap_into_iter_bug ... ok [INFO] [stdout] test map::test_map::test_from_iter ... ok [INFO] [stdout] test map::test_map::test_clone_from ... ok [INFO] [stdout] test map::test_map::test_into_keys ... ok [INFO] [stdout] test map::test_map::test_into_values ... ok [INFO] [stdout] test map::test_map::test_is_empty ... ok [INFO] [stdout] test map::test_map::test_expand ... ok [INFO] [stdout] test map::test_map::test_insert ... ok [INFO] [stdout] test map::test_map::test_insert_conflicts ... ok [INFO] [stdout] test map::test_map::test_iterate ... ok [INFO] [stdout] test map::test_map::test_insert_overwrite ... ok [INFO] [stdout] test map::test_map::test_insert_unique_unchecked ... ok [INFO] [stdout] test map::test_map::test_keys ... ok [INFO] [stdout] test map::test_map::test_into_iter_drops ... ok [INFO] [stdout] test map::test_map::test_occupied_entry_ref_key ... ok [INFO] [stdout] test map::test_map::test_drops ... ok [INFO] [stdout] test map::test_map::test_entry_take_doesnt_corrupt ... ok [INFO] [stdout] test map::test_map::test_occupied_entry_key ... ok [INFO] [stdout] test map::test_map::test_clone ... ok [INFO] [stdout] test map::test_map::test_mut_size_hint ... ok [INFO] [stdout] test map::test_map::test_empty_entry ... ok [INFO] [stdout] test map::test_map::test_occupied_entry_replace_entry_with ... ok [INFO] [stdout] test map::test_map::test_remove ... ok [INFO] [stdout] test map::test_map::test_entry_ref_take_doesnt_corrupt ... ok [INFO] [stdout] test map::test_map::test_remove_entry ... ok [INFO] [stdout] test map::test_map::test_try_reserve ... ok [INFO] [stdout] test map::test_map::test_occupied_entry_ref_replace_entry_with ... ok [INFO] [stdout] test map::test_map::test_iter_len ... ok [INFO] [stdout] test map::test_map::test_iter_mut_len ... ok [INFO] [stdout] test map::test_map::test_values ... ok [INFO] [stdout] test map::test_map::test_vacant_entry_ref_key ... ok [INFO] [stdout] test map::test_map::test_values_mut ... ok [INFO] [stdout] test map::test_map::test_zero_capacities ... ok [INFO] [stdout] test raw::test_map::rehash ... ok [INFO] [stdout] test raw::test_map::test_drop_uninitialized ... ok [INFO] [stdout] test map::test_map::test_replace_entry_ref_with_doesnt_corrupt ... ok [INFO] [stdout] test raw::test_map::test_drop_zero_items ... ok [INFO] [stdout] test map::test_map::test_extend_ref_kv_tuple ... ok [INFO] [stdout] test map::test_map::test_show ... ok [INFO] [stdout] test map::test_map::test_size_hint ... ok [INFO] [stdout] test map::test_map::test_vacant_entry_key ... ok [INFO] [stdout] test map::test_map::test_map_drop ... ok [INFO] [stdout] test map::test_map::test_find_mut ... ok [INFO] [stdout] test map::test_map::test_replace_entry_with_doesnt_corrupt ... ok [INFO] [stdout] test map::test_map::test_retain ... ok [INFO] [stdout] test map::test_map::test_capacity_not_less_than_len ... ok [INFO] [stdout] test map::test_map::test_reserve_shrink_to_fit ... ok [INFO] [stdout] test map::test_map::test_clone_from_double_drop - should panic ... ok [INFO] [stdout] test raw::test_map::test_catch_panic_clone_from ... ok [INFO] [stdout] test map::test_map::test_lots_of_insertions ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 61 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 23.63s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running tests/equivalent_trait.rs (/opt/rustwide/target/debug/deps/equivalent_trait-f824763ad68cc893) [INFO] [stdout] running 2 tests [INFO] [stderr] Running tests/hasher.rs (/opt/rustwide/target/debug/deps/hasher-75e8bf8d2db1f29a) [INFO] [stdout] test test_lookup ... ok [INFO] [stderr] Running tests/raw.rs (/opt/rustwide/target/debug/deps/raw-0a1f510fad12bc53) [INFO] [stdout] test test_string_str ... ok [INFO] [stderr] Running tests/rayon.rs (/opt/rustwide/target/debug/deps/rayon-20be56f3e16a6a70) [INFO] [stdout] [INFO] [stderr] Running tests/serde.rs (/opt/rustwide/target/debug/deps/serde-4d5f2856e34fed6e) [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stderr] Running tests/set.rs (/opt/rustwide/target/debug/deps/set-693e7c506ae42c8a) [INFO] [stdout] [INFO] [stderr] Doc-tests cow_hashbrown [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 170 tests [INFO] [stdout] test src/map.rs - map::CowHashMap (line 109) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::entry (line 1431) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::entry_ref (line 1479) ... FAILED [INFO] [stdout] test src/map.rs - map::&'_mutCowHashMap::into_iter (line 4862) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::extend (line 7130) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::extend (line 7217) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap (line 148) ... ok [INFO] [stdout] test src/map.rs - map::CowHashMap (line 179) ... ok [INFO] [stdout] test src/map.rs - map::CowHashMap::get_key_value (line 1566) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::extend (line 7282) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::new (line 433) ... ok [INFO] [stdout] test src/map.rs - map::CowHashMap::extract_if (line 1155) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::contains_key (line 1641) ... ok [INFO] [stdout] test src/map.rs - map::CowHashMap::with_capacity (line 463) ... ok [INFO] [stdout] test src/map.rs - map::CowHashMap::capacity (line 760) ... ok [INFO] [stdout] test src/map.rs - map::CowHashMap::drain (line 1005) ... ok [INFO] [stdout] test src/map.rs - map::CowHashMap::get_key_value_mut (line 1601) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::with_capacity_in (line 540) ... ok [INFO] [stdout] test src/map.rs - map::CowHashMap::default (line 2470) ... ok [INFO] [stdout] test src/map.rs - map::&'_CowHashMap::into_iter (line 4827) ... ok [INFO] [stdout] test src/map.rs - map::CowHashMap::clear (line 1198) ... ok [INFO] [stdout] test src/map.rs - map::CowHashMap (line 51) ... ok [INFO] [stdout] test src/map.rs - map::CowHashMap::get (line 1531) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::get_mut (line 1675) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::insert_mut (line 1815) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::from (line 2496) ... ok [INFO] [stdout] test src/map.rs - map::CowHashMap::iter (line 880) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::into_iter (line 4894) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::keys (line 776) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::insert_unique_unchecked (line 1924) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::new_in (line 496) ... ok [INFO] [stdout] test src/map.rs - map::CowHashMap::insert_fast (line 1768) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::into_values (line 1251) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::insert_mut_fast (line 1867) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::iter_mut (line 918) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::insert_unique_unchecked_mut (line 1988) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::remove_entry_fast (line 2245) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::remove (line 2127) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::hasher (line 740) ... ok [INFO] [stdout] test src/map.rs - map::CowHashMap::try_insert (line 2044) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::raw_entry_mut (line 2308) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::insert (line 1719) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::retain (line 1054) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::remove_entry (line 2205) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::retain_mut (line 1097) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::into_keys (line 1223) ... ok [INFO] [stdout] test src/map.rs - map::CowHashMap::try_insert_mut (line 2083) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::remove_fast (line 2166) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::values_mut (line 840) ... FAILED [INFO] [stdout] test src/map.rs - map::Entry::Vacant (line 4407) ... FAILED [INFO] [stdout] test src/map.rs - map::Entry::and_modify (line 5411) ... FAILED [INFO] [stdout] test src/map.rs - map::Drain (line 2877) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::with_capacity_and_hasher (line 637) ... ok [INFO] [stdout] test src/map.rs - map::Entry::and_replace_entry_with (line 5452) ... FAILED [INFO] [stdout] test src/map.rs - map::Entry (line 4350) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::try_reserve (line 1327) ... ok [INFO] [stdout] test src/map.rs - map::Entry::or_default (line 5519) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::with_hasher_in (line 683) ... ok [INFO] [stdout] test src/map.rs - map::Entry::or_insert (line 5192) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::try_reserve (line 1341) ... ok [INFO] [stdout] test src/map.rs - map::CowHashMap::values (line 808) ... ok [INFO] [stdout] test src/map.rs - map::CowHashMap::is_empty (line 983) ... ok [INFO] [stdout] test src/map.rs - map::CowHashMap::shrink_to_fit (line 1378) ... ok [INFO] [stdout] test src/map.rs - map::CowHashMap::with_capacity_and_hasher_in (line 718) ... ok [INFO] [stdout] test src/map.rs - map::Entry::or_insert_with_key (line 5318) ... FAILED [INFO] [stdout] test src/map.rs - map::Entry::or_insert_with_key_mut (line 5355) ... FAILED [INFO] [stdout] test src/map.rs - map::Entry::or_insert_mut (line 5222) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::shrink_to (line 1403) ... ok [INFO] [stdout] test src/map.rs - map::Entry::or_insert_with_mut (line 5283) ... FAILED [INFO] [stdout] test src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::and_replace_entry_with (line 6439) ... FAILED [INFO] [stdout] test src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::and_modify (line 6398) ... FAILED [INFO] [stdout] test src/map.rs - map::EntryRef (line 4543) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::with_hasher (line 595) ... ok [INFO] [stdout] test src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::or_insert (line 6182) ... FAILED [INFO] [stdout] test src/map.rs - map::EntryRef::Vacant (line 4600) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::reserve (line 1295) ... ok [INFO] [stdout] test src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::or_insert_mut (line 6212) ... FAILED [INFO] [stdout] test src/map.rs - map::Entry::or_default_mut (line 5550) ... FAILED [INFO] [stdout] test src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::or_insert_with_key (line 6305) ... FAILED [INFO] [stdout] test src/map.rs - map::EntryRef::Occupied (line 4585) ... FAILED [INFO] [stdout] test src/map.rs - map::Entry::or_insert_with (line 5253) ... FAILED [INFO] [stdout] test src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::or_insert_with (line 6243) ... FAILED [INFO] [stdout] test src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::or_insert_with_key_mut (line 6339) ... FAILED [INFO] [stdout] test src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::or_insert_with_mut (line 6273) ... FAILED [INFO] [stdout] test src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::or_default (line 6508) ... FAILED [INFO] [stdout] test src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::or_default_mut (line 6539) ... FAILED [INFO] [stdout] test src/map.rs - map::Entry::Occupied (line 4392) ... ok [INFO] [stdout] test src/map.rs - map::Entry::key (line 5388) ... ok [INFO] [stdout] test src/map.rs - map::Iter (line 2517) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntry::get_mut (line 5672) ... FAILED [INFO] [stdout] test src/map.rs - map::CowHashMap::len (line 966) ... ok [INFO] [stdout] test src/map.rs - map::IterMut (line 2562) ... FAILED [INFO] [stdout] test src/map.rs - map::IntoIter (line 2613) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntry (line 4426) ... FAILED [INFO] [stdout] test src/map.rs - map::Keys (line 2780) ... FAILED [INFO] [stdout] test src/map.rs - map::ExtractIf (line 2922) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntry::replace_entry (line 5804) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntry::remove (line 5769) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntry::replace_entry_with (line 5938) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntry::key (line 5583) ... FAILED [INFO] [stdout] test src/map.rs - map::IntoValues (line 2718) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntry::get (line 5645) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntry::replace_entry_mut (line 5846) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::into_mut (line 6696) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntry::into_mut (line 5708) ... FAILED [INFO] [stdout] test src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::key (line 6372) ... ok [INFO] [stdout] test src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::key (line 6574) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntry::remove_entry (line 5604) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::get_mut (line 6660) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntry::insert (line 5738) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::remove (line 6747) ... FAILED [INFO] [stdout] test src/map.rs - map::Entry::insert (line 5164) ... ok [INFO] [stdout] test src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::replace_entry_with (line 6873) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntryRef (line 4660) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntry::replace_key (line 5890) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedError (line 4788) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::remove_entry (line 6595) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::replace_key (line 6828) ... FAILED [INFO] [stdout] test src/map.rs - map::RawEntryMut::Occupied (line 3166) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::get (line 6633) ... FAILED [INFO] [stdout] test src/map.rs - map::RawEntryMut (line 3091) ... FAILED [INFO] [stdout] test src/map.rs - map::RawEntryMut<'a,K,V,S,A>::insert (line 3334) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::replace_entry (line 6782) ... FAILED [INFO] [stdout] test src/map.rs - map::RawEntryMut<'a,K,V,S,A>::and_modify_mut (line 3523) ... FAILED [INFO] [stdout] test src/map.rs - map::RawEntryMut<'a,K,V,S,A>::and_modify (line 3484) ... FAILED [INFO] [stdout] test src/map.rs - map::RawEntryMut<'a,K,V,S,A>::or_insert_with (line 3419) ... FAILED [INFO] [stdout] test src/map.rs - map::RawEntryMut<'a,K,V,S,A>::or_insert_mut (line 3390) ... FAILED [INFO] [stdout] test src/map.rs - map::RawEntryMut<'a,K,V,S,A>::or_insert (line 3362) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::insert (line 6724) ... FAILED [INFO] [stdout] test src/map.rs - map::RawEntryMut::Vacant (line 3180) ... FAILED [INFO] [stdout] test src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::insert (line 6154) ... ok [INFO] [stdout] test src/map.rs - map::RawEntryBuilderMut (line 3025) ... FAILED [INFO] [stdout] test src/map.rs - map::RawEntryMut<'a,K,V,S,A>::or_insert_with_mut (line 3451) ... FAILED [INFO] [stdout] test src/map.rs - map::RawOccupiedEntryMut (line 3199) ... FAILED [INFO] [stdout] test src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::get_key_value (line 3722) ... FAILED [INFO] [stdout] test src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::into_mut (line 3671) ... FAILED [INFO] [stdout] test src/map.rs - map::RawVacantEntryMut<'a,K,V,S,A>::insert (line 4024) ... FAILED [INFO] [stdout] test src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::get_mut (line 3698) ... FAILED [INFO] [stdout] test src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::get_key_value_mut (line 3744) ... FAILED [INFO] [stdout] test src/map.rs - map::RawEntryMut<'a,K,V,S,A>::and_replace_entry_with (line 3564) ... FAILED [INFO] [stdout] test src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::key (line 3632) ... FAILED [INFO] [stdout] test src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::get (line 3651) ... FAILED [INFO] [stdout] test src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::insert (line 3868) ... FAILED [INFO] [stdout] test src/map.rs - map::VacantEntry::insert_mut (line 6094) ... FAILED [INFO] [stdout] test src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::remove (line 3897) ... FAILED [INFO] [stdout] test src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::remove_entry (line 3920) ... FAILED [INFO] [stdout] test src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::into_key_value_mut (line 3825) ... FAILED [INFO] [stdout] test src/map.rs - map::VacantEntry::insert (line 6058) ... FAILED [INFO] [stdout] test src/map.rs - map::RawVacantEntryMut (line 3283) ... FAILED [INFO] [stdout] test src/map.rs - map::VacantEntry (line 4490) ... FAILED [INFO] [stdout] test src/map.rs - map::RawVacantEntryMut<'a,K,V,S,A>::insert_hashed_nocheck_mut (line 4125) ... FAILED [INFO] [stdout] test src/map.rs - map::RawVacantEntryMut<'a,K,V,S,A>::insert_with_hasher_mut (line 4227) ... FAILED [INFO] [stdout] test src/map.rs - map::RawVacantEntryMut<'a,K,V,S,A>::insert_mut (line 4050) ... FAILED [INFO] [stdout] test src/map.rs - map::VacantEntry::into_key (line 6038) ... FAILED [INFO] [stdout] test src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::replace_entry_with (line 3955) ... FAILED [INFO] [stdout] test src/map.rs - map::RawVacantEntryMut<'a,K,V,S,A>::insert_with_hasher (line 4177) ... FAILED [INFO] [stdout] test src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::into_key_value (line 3784) ... FAILED [INFO] [stdout] test src/map.rs - map::RawVacantEntryMut<'a,K,V,S,A>::insert_hashed_nocheck (line 4078) ... FAILED [INFO] [stdout] test src/map.rs - map::Values (line 2828) ... FAILED [INFO] [stdout] test src/map.rs - map::ValuesMut (line 2996) ... FAILED [INFO] [stdout] test src/map.rs - map::IntoKeys (line 2656) ... ok [INFO] [stdout] test src/raw/mod.rs - raw::Bucket::as_ref (line 650) ... ok [INFO] [stdout] test src/map.rs - map::VacantEntryRef<'a,'b,K,Q,V,S,A>::insert (line 7004) ... FAILED [INFO] [stdout] test src/map.rs - map::VacantEntryRef<'a,'b,K,Q,V,S,A>::insert_mut (line 7042) ... FAILED [INFO] [stdout] test src/map.rs - map::VacantEntryRef (line 4742) ... FAILED [INFO] [stdout] test src/map.rs - map::VacantEntryRef<'a,'b,K,Q,V,S,A>::into_key (line 6980) ... FAILED [INFO] [stdout] test src/raw/mod.rs - raw::Bucket::as_mut (line 709) ... ok [INFO] [stdout] test src/map.rs - map::VacantEntry::key (line 6023) ... ok [INFO] [stdout] test src/map.rs - map::VacantEntryRef<'a,'b,K,Q,V,S,A>::key (line 6961) ... ok [INFO] [stdout] test src/raw/mod.rs - raw::Bucket::as_ptr (line 484) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/map.rs - map::CowHashMap (line 109) stdout ---- [INFO] [stdout] error[E0594]: cannot assign to data in an `Arc` [INFO] [stdout] --> src/map.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 26 | *stat += random_stat_buff(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0594`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::CowHashMap::entry (line 1431) stdout ---- [INFO] [stdout] error[E0594]: cannot assign to data in an `Arc` [INFO] [stdout] --> src/map.rs:1440:5 [INFO] [stdout] | [INFO] [stdout] 12 | *counter += 1; [INFO] [stdout] | ^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0594`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::CowHashMap::entry_ref (line 1479) stdout ---- [INFO] [stdout] error[E0594]: cannot assign to data in an `Arc` [INFO] [stdout] --> src/map.rs:1488:5 [INFO] [stdout] | [INFO] [stdout] 12 | *counter += 1; [INFO] [stdout] | ^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0594`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::&'_mutCowHashMap::into_iter (line 4862) stdout ---- [INFO] [stdout] error[E0277]: `CowValueGuard<{integer}>` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/map.rs:4869:41 [INFO] [stdout] | [INFO] [stdout] 10 | println!("Key: {}, Value: {}", key, &value); [INFO] [stdout] | -- ^^^^^^ `CowValueGuard<{integer}>` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `CowValueGuard<{integer}>` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required for `&CowValueGuard<{integer}>` to implement `std::fmt::Display` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:4877:61 [INFO] [stdout] | [INFO] [stdout] 18 | assert_eq!(vec, [(&"a", Arc::new(2)), (&"b", Arc::new(4)), ("c", Arc::new(6))]); [INFO] [stdout] | ^^^ expected `&&str`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&&_` [INFO] [stdout] found reference `&'static _` [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `(&str, Arc<{integer}>)` with `(&&str, Arc<{integer}>)` [INFO] [stdout] --> src/map.rs:4877:1 [INFO] [stdout] | [INFO] [stdout] 18 | assert_eq!(vec, [(&"a", Arc::new(2)), (&"b", Arc::new(4)), ("c", Arc::new(6))]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `(&str, Arc<{integer}>) == (&&str, Arc<{integer}>)` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<(&&str, Arc<{integer}>)>` is not implemented for `(&str, Arc<{integer}>)` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] () [INFO] [stdout] (A, Z, Y, X, W, V, U, T) [INFO] [stdout] (B, A, Z, Y, X, W, V, U, T) [INFO] [stdout] (C, B, A, Z, Y, X, W, V, U, T) [INFO] [stdout] (D, C, B, A, Z, Y, X, W, V, U, T) [INFO] [stdout] (E, D, C, B, A, Z, Y, X, W, V, U, T) [INFO] [stdout] (T,) [INFO] [stdout] (U, T) [INFO] [stdout] and 5 others [INFO] [stdout] = note: required for `Vec<(&str, Arc<{integer}>)>` to implement `PartialEq<[(&&str, Arc<{integer}>); 3]>` [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 3 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/map.rs - map::CowHashMap::extend (line 7130) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:7141:25 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(map.get(&1), Some(&1)); [INFO] [stdout] | ^^^^^^^^ expected `Option>`, found `Option<&{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>` [INFO] [stdout] found enum `Option<&{integer}>` [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `({integer}, Arc>)` with `({integer}, {integer})` [INFO] [stdout] --> src/map.rs:7159:1 [INFO] [stdout] | [INFO] [stdout] 32 | assert_eq!(vec, [(1, 1), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `({integer}, Arc>) == ({integer}, {integer})` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<({integer}, {integer})>` is not implemented for `({integer}, Arc>)` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] () [INFO] [stdout] (A, Z, Y, X, W, V, U, T) [INFO] [stdout] (B, A, Z, Y, X, W, V, U, T) [INFO] [stdout] (C, B, A, Z, Y, X, W, V, U, T) [INFO] [stdout] (D, C, B, A, Z, Y, X, W, V, U, T) [INFO] [stdout] (E, D, C, B, A, Z, Y, X, W, V, U, T) [INFO] [stdout] (T,) [INFO] [stdout] (U, T) [INFO] [stdout] and 5 others [INFO] [stdout] = note: required for `Vec<({integer}, Arc>)>` to implement `PartialEq<[({integer}, {integer}); 6]>` [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/map.rs - map::CowHashMap::extend (line 7217) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:7229:25 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(map.get(&1), Some(&1)); [INFO] [stdout] | ^^^^^^^^ expected `Option>`, found `Option<&{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>` [INFO] [stdout] found enum `Option<&{integer}>` [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `CowHashMap<{integer}, Arc<{integer}>>` [INFO] [stdout] --> src/map.rs:7240:1 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(new_map, map); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | CowHashMap<{integer}, Arc<{integer}>> [INFO] [stdout] | CowHashMap<{integer}, {integer}> [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `CowHashMap<{integer}, Arc<{integer}>>` doesn't implement `PartialEq>` [INFO] [stdout] --> /opt/rustwide/workdir/src/map.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | pub struct CowHashMap { [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[E0277]: can't compare `({integer}, Arc>)` with `({integer}, {integer})` [INFO] [stdout] --> src/map.rs:7246:1 [INFO] [stdout] | [INFO] [stdout] 32 | assert_eq!(vec, [(1, 1), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `({integer}, Arc>) == ({integer}, {integer})` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<({integer}, {integer})>` is not implemented for `({integer}, Arc>)` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] () [INFO] [stdout] (A, Z, Y, X, W, V, U, T) [INFO] [stdout] (B, A, Z, Y, X, W, V, U, T) [INFO] [stdout] (C, B, A, Z, Y, X, W, V, U, T) [INFO] [stdout] (D, C, B, A, Z, Y, X, W, V, U, T) [INFO] [stdout] (E, D, C, B, A, Z, Y, X, W, V, U, T) [INFO] [stdout] (T,) [INFO] [stdout] (U, T) [INFO] [stdout] and 5 others [INFO] [stdout] = note: required for `Vec<({integer}, Arc>)>` to implement `PartialEq<[({integer}, {integer}); 6]>` [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 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0369. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::CowHashMap::get_key_value (line 1566) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:1572:35 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(map.get_key_value(&1), Some((&1, &"a"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `Option<({integer}, Arc<&str>)>`, found `Option<(&{integer}, &&str)>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<({integer}, Arc<&str>)>` [INFO] [stdout] found enum `Option<(&{integer}, &&str)>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::CowHashMap::extend (line 7282) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:7294:25 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(map.get(&1), Some(&1)); [INFO] [stdout] | ^^^^^^^^ expected `Option>`, found `Option<&{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>` [INFO] [stdout] found enum `Option<&{integer}>` [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `({integer}, Arc<{integer}>)` with `({integer}, {integer})` [INFO] [stdout] --> src/map.rs:7306:1 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(vec, [(1, 1), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `({integer}, Arc<{integer}>) == ({integer}, {integer})` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<({integer}, {integer})>` is not implemented for `({integer}, Arc<{integer}>)` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] () [INFO] [stdout] (A, Z, Y, X, W, V, U, T) [INFO] [stdout] (B, A, Z, Y, X, W, V, U, T) [INFO] [stdout] (C, B, A, Z, Y, X, W, V, U, T) [INFO] [stdout] (D, C, B, A, Z, Y, X, W, V, U, T) [INFO] [stdout] (E, D, C, B, A, Z, Y, X, W, V, U, T) [INFO] [stdout] (T,) [INFO] [stdout] (U, T) [INFO] [stdout] and 5 others [INFO] [stdout] = note: required for `Vec<({integer}, Arc<{integer}>)>` to implement `PartialEq<[({integer}, {integer}); 6]>` [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/map.rs - map::CowHashMap::extract_if (line 1155) stdout ---- [INFO] [stdout] error[E0277]: a value of type `CowHashMap` cannot be built from an iterator over elements of type `(i32, Arc)` [INFO] [stdout] --> src/map.rs:1161:69 [INFO] [stdout] | [INFO] [stdout] 9 | let drained: HashMap = map.extract_if(|k, _v| k % 2 == 0).collect(); [INFO] [stdout] | ^^^^^^^ value of type `CowHashMap` cannot be built from `std::iter::Iterator)>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<(_, Arc)>` is not implemented for `CowHashMap` [INFO] [stdout] but trait `FromIterator<(_, i32)>` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `i32`, found `Arc` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/map.rs:1159:41 [INFO] [stdout] | [INFO] [stdout] 7 | let mut map: HashMap = (0..8).map(|x| (x, x)).collect(); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^ `Iterator::Item` is `(i32, i32)` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Range` [INFO] [stdout] 8 | [INFO] [stdout] 9 | let drained: HashMap = map.extract_if(|k, _v| k % 2 == 0).collect(); [INFO] [stdout] | ------------------------------ `Iterator::Item` is `(i32, Arc)` here [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/iter/traits/iterator.rs:2014:5 [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `Keys` to be an iterator that yields `&_`, but it yields `i32` [INFO] [stdout] --> src/map.rs:1163:32 [INFO] [stdout] | [INFO] [stdout] 11 | let mut evens = drained.keys().cloned().collect::>(); [INFO] [stdout] | ^^^^^^ expected `&_`, found `i32` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `i32` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/map.rs:1159:41 [INFO] [stdout] | [INFO] [stdout] 7 | let mut map: HashMap = (0..8).map(|x| (x, x)).collect(); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^ `Iterator::Item` is `(i32, i32)` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Range` [INFO] [stdout] 8 | [INFO] [stdout] 9 | let drained: HashMap = map.extract_if(|k, _v| k % 2 == 0).collect(); [INFO] [stdout] | ------------------------------ `Iterator::Item` is `(i32, Arc)` here [INFO] [stdout] 10 | [INFO] [stdout] 11 | let mut evens = drained.keys().cloned().collect::>(); [INFO] [stdout] | ------ `Iterator::Item` is `i32` here [INFO] [stdout] note: required by a bound in `cloned` [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/iter/traits/iterator.rs:3465:5 [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `Cloned>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/map.rs:1163:41 [INFO] [stdout] | [INFO] [stdout] 11 | let mut evens = drained.keys().cloned().collect::>(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `Cloned>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/map.rs:2797:1 [INFO] [stdout] | [INFO] [stdout] 2797 | pub struct Keys { [INFO] [stdout] | ----------------------------------------------------------- doesn't satisfy `<_ as Iterator>::Item = &_` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as Iterator>::Item = &_` [INFO] [stdout] which is required by `Cloned>: Iterator` [INFO] [stdout] `Cloned>: Iterator` [INFO] [stdout] which is required by `&mut Cloned>: Iterator` [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `Keys` to be an iterator that yields `&_`, but it yields `i32` [INFO] [stdout] --> src/map.rs:1164:27 [INFO] [stdout] | [INFO] [stdout] 12 | let mut odds = map.keys().cloned().collect::>(); [INFO] [stdout] | ^^^^^^ expected `&_`, found `i32` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `i32` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/map.rs:1159:41 [INFO] [stdout] | [INFO] [stdout] 7 | let mut map: HashMap = (0..8).map(|x| (x, x)).collect(); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^ `Iterator::Item` is `(i32, i32)` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Range` [INFO] [stdout] ... [INFO] [stdout] 12 | let mut odds = map.keys().cloned().collect::>(); [INFO] [stdout] | ------ `Iterator::Item` is `i32` here [INFO] [stdout] note: required by a bound in `cloned` [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/iter/traits/iterator.rs:3465:5 [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `Cloned>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/map.rs:1164:36 [INFO] [stdout] | [INFO] [stdout] 12 | let mut odds = map.keys().cloned().collect::>(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `Cloned>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/map.rs:2797:1 [INFO] [stdout] | [INFO] [stdout] 2797 | pub struct Keys { [INFO] [stdout] | ----------------------------------------------------------- doesn't satisfy `<_ as Iterator>::Item = &_` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as Iterator>::Item = &_` [INFO] [stdout] which is required by `Cloned>: Iterator` [INFO] [stdout] `Cloned>: Iterator` [INFO] [stdout] which is required by `&mut Cloned>: Iterator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0277, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::CowHashMap::get_key_value_mut (line 1601) stdout ---- [INFO] [stdout] error[E0277]: can't compare `{integer}` with `&{integer}` [INFO] [stdout] --> src/map.rs:1608:1 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(k, &1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no implementation for `{integer} == &{integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&{integer}>` is not implemented for `{integer}` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] WARN rustc_errors::emitter Invalid span /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/macros/mod.rs:46:35: 46:35 (#5), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/macros/mod.rs" }) } [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `CowValueGuard<&str>` with `&mut &'static str` [INFO] [stdout] --> src/map.rs:1609:1 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(v, &mut "a"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `CowValueGuard<&str> == &mut &'static str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&mut &'static str>` is not implemented for `CowValueGuard<&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] WARN rustc_errors::emitter Invalid span /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/macros/mod.rs:46:22: 46:22 (#6), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/macros/mod.rs" }) } [INFO] [stdout] WARN rustc_errors::emitter Invalid span /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/macros/mod.rs:46:35: 46:35 (#6), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/macros/mod.rs" }) } [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:1611:39 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(map.get_key_value_mut(&1), Some((&1, &mut "b"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `Option<({integer}, CowValueGuard<&str>)>`, found `Option<(&{integer}, &mut &str)>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<({integer}, CowValueGuard<&str>)>` [INFO] [stdout] found enum `Option<(&{integer}, &mut &'static str)>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/map.rs - map::CowHashMap::get (line 1531) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:1537:25 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(map.get(&1), Some(&"a")); [INFO] [stdout] | ^^^^^^^^^^ expected `Option>`, found `Option<&&str>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>` [INFO] [stdout] found enum `Option<&&str>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::CowHashMap::get_mut (line 1675) stdout ---- [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<{integer}, &str>` [INFO] [stdout] --> src/map.rs:1684:15 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(map[&1], "b"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0608`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::CowHashMap::insert_mut (line 1815) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:1824:33 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(map.insert(37, "c"), Some("b")); [INFO] [stdout] | ^^^^^^^^^ expected `Option>`, found `Option<&str>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>` [INFO] [stdout] found enum `Option<&str>` [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<{integer}, &str>` [INFO] [stdout] --> src/map.rs:1825:15 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(map[&37], "c"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0608. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::CowHashMap::iter (line 880) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:893:15 [INFO] [stdout] | [INFO] [stdout] 16 | vec.push((*key, *val)); [INFO] [stdout] | ^^^^ expected `&str`, found `str` [INFO] [stdout] | [INFO] [stdout] help: consider removing deref here [INFO] [stdout] | [INFO] [stdout] 16 - vec.push((*key, *val)); [INFO] [stdout] 16 + vec.push((key, *val)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::CowHashMap::into_iter (line 4894) stdout ---- [INFO] [stdout] error[E0277]: a value of type `Vec<(&str, i32)>` cannot be built from an iterator over elements of type `(&str, Arc<{integer}>)` [INFO] [stdout] --> src/map.rs:4901:49 [INFO] [stdout] | [INFO] [stdout] 10 | let mut vec: Vec<(&str, i32)> = map.into_iter().collect(); [INFO] [stdout] | ^^^^^^^ value of type `Vec<(&str, i32)>` cannot be built from `std::iter::Iterator)>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<(&_, Arc<{integer}>)>` is not implemented for `Vec<(&str, i32)>` [INFO] [stdout] but trait `FromIterator<(&_, i32)>` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `i32`, found `Arc<{integer}>` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/iter/traits/iterator.rs:2014:5 [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::CowHashMap::keys (line 776) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:789:14 [INFO] [stdout] | [INFO] [stdout] 16 | vec.push(*key); [INFO] [stdout] | ---- ^^^^ expected `&str`, found `str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/vec/mod.rs:2571:12 [INFO] [stdout] help: consider removing deref here [INFO] [stdout] | [INFO] [stdout] 16 - vec.push(*key); [INFO] [stdout] 16 + vec.push(key); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::CowHashMap::insert_unique_unchecked (line 1924) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:1940:52 [INFO] [stdout] | [INFO] [stdout] 16 | map2.insert_unique_unchecked(key, value); [INFO] [stdout] | ---- ----- this argument has type `Arc<&str>`... [INFO] [stdout] | | [INFO] [stdout] | ... which causes `map2` to have type `CowHashMap<{integer}, Arc<&str>>` [INFO] [stdout] ... [INFO] [stdout] 19 | let (key, value) = map2.insert_unique_unchecked(4, "d"); [INFO] [stdout] | ----------------------- ^^^ expected `Arc<&str>`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<&str>` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] help: the return type of this call is `&'static str` due to the type of the argument passed [INFO] [stdout] --> src/map.rs:1940:20 [INFO] [stdout] | [INFO] [stdout] 19 | let (key, value) = map2.insert_unique_unchecked(4, "d"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `insert_unique_unchecked` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/map.rs:1951:12 [INFO] [stdout] | [INFO] [stdout] 1951 | pub fn insert_unique_unchecked(&self, k: K, v: V) -> (&K, Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `&'static str` into `Arc<&str>` [INFO] [stdout] | [INFO] [stdout] 19 | let (key, value) = map2.insert_unique_unchecked(4, "d".into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:1942:19 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(value, &mut "d"); [INFO] [stdout] | ^^^^^^^^ expected `Arc>`, found `&mut &str` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>` [INFO] [stdout] found mutable reference `&mut &'static str` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:1943:10 [INFO] [stdout] | [INFO] [stdout] 22 | *value = "e"; [INFO] [stdout] | ------ ^^^ expected `Arc<&str>`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<&str>` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] help: call `Into::into` on this expression to convert `&'static str` into `Arc<&str>` [INFO] [stdout] | [INFO] [stdout] 22 | *value = "e".into(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<{integer}, Arc<&str>>` [INFO] [stdout] --> src/map.rs:1945:16 [INFO] [stdout] | [INFO] [stdout] 24 | assert_eq!(map2[&1], "a"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<{integer}, Arc<&str>>` [INFO] [stdout] --> src/map.rs:1946:16 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(map2[&2], "b"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<{integer}, Arc<&str>>` [INFO] [stdout] --> src/map.rs:1947:16 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(map2[&3], "c"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<{integer}, Arc<&str>>` [INFO] [stdout] --> src/map.rs:1948:16 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(map2[&4], "e"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0608. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::CowHashMap::insert_fast (line 1768) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:1777:33 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(map.insert(37, "c"), Some("b")); [INFO] [stdout] | ^^^^^^^^^ expected `Option>`, found `Option<&str>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>` [INFO] [stdout] found enum `Option<&str>` [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<{integer}, &str>` [INFO] [stdout] --> src/map.rs:1778:15 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(map[&37], "c"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0608. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::CowHashMap::into_values (line 1251) stdout ---- [INFO] [stdout] error[E0277]: a value of type `Vec` cannot be built from an iterator over elements of type `Arc<{integer}>` [INFO] [stdout] --> src/map.rs:1260:43 [INFO] [stdout] | [INFO] [stdout] 12 | let mut vec: Vec = map.into_values().collect(); [INFO] [stdout] | ^^^^^^^ value of type `Vec` cannot be built from `std::iter::Iterator>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator>` is not implemented for `Vec` [INFO] [stdout] but trait `FromIterator` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `i32`, found `Arc<{integer}>` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/map.rs:1260:29 [INFO] [stdout] | [INFO] [stdout] 7 | let mut map = HashMap::new(); [INFO] [stdout] | -------------- this expression has type `CowHashMap<&str, {integer}>` [INFO] [stdout] ... [INFO] [stdout] 12 | let mut vec: Vec = map.into_values().collect(); [INFO] [stdout] | ^^^^^^^^^^^^^ `Iterator::Item` is `Arc<{integer}>` here [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/iter/traits/iterator.rs:2014:5 [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::CowHashMap::insert_mut_fast (line 1867) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:1876:33 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(map.insert(37, "c"), Some("b")); [INFO] [stdout] | ^^^^^^^^^ expected `Option>`, found `Option<&str>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>` [INFO] [stdout] found enum `Option<&str>` [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<{integer}, &str>` [INFO] [stdout] --> src/map.rs:1877:15 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(map[&37], "c"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0608. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::CowHashMap::iter_mut (line 918) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:937:15 [INFO] [stdout] | [INFO] [stdout] 22 | vec.push((*key, *val)); [INFO] [stdout] | ^^^^ expected `&str`, found `str` [INFO] [stdout] | [INFO] [stdout] help: consider removing deref here [INFO] [stdout] | [INFO] [stdout] 22 - vec.push((*key, *val)); [INFO] [stdout] 22 + vec.push((key, *val)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::CowHashMap::insert_unique_unchecked_mut (line 1988) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:2004:52 [INFO] [stdout] | [INFO] [stdout] 16 | map2.insert_unique_unchecked(key, value); [INFO] [stdout] | ---- ----- this argument has type `Arc<&str>`... [INFO] [stdout] | | [INFO] [stdout] | ... which causes `map2` to have type `CowHashMap<{integer}, Arc<&str>>` [INFO] [stdout] ... [INFO] [stdout] 19 | let (key, value) = map2.insert_unique_unchecked(4, "d"); [INFO] [stdout] | ----------------------- ^^^ expected `Arc<&str>`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<&str>` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] help: the return type of this call is `&'static str` due to the type of the argument passed [INFO] [stdout] --> src/map.rs:2004:20 [INFO] [stdout] | [INFO] [stdout] 19 | let (key, value) = map2.insert_unique_unchecked(4, "d"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `insert_unique_unchecked` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/map.rs:1951:12 [INFO] [stdout] | [INFO] [stdout] 1951 | pub fn insert_unique_unchecked(&self, k: K, v: V) -> (&K, Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `&'static str` into `Arc<&str>` [INFO] [stdout] | [INFO] [stdout] 19 | let (key, value) = map2.insert_unique_unchecked(4, "d".into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:2006:19 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(value, &mut "d"); [INFO] [stdout] | ^^^^^^^^ expected `Arc>`, found `&mut &str` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>` [INFO] [stdout] found mutable reference `&mut &'static str` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:2007:10 [INFO] [stdout] | [INFO] [stdout] 22 | *value = "e"; [INFO] [stdout] | ------ ^^^ expected `Arc<&str>`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<&str>` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] help: call `Into::into` on this expression to convert `&'static str` into `Arc<&str>` [INFO] [stdout] | [INFO] [stdout] 22 | *value = "e".into(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<{integer}, Arc<&str>>` [INFO] [stdout] --> src/map.rs:2009:16 [INFO] [stdout] | [INFO] [stdout] 24 | assert_eq!(map2[&1], "a"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<{integer}, Arc<&str>>` [INFO] [stdout] --> src/map.rs:2010:16 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(map2[&2], "b"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<{integer}, Arc<&str>>` [INFO] [stdout] --> src/map.rs:2011:16 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(map2[&3], "c"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<{integer}, Arc<&str>>` [INFO] [stdout] --> src/map.rs:2012:16 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(map2[&4], "e"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0608. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::CowHashMap::remove_entry_fast (line 2245) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:2255:34 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(map.remove_entry(&1), Some((1, "a"))); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `Option<({integer}, Arc<&str>)>`, found `Option<({integer}, &str)>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<({integer}, Arc<&str>)>` [INFO] [stdout] found enum `Option<({integer}, &str)>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::CowHashMap::remove (line 2127) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:2137:28 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(map.remove(&1), Some("a")); [INFO] [stdout] | ^^^^^^^^^ expected `Option>`, found `Option<&str>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>` [INFO] [stdout] found enum `Option<&str>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::CowHashMap::try_insert (line 2044) stdout ---- [INFO] [stdout] error[E0277]: `OccupiedError<{integer}, &str, BuildHasherDefault>` doesn't implement `Debug` [INFO] [stdout] --> src/map.rs:2050:36 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(map.try_insert(37, "a").unwrap(), &"a"); [INFO] [stdout] | ^^^^^^ the trait `Debug` is not implemented for `OccupiedError<{integer}, &str, BuildHasherDefault>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Result::::unwrap` [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/result.rs:1220:5 [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestIBfIIE/rust_out.long-type-1149340104786693334.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:2050:46 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(map.try_insert(37, "a").unwrap(), &"a"); [INFO] [stdout] | ^^^^ expected `Arc<&str>`, found `&&str` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<&str>` [INFO] [stdout] found reference `&&str` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:2055:33 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(entry.get(), &"a"); [INFO] [stdout] | ^^^^ expected `Arc<&str>`, found `&&str` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<&str>` [INFO] [stdout] found reference `&&str` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/map.rs - map::CowHashMap::raw_entry_mut (line 2308) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:2311:31 [INFO] [stdout] | [INFO] [stdout] 6 | use cow_hashbrown::hash_map::{HashMap, RawEntryMut}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:2327:32 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(view.get(), &100); [INFO] [stdout] | ^^^^ expected `Arc<_>`, found `&{integer}` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<_>` [INFO] [stdout] found reference `&{integer}` [INFO] [stdout] help: call `Into::into` on this expression to convert `&{integer}` into `Arc<_>` [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(view.get(), (&100).into()); [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:2331:39 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(view.insert(1111), 1000); [INFO] [stdout] | ^^^^ expected `Arc<{integer}>`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<{integer}>` [INFO] [stdout] found type `{integer}` [INFO] [stdout] help: call `Into::into` on this expression to convert `{integer}` into `Arc<{integer}>` [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(view.insert(1111), 1000.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:2343:41 [INFO] [stdout] | [INFO] [stdout] 38 | assert_eq!(view.remove_entry(), ("c", 300)); [INFO] [stdout] | ^^^^^^^^^^ expected `(_, Arc<_>)`, found `(&str, {integer})` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(_, Arc<_>)` [INFO] [stdout] found tuple `(&str, {integer})` [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `(str, {integer})` [INFO] [stdout] --> src/map.rs:2356:9 [INFO] [stdout] | [INFO] [stdout] 51 | assert_eq!((*k, *value), ("d", 4000)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | (str, {integer}) [INFO] [stdout] | (&str, {integer}) [INFO] [stdout] | [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[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/map.rs:2356:9 [INFO] [stdout] | [INFO] [stdout] 51 | assert_eq!((*k, *value), ("d", 4000)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | doesn't have a size known at compile-time [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = help: the following other types implement trait `Debug`: [INFO] [stdout] () [INFO] [stdout] (A, Z, Y, X, W, V, U, T) [INFO] [stdout] (B, A, Z, Y, X, W, V, U, T) [INFO] [stdout] (C, B, A, Z, Y, X, W, V, U, T) [INFO] [stdout] (D, C, B, A, Z, Y, X, W, V, U, T) [INFO] [stdout] (E, D, C, B, A, Z, Y, X, W, V, U, T) [INFO] [stdout] (T,) [INFO] [stdout] (U, T) [INFO] [stdout] and 5 others [INFO] [stdout] = note: required for `(str, {integer})` to implement `Debug` [INFO] [stdout] note: required by a bound in `assert_failed` [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:384:1 [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[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:2366:41 [INFO] [stdout] | [INFO] [stdout] 61 | assert_eq!(view.remove_entry(), ("d", 40000)); [INFO] [stdout] | ^^^^^^^^^^^^ expected `(_, Arc<_>)`, found `(&str, {integer})` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(_, Arc<_>)` [INFO] [stdout] found tuple `(&str, {integer})` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0369, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::CowHashMap::insert (line 1719) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:1728:33 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(map.insert(37, "c"), Some("b")); [INFO] [stdout] | ^^^^^^^^^ expected `Option>`, found `Option<&str>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>` [INFO] [stdout] found enum `Option<&str>` [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<{integer}, &str>` [INFO] [stdout] --> src/map.rs:1729:15 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(map[&37], "c"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0608. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::CowHashMap::retain (line 1054) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:1066:49 [INFO] [stdout] | [INFO] [stdout] 15 | let mut vec: Vec<(i32, i32)> = map.iter().map(|(&k, &v)| (k, v)).collect(); [INFO] [stdout] | -^^----- [INFO] [stdout] | || [INFO] [stdout] | |expected `i32`, found `&_` [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found reference `&_` [INFO] [stdout] help: consider removing `&` from the pattern [INFO] [stdout] | [INFO] [stdout] 15 - let mut vec: Vec<(i32, i32)> = map.iter().map(|(&k, &v)| (k, v)).collect(); [INFO] [stdout] 15 + let mut vec: Vec<(i32, i32)> = map.iter().map(|(k, &v)| (k, v)).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:1066:53 [INFO] [stdout] | [INFO] [stdout] 15 | let mut vec: Vec<(i32, i32)> = map.iter().map(|(&k, &v)| (k, v)).collect(); [INFO] [stdout] | -----^^- [INFO] [stdout] | | | [INFO] [stdout] | | expected `Arc`, found `&_` [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found reference `&_` [INFO] [stdout] help: consider removing `&` from the pattern [INFO] [stdout] | [INFO] [stdout] 15 - let mut vec: Vec<(i32, i32)> = map.iter().map(|(&k, &v)| (k, v)).collect(); [INFO] [stdout] 15 + let mut vec: Vec<(i32, i32)> = map.iter().map(|(&k, v)| (k, v)).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::CowHashMap::remove_entry (line 2205) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:2215:34 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(map.remove_entry(&1), Some((1, "a"))); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `Option<({integer}, Arc<&str>)>`, found `Option<({integer}, &str)>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<({integer}, Arc<&str>)>` [INFO] [stdout] found enum `Option<({integer}, &str)>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::CowHashMap::retain_mut (line 1097) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:1109:49 [INFO] [stdout] | [INFO] [stdout] 15 | let mut vec: Vec<(i32, i32)> = map.iter().map(|(&k, &v)| (k, v)).collect(); [INFO] [stdout] | -^^----- [INFO] [stdout] | || [INFO] [stdout] | |expected `i32`, found `&_` [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found reference `&_` [INFO] [stdout] help: consider removing `&` from the pattern [INFO] [stdout] | [INFO] [stdout] 15 - let mut vec: Vec<(i32, i32)> = map.iter().map(|(&k, &v)| (k, v)).collect(); [INFO] [stdout] 15 + let mut vec: Vec<(i32, i32)> = map.iter().map(|(k, &v)| (k, v)).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:1109:53 [INFO] [stdout] | [INFO] [stdout] 15 | let mut vec: Vec<(i32, i32)> = map.iter().map(|(&k, &v)| (k, v)).collect(); [INFO] [stdout] | -----^^- [INFO] [stdout] | | | [INFO] [stdout] | | expected `Arc`, found `&_` [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found reference `&_` [INFO] [stdout] help: consider removing `&` from the pattern [INFO] [stdout] | [INFO] [stdout] 15 - let mut vec: Vec<(i32, i32)> = map.iter().map(|(&k, &v)| (k, v)).collect(); [INFO] [stdout] 15 + let mut vec: Vec<(i32, i32)> = map.iter().map(|(&k, v)| (k, v)).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::CowHashMap::try_insert_mut (line 2083) stdout ---- [INFO] [stdout] error[E0277]: `OccupiedError<{integer}, &str, BuildHasherDefault>` doesn't implement `Debug` [INFO] [stdout] --> src/map.rs:2089:36 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(map.try_insert(37, "a").unwrap(), &"a"); [INFO] [stdout] | ^^^^^^ the trait `Debug` is not implemented for `OccupiedError<{integer}, &str, BuildHasherDefault>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Result::::unwrap` [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/result.rs:1220:5 [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestdlwKaM/rust_out.long-type-7546732057587655803.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:2089:46 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(map.try_insert(37, "a").unwrap(), &"a"); [INFO] [stdout] | ^^^^ expected `Arc<&str>`, found `&&str` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<&str>` [INFO] [stdout] found reference `&&str` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:2094:33 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(entry.get(), &"a"); [INFO] [stdout] | ^^^^ expected `Arc<&str>`, found `&&str` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<&str>` [INFO] [stdout] found reference `&&str` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/map.rs - map::CowHashMap::remove_fast (line 2166) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:2176:28 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(map.remove(&1), Some("a")); [INFO] [stdout] | ^^^^^^^^^ expected `Option>`, found `Option<&str>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>` [INFO] [stdout] found enum `Option<&str>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::CowHashMap::values_mut (line 840) stdout ---- [INFO] [stdout] error[E0596]: cannot borrow `val` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/map.rs:851:6 [INFO] [stdout] | [INFO] [stdout] 14 | *val = *val + 10; [INFO] [stdout] | ^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 13 | for mut val in map.values_mut() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::Entry::Vacant (line 4407) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:4409:38 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{Entry, HashMap}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::Entry::and_modify (line 5411) stdout ---- [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, u32>` [INFO] [stdout] --> src/map.rs:5420:15 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(map["poneyland"], 42); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, u32>` [INFO] [stdout] --> src/map.rs:5425:15 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(map["poneyland"], 43); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0608`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::Drain (line 2877) stdout ---- [INFO] [stdout] error[E0277]: can't compare `Option<({integer}, Arc<&str>)>` with `Option<({integer}, &str)>` [INFO] [stdout] --> src/map.rs:2889:1 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(vec, [Some((1, "a")), Some((2, "b")), Some((3, "c"))]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `Option<({integer}, Arc<&str>)> == Option<({integer}, &str)>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq>` is not implemented for `Option<({integer}, Arc<&str>)>` [INFO] [stdout] but trait `PartialEq)>>` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `Arc<&str>`, found `&str` [INFO] [stdout] = note: required for `Vec)>>` to implement `PartialEq<[Option<({integer}, &str)>; 3]>` [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 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::Entry::and_replace_entry_with (line 5452) stdout ---- [INFO] [stdout] error[E0277]: can't compare `&u32` with `{integer}` [INFO] [stdout] --> src/map.rs:5476:9 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(v, 42); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no implementation for `&u32 == {integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<{integer}>` is not implemented for `&u32` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] WARN rustc_errors::emitter Invalid span /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/macros/mod.rs:46:22: 46:22 (#14), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/macros/mod.rs" }) } [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:5483:29 [INFO] [stdout] | [INFO] [stdout] 34 | assert_eq!(e.get(), &43); [INFO] [stdout] | ^^^ expected `Arc`, found `&{integer}` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found reference `&{integer}` [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, u32>` [INFO] [stdout] --> src/map.rs:5488:15 [INFO] [stdout] | [INFO] [stdout] 39 | assert_eq!(map["poneyland"], 43); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0608. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::Entry (line 4350) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:4352:38 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{Entry, HashMap, OccupiedEntry}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::Entry::or_default (line 5519) stdout ---- [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, Option>` [INFO] [stdout] --> src/map.rs:5527:15 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(map["poneyland"], None); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:5532:49 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(map.entry("horseland").or_default(), &mut Some(3)); [INFO] [stdout] | ^^^^^^^^^^^^ expected `Arc>`, found `&mut Option<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>` [INFO] [stdout] found mutable reference `&mut Option<{integer}>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0608. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::Entry::or_insert (line 5192) stdout ---- [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, u32>` [INFO] [stdout] --> src/map.rs:5200:15 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(map["poneyland"], 3); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, u32>` [INFO] [stdout] --> src/map.rs:5204:15 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(map["poneyland"], 6); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0608`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::Entry::or_insert_with_key (line 5318) stdout ---- [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, usize>` [INFO] [stdout] --> src/map.rs:5326:15 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(map["poneyland"], 9); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, usize>` [INFO] [stdout] --> src/map.rs:5330:15 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(map["poneyland"], 18); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0608`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::Entry::or_insert_with_key_mut (line 5355) stdout ---- [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, usize>` [INFO] [stdout] --> src/map.rs:5363:15 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(map["poneyland"], 9); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, usize>` [INFO] [stdout] --> src/map.rs:5367:15 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(map["poneyland"], 18); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0608`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::Entry::or_insert_mut (line 5222) stdout ---- [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, u32>` [INFO] [stdout] --> src/map.rs:5230:15 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(map["poneyland"], 3); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, u32>` [INFO] [stdout] --> src/map.rs:5234:15 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(map["poneyland"], 6); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0608`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::Entry::or_insert_with_mut (line 5283) stdout ---- [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, u32>` [INFO] [stdout] --> src/map.rs:5291:15 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(map["poneyland"], 3); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, u32>` [INFO] [stdout] --> src/map.rs:5295:15 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(map["poneyland"], 6); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0608`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::and_replace_entry_with (line 6439) stdout ---- [INFO] [stdout] error[E0277]: can't compare `&u32` with `{integer}` [INFO] [stdout] --> src/map.rs:6463:9 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(v, 42); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no implementation for `&u32 == {integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<{integer}>` is not implemented for `&u32` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] WARN rustc_errors::emitter Invalid span /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/macros/mod.rs:46:22: 46:22 (#14), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/macros/mod.rs" }) } [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:6470:29 [INFO] [stdout] | [INFO] [stdout] 34 | assert_eq!(e.get(), &43); [INFO] [stdout] | ^^^ expected `Arc`, found `&{integer}` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found reference `&{integer}` [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap` [INFO] [stdout] --> src/map.rs:6475:15 [INFO] [stdout] | [INFO] [stdout] 39 | assert_eq!(map["poneyland"], 43); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0608. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::and_modify (line 6398) stdout ---- [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap` [INFO] [stdout] --> src/map.rs:6407:15 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(map["poneyland"], 42); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap` [INFO] [stdout] --> src/map.rs:6412:15 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(map["poneyland"], 43); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0608`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::EntryRef (line 4543) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:4545:41 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{EntryRef, HashMap, OccupiedEntryRef}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::or_insert (line 6182) stdout ---- [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap` [INFO] [stdout] --> src/map.rs:6190:15 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(map["poneyland"], 3); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap` [INFO] [stdout] --> src/map.rs:6194:15 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(map["poneyland"], 6); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0608`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::EntryRef::Vacant (line 4600) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:4602:41 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{EntryRef, HashMap}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::or_insert_mut (line 6212) stdout ---- [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap` [INFO] [stdout] --> src/map.rs:6220:15 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(map["poneyland"], 3); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap` [INFO] [stdout] --> src/map.rs:6224:15 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(map["poneyland"], 6); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0608`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::Entry::or_default_mut (line 5550) stdout ---- [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, Option>` [INFO] [stdout] --> src/map.rs:5558:15 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(map["poneyland"], None); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:5563:49 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(map.entry("horseland").or_default(), &mut Some(3)); [INFO] [stdout] | ^^^^^^^^^^^^ expected `Arc>`, found `&mut Option<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>` [INFO] [stdout] found mutable reference `&mut Option<{integer}>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0608. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::or_insert_with_key (line 6305) stdout ---- [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap` [INFO] [stdout] --> src/map.rs:6313:15 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(map["poneyland"], 9); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap` [INFO] [stdout] --> src/map.rs:6317:15 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(map["poneyland"], 18); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0608`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::EntryRef::Occupied (line 4585) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:4587:41 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{EntryRef, HashMap}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::Entry::or_insert_with (line 5253) stdout ---- [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, u32>` [INFO] [stdout] --> src/map.rs:5261:15 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(map["poneyland"], 3); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, u32>` [INFO] [stdout] --> src/map.rs:5265:15 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(map["poneyland"], 6); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0608`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::or_insert_with (line 6243) stdout ---- [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap` [INFO] [stdout] --> src/map.rs:6251:15 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(map["poneyland"], 3); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap` [INFO] [stdout] --> src/map.rs:6255:15 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(map["poneyland"], 6); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0608`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::or_insert_with_key_mut (line 6339) stdout ---- [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap` [INFO] [stdout] --> src/map.rs:6347:15 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(map["poneyland"], 9); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap` [INFO] [stdout] --> src/map.rs:6351:15 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(map["poneyland"], 18); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0608`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::or_insert_with_mut (line 6273) stdout ---- [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap` [INFO] [stdout] --> src/map.rs:6281:15 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(map["poneyland"], 3); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap` [INFO] [stdout] --> src/map.rs:6285:15 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(map["poneyland"], 6); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0608`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::or_default (line 6508) stdout ---- [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap>` [INFO] [stdout] --> src/map.rs:6516:15 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(map["poneyland"], None); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:6521:53 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(map.entry_ref("horseland").or_default(), &mut Some(3)); [INFO] [stdout] | ^^^^^^^^^^^^ expected `Arc>`, found `&mut Option<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>` [INFO] [stdout] found mutable reference `&mut Option<{integer}>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0608. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::or_default_mut (line 6539) stdout ---- [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap>` [INFO] [stdout] --> src/map.rs:6547:15 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(map["poneyland"], None); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:6552:53 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(map.entry_ref("horseland").or_default(), &mut Some(3)); [INFO] [stdout] | ^^^^^^^^^^^^ expected `Arc>`, found `&mut Option<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>` [INFO] [stdout] found mutable reference `&mut Option<{integer}>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0608. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::Iter (line 2517) stdout ---- [INFO] [stdout] error[E0277]: can't compare `Option<({integer}, Arc<&str>)>` with `Option<(&{integer}, &&str)>` [INFO] [stdout] --> src/map.rs:2529:1 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(vec, [Some((&1, &"a")), Some((&2, &"b")), Some((&3, &"c"))]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `Option<({integer}, Arc<&str>)> == Option<(&{integer}, &&str)>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq>` is not implemented for `Option<({integer}, Arc<&str>)>` [INFO] [stdout] but trait `PartialEq)>>` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `{integer}`, found `&{integer}` [INFO] [stdout] = note: required for `Vec)>>` to implement `PartialEq<[Option<(&{integer}, &&str)>; 3]>` [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 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedEntry::get_mut (line 5672) stdout ---- [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, u32>` [INFO] [stdout] --> src/map.rs:5680:15 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(map["poneyland"], 12); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, u32>` [INFO] [stdout] --> src/map.rs:5689:15 [INFO] [stdout] | [INFO] [stdout] 20 | assert_eq!(map["poneyland"], 24); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0608`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::IterMut (line 2562) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/map.rs:2576:35 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(map.get(&1).unwrap(), &Arc::new("One Mississippi".to_owned())); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/map.rs:2577:35 [INFO] [stdout] | [INFO] [stdout] 18 | assert_eq!(map.get(&2).unwrap(), &Arc::new("Two Mississippi".to_owned())); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::IntoIter (line 2613) stdout ---- [INFO] [stdout] error[E0277]: can't compare `Option<({integer}, Arc<&str>)>` with `Option<({integer}, &str)>` [INFO] [stdout] --> src/map.rs:2625:1 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(vec, [Some((1, "a")), Some((2, "b")), Some((3, "c"))]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `Option<({integer}, Arc<&str>)> == Option<({integer}, &str)>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq>` is not implemented for `Option<({integer}, Arc<&str>)>` [INFO] [stdout] but trait `PartialEq)>>` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `Arc<&str>`, found `&str` [INFO] [stdout] = note: required for `Vec)>>` to implement `PartialEq<[Option<({integer}, &str)>; 3]>` [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 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedEntry (line 4426) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:4428:38 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{Entry, HashMap, OccupiedEntry}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:4440:32 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(view.get(), &100); [INFO] [stdout] | ^^^^ expected `Arc<_>`, found `&{integer}` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<_>` [INFO] [stdout] found reference `&{integer}` [INFO] [stdout] help: call `Into::into` on this expression to convert `&{integer}` into `Arc<_>` [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(view.get(), (&100).into()); [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:4443:39 [INFO] [stdout] | [INFO] [stdout] 20 | assert_eq!(view.insert(1111), 1000); [INFO] [stdout] | ^^^^ expected `Arc<{integer}>`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<{integer}>` [INFO] [stdout] found type `{integer}` [INFO] [stdout] help: call `Into::into` on this expression to convert `{integer}` into `Arc<{integer}>` [INFO] [stdout] | [INFO] [stdout] 20 | assert_eq!(view.insert(1111), 1000.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:4454:41 [INFO] [stdout] | [INFO] [stdout] 31 | assert_eq!(view.remove_entry(), ("c", 30)); [INFO] [stdout] | ^^^^^^^^^ expected `(_, Arc<_>)`, found `(&str, {integer})` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(_, Arc<_>)` [INFO] [stdout] found tuple `(&str, {integer})` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::Keys (line 2780) stdout ---- [INFO] [stdout] error[E0277]: can't compare `Option<{integer}>` with `Option<&{integer}>` [INFO] [stdout] --> src/map.rs:2792:1 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(vec, [Some(&1), Some(&2), Some(&3)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `Option<{integer}> == Option<&{integer}>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq>` is not implemented for `Option<{integer}>` [INFO] [stdout] but trait `PartialEq>` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `{integer}`, found `&{integer}` [INFO] [stdout] = note: required for `Vec>` to implement `PartialEq<[Option<&{integer}>; 3]>` [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 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::ExtractIf (line 2922) stdout ---- [INFO] [stdout] error[E0277]: can't compare `Option<(i32, Arc<&str>)>` with `Option<({integer}, &str)>` [INFO] [stdout] --> src/map.rs:2934:1 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(vec, [Some((1, "a")),Some((3, "c"))]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `Option<(i32, Arc<&str>)> == Option<({integer}, &str)>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq>` is not implemented for `Option<(i32, Arc<&str>)>` [INFO] [stdout] but trait `PartialEq)>>` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `Arc<&str>`, found `&str` [INFO] [stdout] = note: required for `Vec)>>` to implement `PartialEq<[Option<({integer}, &str)>; 2]>` [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 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedEntry::replace_entry (line 5804) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:5806:38 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{Entry, HashMap}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:5818:56 [INFO] [stdout] | [INFO] [stdout] 17 | let (old_key, old_value): (Rc, u32) = entry.replace_entry(16); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `(Rc, u32)`, found `(_, Arc<{integer}>)` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(Rc, u32)` [INFO] [stdout] found tuple `(_, Arc<{integer}>)` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedEntry::remove (line 5769) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:5781:28 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(o.remove(), 12); [INFO] [stdout] | ^^ expected `Arc`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found type `{integer}` [INFO] [stdout] help: call `Into::into` on this expression to convert `{integer}` into `Arc` [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(o.remove(), 12.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedEntry::replace_entry_with (line 5938) stdout ---- [INFO] [stdout] error[E0277]: can't compare `&u32` with `{integer}` [INFO] [stdout] --> src/map.rs:5950:13 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(v, 42); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no implementation for `&u32 == {integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<{integer}>` is not implemented for `&u32` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] WARN rustc_errors::emitter Invalid span /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/macros/mod.rs:46:22: 46:22 (#6), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/macros/mod.rs" }) } [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:5960:29 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(e.get(), &43); [INFO] [stdout] | ^^^ expected `Arc`, found `&{integer}` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found reference `&{integer}` [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, u32>` [INFO] [stdout] --> src/map.rs:5965:15 [INFO] [stdout] | [INFO] [stdout] 30 | assert_eq!(map["poneyland"], 43); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0608. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedEntry::key (line 5583) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:5585:38 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{Entry, HashMap}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::IntoValues (line 2718) stdout ---- [INFO] [stdout] error[E0277]: can't compare `Option>` with `Option<&str>` [INFO] [stdout] --> src/map.rs:2730:1 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(vec, [Some("a"), Some("b"), Some("c")]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `Option> == Option<&str>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq>` is not implemented for `Option>` [INFO] [stdout] but trait `PartialEq>>` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `Arc<&str>`, found `&str` [INFO] [stdout] = note: required for `Vec>>` to implement `PartialEq<[Option<&str>; 3]>` [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 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedEntry::get (line 5645) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:5655:55 [INFO] [stdout] | [INFO] [stdout] 13 | Entry::Occupied(entry) => assert_eq!(entry.get(), &12), [INFO] [stdout] | ^^^ expected `Arc`, found `&{integer}` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found reference `&{integer}` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedEntry::replace_entry_mut (line 5846) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:5848:38 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{Entry, HashMap}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:5860:56 [INFO] [stdout] | [INFO] [stdout] 17 | let (old_key, old_value): (Rc, u32) = entry.replace_entry(16); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `(Rc, u32)`, found `(_, Arc<{integer}>)` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(Rc, u32)` [INFO] [stdout] found tuple `(_, Arc<{integer}>)` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::into_mut (line 6696) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:6698:41 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{EntryRef, HashMap}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:6705:42 [INFO] [stdout] | [INFO] [stdout] 10 | let value: &mut u32; [INFO] [stdout] | -------- expected due to this type [INFO] [stdout] 11 | match map.entry_ref("poneyland") { [INFO] [stdout] 12 | EntryRef::Occupied(entry) => value = entry.into_mut(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `&mut u32`, found `CowValueGuard<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut u32` [INFO] [stdout] found struct `CowValueGuard<_>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedEntry::into_mut (line 5708) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:5710:38 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{Entry, HashMap}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:5719:39 [INFO] [stdout] | [INFO] [stdout] 12 | let value: &mut u32; [INFO] [stdout] | -------- expected due to this type [INFO] [stdout] 13 | match map.entry("poneyland") { [INFO] [stdout] 14 | Entry::Occupied(entry) => value = entry.into_mut(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `&mut u32`, found `CowValueGuard<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut u32` [INFO] [stdout] found struct `CowValueGuard<_>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::key (line 6574) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:6576:41 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{EntryRef, HashMap}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedEntry::remove_entry (line 5604) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:5617:34 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(o.remove_entry(), ("poneyland", 12)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `(&str, Arc)`, found `(&str, {integer})` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(&_, Arc)` [INFO] [stdout] found tuple `(&_, {integer})` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::get_mut (line 6660) stdout ---- [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap` [INFO] [stdout] --> src/map.rs:6668:15 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(map["poneyland"], 12); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap` [INFO] [stdout] --> src/map.rs:6677:15 [INFO] [stdout] | [INFO] [stdout] 20 | assert_eq!(map["poneyland"], 24); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0608`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedEntry::insert (line 5738) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:5747:30 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(o.insert(15), 12); [INFO] [stdout] | ^^ expected `Arc`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found type `{integer}` [INFO] [stdout] help: call `Into::into` on this expression to convert `{integer}` into `Arc` [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(o.insert(15), 12.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, u32>` [INFO] [stdout] --> src/map.rs:5750:15 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(map["poneyland"], 15); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0608. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::remove (line 6747) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:6759:28 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(o.remove(), 12); [INFO] [stdout] | ^^ expected `Arc`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found type `{integer}` [INFO] [stdout] help: call `Into::into` on this expression to convert `{integer}` into `Arc` [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(o.remove(), 12.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::replace_entry_with (line 6873) stdout ---- [INFO] [stdout] error[E0277]: can't compare `&u32` with `{integer}` [INFO] [stdout] --> src/map.rs:6885:13 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(v, 42); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no implementation for `&u32 == {integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<{integer}>` is not implemented for `&u32` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] WARN rustc_errors::emitter Invalid span /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/macros/mod.rs:46:22: 46:22 (#6), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/macros/mod.rs" }) } [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:6895:29 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(e.get(), &43); [INFO] [stdout] | ^^^ expected `Arc`, found `&{integer}` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found reference `&{integer}` [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap` [INFO] [stdout] --> src/map.rs:6900:15 [INFO] [stdout] | [INFO] [stdout] 30 | assert_eq!(map["poneyland"], 43); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0608. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedEntryRef (line 4660) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:4662:41 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{EntryRef, HashMap, OccupiedEntryRef}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:4675:32 [INFO] [stdout] | [INFO] [stdout] 18 | assert_eq!(view.get(), &100); [INFO] [stdout] | ^^^^ expected `Arc<_>`, found `&{integer}` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<_>` [INFO] [stdout] found reference `&{integer}` [INFO] [stdout] help: call `Into::into` on this expression to convert `&{integer}` into `Arc<_>` [INFO] [stdout] | [INFO] [stdout] 18 | assert_eq!(view.get(), (&100).into()); [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:4678:39 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(view.insert(1111), 1000); [INFO] [stdout] | ^^^^ expected `Arc<{integer}>`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<{integer}>` [INFO] [stdout] found type `{integer}` [INFO] [stdout] help: call `Into::into` on this expression to convert `{integer}` into `Arc<{integer}>` [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(view.insert(1111), 1000.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:4689:41 [INFO] [stdout] | [INFO] [stdout] 32 | assert_eq!(view.remove_entry(), ("c".to_owned(), 30)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `(_, Arc<_>)`, found `(String, {integer})` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(_, Arc<_>)` [INFO] [stdout] found tuple `(String, {integer})` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedEntry::replace_key (line 5890) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:5892:38 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{Entry, HashMap}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedError (line 4788) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:4790:31 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{HashMap, OccupiedError}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:4801:39 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(entry.insert(100), 10) [INFO] [stdout] | ^^ expected `Arc<{integer}>`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<{integer}>` [INFO] [stdout] found type `{integer}` [INFO] [stdout] help: call `Into::into` on this expression to convert `{integer}` into `Arc<{integer}>` [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(entry.insert(100), 10.into()) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::remove_entry (line 6595) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:6608:34 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(o.remove_entry(), ("poneyland".to_owned(), 12)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `(String, Arc)`, found `(String, {integer})` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(String, Arc)` [INFO] [stdout] found tuple `(String, {integer})` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::replace_key (line 6828) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:6830:41 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{EntryRef, HashMap}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawEntryMut::Occupied (line 3166) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::HashMap` [INFO] [stdout] --> src/map.rs:3168:44 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::{hash_map::RawEntryMut, HashMap}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::get (line 6633) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:6643:58 [INFO] [stdout] | [INFO] [stdout] 13 | EntryRef::Occupied(entry) => assert_eq!(entry.get(), &12), [INFO] [stdout] | ^^^ expected `Arc`, found `&{integer}` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found reference `&{integer}` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawEntryMut (line 3091) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:3094:31 [INFO] [stdout] | [INFO] [stdout] 6 | use cow_hashbrown::hash_map::{HashMap, RawEntryMut, RawOccupiedEntryMut}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawEntryMut<'a,K,V,S,A>::insert (line 3334) stdout ---- [INFO] [stdout] error[E0599]: no method named `from_key` found for struct `RawEntryBuilderMut<'a, K, V, S, A>` in the current scope [INFO] [stdout] --> src/map.rs:3339:33 [INFO] [stdout] | [INFO] [stdout] 8 | let entry = map.raw_entry_mut().from_key("horseyland").insert("horseyland", 37); [INFO] [stdout] | ^^^^^^^^ method not found in `RawEntryBuilderMut<'_, &str, u32, BuildHasherDefault>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::replace_entry (line 6782) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:6784:41 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{EntryRef, HashMap}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:6795:52 [INFO] [stdout] | [INFO] [stdout] 16 | let (old_key, old_value): (Rc, u32) = entry.replace_entry(16); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `(Rc, u32)`, found `(_, Arc<{integer}>)` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(Rc, u32)` [INFO] [stdout] found tuple `(_, Arc<{integer}>)` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawEntryMut<'a,K,V,S,A>::and_modify_mut (line 3523) stdout ---- [INFO] [stdout] error[E0599]: no method named `from_key` found for struct `RawEntryBuilderMut<'a, K, V, S, A>` in the current scope [INFO] [stdout] --> src/map.rs:3530:5 [INFO] [stdout] | [INFO] [stdout] 9 | / map.raw_entry_mut() [INFO] [stdout] 10 | | .from_key("poneyland") [INFO] [stdout] | | -^^^^^^^^ method not found in `RawEntryBuilderMut<'_, &str, u32, BuildHasherDefault>` [INFO] [stdout] | |____| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, u32>` [INFO] [stdout] --> src/map.rs:3533:15 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(map["poneyland"], 42); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `from_key` found for struct `RawEntryBuilderMut<'a, K, V, S, A>` in the current scope [INFO] [stdout] --> src/map.rs:3536:5 [INFO] [stdout] | [INFO] [stdout] 15 | / map.raw_entry_mut() [INFO] [stdout] 16 | | .from_key("poneyland") [INFO] [stdout] | | -^^^^^^^^ method not found in `RawEntryBuilderMut<'_, &str, u32, BuildHasherDefault>` [INFO] [stdout] | |____| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, u32>` [INFO] [stdout] --> src/map.rs:3539:15 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(map["poneyland"], 43); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0608. [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawEntryMut<'a,K,V,S,A>::and_modify (line 3484) stdout ---- [INFO] [stdout] error[E0599]: no method named `from_key` found for struct `RawEntryBuilderMut<'a, K, V, S, A>` in the current scope [INFO] [stdout] --> src/map.rs:3491:5 [INFO] [stdout] | [INFO] [stdout] 9 | / map.raw_entry_mut() [INFO] [stdout] 10 | | .from_key("poneyland") [INFO] [stdout] | | -^^^^^^^^ method not found in `RawEntryBuilderMut<'_, &str, u32, BuildHasherDefault>` [INFO] [stdout] | |____| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, u32>` [INFO] [stdout] --> src/map.rs:3494:15 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(map["poneyland"], 42); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `from_key` found for struct `RawEntryBuilderMut<'a, K, V, S, A>` in the current scope [INFO] [stdout] --> src/map.rs:3497:5 [INFO] [stdout] | [INFO] [stdout] 15 | / map.raw_entry_mut() [INFO] [stdout] 16 | | .from_key("poneyland") [INFO] [stdout] | | -^^^^^^^^ method not found in `RawEntryBuilderMut<'_, &str, u32, BuildHasherDefault>` [INFO] [stdout] | |____| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, u32>` [INFO] [stdout] --> src/map.rs:3500:15 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(map["poneyland"], 43); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0608. [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawEntryMut<'a,K,V,S,A>::or_insert_with (line 3419) stdout ---- [INFO] [stdout] error[E0599]: no method named `from_key` found for struct `RawEntryBuilderMut<'a, K, V, S, A>` in the current scope [INFO] [stdout] --> src/map.rs:3425:21 [INFO] [stdout] | [INFO] [stdout] 9 | map.raw_entry_mut().from_key("poneyland").or_insert_with(|| { [INFO] [stdout] | ^^^^^^^^ method not found in `RawEntryBuilderMut<'_, &str, String, BuildHasherDefault>` [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, String>` [INFO] [stdout] --> src/map.rs:3429:15 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(map["poneyland"], "hoho".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0608. [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawEntryMut<'a,K,V,S,A>::or_insert_mut (line 3390) stdout ---- [INFO] [stdout] error[E0599]: no method named `from_key` found for struct `RawEntryBuilderMut<'a, K, V, S, A>` in the current scope [INFO] [stdout] --> src/map.rs:3396:21 [INFO] [stdout] | [INFO] [stdout] 9 | map.raw_entry_mut().from_key("poneyland").or_insert("poneyland", 3); [INFO] [stdout] | ^^^^^^^^ method not found in `RawEntryBuilderMut<'_, &str, u32, BuildHasherDefault>` [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, u32>` [INFO] [stdout] --> src/map.rs:3397:15 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(map["poneyland"], 3); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `from_key` found for struct `RawEntryBuilderMut<'a, K, V, S, A>` in the current scope [INFO] [stdout] --> src/map.rs:3399:22 [INFO] [stdout] | [INFO] [stdout] 12 | *map.raw_entry_mut().from_key("poneyland").or_insert("poneyland", 10).1 *= 2; [INFO] [stdout] | ^^^^^^^^ method not found in `RawEntryBuilderMut<'_, &str, u32, BuildHasherDefault>` [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, u32>` [INFO] [stdout] --> src/map.rs:3400:15 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(map["poneyland"], 6); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0608. [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawEntryMut<'a,K,V,S,A>::or_insert (line 3362) stdout ---- [INFO] [stdout] error[E0599]: no method named `from_key` found for struct `RawEntryBuilderMut<'a, K, V, S, A>` in the current scope [INFO] [stdout] --> src/map.rs:3368:21 [INFO] [stdout] | [INFO] [stdout] 9 | map.raw_entry_mut().from_key("poneyland").or_insert("poneyland", 3); [INFO] [stdout] | ^^^^^^^^ method not found in `RawEntryBuilderMut<'_, &str, u32, BuildHasherDefault>` [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, u32>` [INFO] [stdout] --> src/map.rs:3369:15 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(map["poneyland"], 3); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `from_key` found for struct `RawEntryBuilderMut<'a, K, V, S, A>` in the current scope [INFO] [stdout] --> src/map.rs:3371:22 [INFO] [stdout] | [INFO] [stdout] 12 | *map.raw_entry_mut().from_key("poneyland").or_insert("poneyland", 10).1 *= 2; [INFO] [stdout] | ^^^^^^^^ method not found in `RawEntryBuilderMut<'_, &str, u32, BuildHasherDefault>` [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, u32>` [INFO] [stdout] --> src/map.rs:3372:15 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(map["poneyland"], 6); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0608. [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::insert (line 6724) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:6733:30 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(o.insert(15), 12); [INFO] [stdout] | ^^ expected `Arc`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found type `{integer}` [INFO] [stdout] help: call `Into::into` on this expression to convert `{integer}` into `Arc` [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(o.insert(15), 12.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap` [INFO] [stdout] --> src/map.rs:6736:15 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(map["poneyland"], 15); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0608. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawEntryMut::Vacant (line 3180) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::HashMap` [INFO] [stdout] --> src/map.rs:3182:44 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::{hash_map::RawEntryMut, HashMap}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawEntryBuilderMut (line 3025) stdout ---- [INFO] [stdout] error[E0599]: no method named `from_key` found for struct `RawEntryBuilderMut<'a, K, V, S, A>` in the current scope [INFO] [stdout] --> src/map.rs:3045:15 [INFO] [stdout] | [INFO] [stdout] 23 | match builder.from_key(&6) { [INFO] [stdout] | ^^^^^^^^ method not found in `RawEntryBuilderMut<'_, {integer}, {integer}, BuildHasherDefault<...>>` [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestMgLbUT/rust_out.long-type-13773517873134978728.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:3047:46 [INFO] [stdout] | [INFO] [stdout] 25 | Occupied(view) => assert_eq!(view.get(), &16), [INFO] [stdout] | ^^^ expected `Arc<_>`, found `&{integer}` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<_>` [INFO] [stdout] found reference `&{integer}` [INFO] [stdout] help: call `Into::into` on this expression to convert `&{integer}` into `Arc<_>` [INFO] [stdout] | [INFO] [stdout] 25 | Occupied(view) => assert_eq!(view.get(), (&16).into()), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `cloned` exists for enum `Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/map.rs:3052:31 [INFO] [stdout] | [INFO] [stdout] 30 | let value = map.get(&key).cloned(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Option>: Iterator` [INFO] [stdout] which is required by `&mut Option>: Iterator` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `from_key` found for struct `RawEntryBuilderMut<'a, K, V, S, A>` in the current scope [INFO] [stdout] --> src/map.rs:3057:31 [INFO] [stdout] | [INFO] [stdout] 35 | match map.raw_entry_mut().from_key(&key) { [INFO] [stdout] | ^^^^^^^^ method not found in `RawEntryBuilderMut<'_, {integer}, {integer}, BuildHasherDefault<...>>` [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestMgLbUT/rust_out.long-type-18299111571640618900.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `from_key_hashed_nocheck` found for struct `RawEntryBuilderMut<'a, K, V, S, A>` in the current scope [INFO] [stdout] --> src/map.rs:3061:31 [INFO] [stdout] | [INFO] [stdout] 39 | match map.raw_entry_mut().from_key_hashed_nocheck(hash, &key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ method not found in `RawEntryBuilderMut<'_, {integer}, {integer}, BuildHasherDefault<...>>` [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestMgLbUT/rust_out.long-type-5710140388514472680.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `from_hash` found for struct `RawEntryBuilderMut<'a, K, V, S, A>` in the current scope [INFO] [stdout] --> src/map.rs:3065:31 [INFO] [stdout] | [INFO] [stdout] 43 | match map.raw_entry_mut().from_hash(hash, |q| *q == key) { [INFO] [stdout] | ^^^^^^^^^ method not found in `RawEntryBuilderMut<'_, {integer}, {integer}, BuildHasherDefault<...>>` [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestMgLbUT/rust_out.long-type-5544404081448307338.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 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/map.rs - map::RawEntryMut<'a,K,V,S,A>::or_insert_with_mut (line 3451) stdout ---- [INFO] [stdout] error[E0599]: no method named `from_key` found for struct `RawEntryBuilderMut<'a, K, V, S, A>` in the current scope [INFO] [stdout] --> src/map.rs:3457:21 [INFO] [stdout] | [INFO] [stdout] 9 | map.raw_entry_mut().from_key("poneyland").or_insert_with(|| { [INFO] [stdout] | ^^^^^^^^ method not found in `RawEntryBuilderMut<'_, &str, String, BuildHasherDefault>` [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, String>` [INFO] [stdout] --> src/map.rs:3461:15 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(map["poneyland"], "hoho".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0608. [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawOccupiedEntryMut (line 3199) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:3202:31 [INFO] [stdout] | [INFO] [stdout] 6 | use cow_hashbrown::hash_map::{HashMap, RawEntryMut, RawOccupiedEntryMut}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:3221:32 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(view.get(), &100); [INFO] [stdout] | ^^^^ expected `Arc<_>`, found `&{integer}` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<_>` [INFO] [stdout] found reference `&{integer}` [INFO] [stdout] help: call `Into::into` on this expression to convert `&{integer}` into `Arc<_>` [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(view.get(), (&100).into()); [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:3225:39 [INFO] [stdout] | [INFO] [stdout] 29 | assert_eq!(view.insert(1111), 1000); [INFO] [stdout] | ^^^^ expected `Arc<{integer}>`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<{integer}>` [INFO] [stdout] found type `{integer}` [INFO] [stdout] help: call `Into::into` on this expression to convert `{integer}` into `Arc<{integer}>` [INFO] [stdout] | [INFO] [stdout] 29 | assert_eq!(view.insert(1111), 1000.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:3237:41 [INFO] [stdout] | [INFO] [stdout] 41 | assert_eq!(view.remove_entry(), ("c", 30)); [INFO] [stdout] | ^^^^^^^^^ expected `(_, Arc<_>)`, found `(&str, {integer})` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(_, Arc<_>)` [INFO] [stdout] found tuple `(&str, {integer})` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:3247:41 [INFO] [stdout] | [INFO] [stdout] 51 | assert_eq!(view.remove_entry(), ("b", 20)); [INFO] [stdout] | ^^^^^^^^^ expected `(_, Arc<_>)`, found `(&str, {integer})` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(_, Arc<_>)` [INFO] [stdout] found tuple `(&str, {integer})` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::get_key_value (line 3722) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:3724:31 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{HashMap, RawEntryMut}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:3730:63 [INFO] [stdout] | [INFO] [stdout] 11 | RawEntryMut::Occupied(o) => assert_eq!(o.get_key_value(), (&"a", &100)), [INFO] [stdout] | ^^^^^^^^^^^^ expected `(_, Arc<_>)`, found `(&&str, &{integer})` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(_, Arc<_>)` [INFO] [stdout] found tuple `(&&str, &{integer})` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::into_mut (line 3671) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:3673:31 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{HashMap, RawEntryMut}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:3681:41 [INFO] [stdout] | [INFO] [stdout] 9 | let value: &mut u32; [INFO] [stdout] | -------- expected due to this type [INFO] [stdout] ... [INFO] [stdout] 13 | RawEntryMut::Occupied(o) => value = o.into_mut(), [INFO] [stdout] | ^^^^^^^^^^^^ expected `&mut u32`, found `CowValueGuard<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut u32` [INFO] [stdout] found struct `CowValueGuard<_>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawVacantEntryMut<'a,K,V,S,A>::insert (line 4024) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:4026:31 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{HashMap, RawEntryMut}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:4032:62 [INFO] [stdout] | [INFO] [stdout] 11 | RawEntryMut::Vacant(v) => assert_eq!(v.insert("c", 300), (&mut "c", &mut 300)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(&_, Arc<{integer}>)` [INFO] [stdout] found tuple `(&mut &'static _, &mut {integer})` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::get_mut (line 3698) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:3700:31 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{HashMap, RawEntryMut}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::get_key_value_mut (line 3744) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:3746:31 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{HashMap, RawEntryMut}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawEntryMut<'a,K,V,S,A>::and_replace_entry_with (line 3564) stdout ---- [INFO] [stdout] error[E0599]: no method named `from_key` found for struct `RawEntryBuilderMut<'a, K, V, S, A>` in the current scope [INFO] [stdout] --> src/map.rs:3573:6 [INFO] [stdout] | [INFO] [stdout] 10 | let entry = map [INFO] [stdout] | _____________- [INFO] [stdout] 11 | | .raw_entry_mut() [INFO] [stdout] 12 | | .from_key("poneyland") [INFO] [stdout] | | -^^^^^^^^ method not found in `RawEntryBuilderMut<'_, &str, u32, BuildHasherDefault>` [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `from_key` found for struct `RawEntryBuilderMut<'a, K, V, S, A>` in the current scope [INFO] [stdout] --> src/map.rs:3585:6 [INFO] [stdout] | [INFO] [stdout] 22 | let entry = map [INFO] [stdout] | _____________- [INFO] [stdout] 23 | | .raw_entry_mut() [INFO] [stdout] 24 | | .from_key("poneyland") [INFO] [stdout] | | -^^^^^^^^ method not found in `RawEntryBuilderMut<'_, &str, u32, BuildHasherDefault>` [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:3595:29 [INFO] [stdout] | [INFO] [stdout] 34 | assert_eq!(e.get(), &43); [INFO] [stdout] | ^^^ expected `Arc<_>`, found `&{integer}` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<_>` [INFO] [stdout] found reference `&{integer}` [INFO] [stdout] help: call `Into::into` on this expression to convert `&{integer}` into `Arc<_>` [INFO] [stdout] | [INFO] [stdout] 34 | assert_eq!(e.get(), (&43).into()); [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, u32>` [INFO] [stdout] --> src/map.rs:3600:15 [INFO] [stdout] | [INFO] [stdout] 39 | assert_eq!(map["poneyland"], 43); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `from_key` found for struct `RawEntryBuilderMut<'a, K, V, S, A>` in the current scope [INFO] [stdout] --> src/map.rs:3604:6 [INFO] [stdout] | [INFO] [stdout] 41 | let entry = map [INFO] [stdout] | _____________- [INFO] [stdout] 42 | | .raw_entry_mut() [INFO] [stdout] 43 | | .from_key("poneyland") [INFO] [stdout] | | -^^^^^^^^ method not found in `RawEntryBuilderMut<'_, &str, u32, BuildHasherDefault>` [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599, E0608. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::key (line 3632) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:3634:31 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{HashMap, RawEntryMut}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::get (line 3651) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:3653:31 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{HashMap, RawEntryMut}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:3659:53 [INFO] [stdout] | [INFO] [stdout] 11 | RawEntryMut::Occupied(o) => assert_eq!(o.get(), &100), [INFO] [stdout] | ^^^^ expected `Arc<_>`, found `&{integer}` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<_>` [INFO] [stdout] found reference `&{integer}` [INFO] [stdout] help: call `Into::into` on this expression to convert `&{integer}` into `Arc<_>` [INFO] [stdout] | [INFO] [stdout] 11 | RawEntryMut::Occupied(o) => assert_eq!(o.get(), (&100).into()), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::insert (line 3868) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:3870:31 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{HashMap, RawEntryMut}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:3876:64 [INFO] [stdout] | [INFO] [stdout] 11 | RawEntryMut::Occupied(mut o) => assert_eq!(o.insert(1000), 100), [INFO] [stdout] | ^^^ expected `Arc<{integer}>`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<{integer}>` [INFO] [stdout] found type `{integer}` [INFO] [stdout] help: call `Into::into` on this expression to convert `{integer}` into `Arc<{integer}>` [INFO] [stdout] | [INFO] [stdout] 11 | RawEntryMut::Occupied(mut o) => assert_eq!(o.insert(1000), 100.into()), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::VacantEntry::insert_mut (line 6094) stdout ---- [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, u32>` [INFO] [stdout] --> src/map.rs:6104:15 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(map["poneyland"], 37); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0608`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::remove (line 3897) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:3899:31 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{HashMap, RawEntryMut}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:3905:56 [INFO] [stdout] | [INFO] [stdout] 11 | RawEntryMut::Occupied(o) => assert_eq!(o.remove(), 100), [INFO] [stdout] | ^^^ expected `Arc<_>`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<_>` [INFO] [stdout] found type `{integer}` [INFO] [stdout] help: call `Into::into` on this expression to convert `{integer}` into `Arc<_>` [INFO] [stdout] | [INFO] [stdout] 11 | RawEntryMut::Occupied(o) => assert_eq!(o.remove(), 100.into()), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::remove_entry (line 3920) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:3922:31 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{HashMap, RawEntryMut}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:3928:62 [INFO] [stdout] | [INFO] [stdout] 11 | RawEntryMut::Occupied(o) => assert_eq!(o.remove_entry(), ("a", 100)), [INFO] [stdout] | ^^^^^^^^^^ expected `(_, Arc<_>)`, found `(&str, {integer})` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(_, Arc<_>)` [INFO] [stdout] found tuple `(&str, {integer})` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::into_key_value_mut (line 3825) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:3827:31 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{HashMap, RawEntryMut}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut Rc<&str>: Clone` is not satisfied [INFO] [stdout] --> src/map.rs:3843:5 [INFO] [stdout] | [INFO] [stdout] 21 | RawEntryMut::Occupied(o) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `&mut Rc<&str>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Clone` is implemented for `Rc` [INFO] [stdout] = note: `Clone` is implemented for `&Rc<&str>`, but not for `&mut Rc<&str>` [INFO] [stdout] note: required by a bound in `cow_hashbrown::hash_map::RawEntryMut::Occupied` [INFO] [stdout] --> /opt/rustwide/workdir/src/map.rs:3161:29 [INFO] [stdout] | [INFO] [stdout] 3161 | pub enum RawEntryMut<'a, K: Clone, V, S, A: Allocator + Clone = Global> { [INFO] [stdout] | ^^^^^ required by this bound in `cow_hashbrown::hash_map::RawEntryMut::Occupied` [INFO] [stdout] ... [INFO] [stdout] 3175 | Occupied(RawOccupiedEntryMut<'a, K, V, S, A>), [INFO] [stdout] | -------- required by a bound in this tuple variant [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut Rc<&str>: Clone` is not satisfied [INFO] [stdout] --> src/map.rs:3844:23 [INFO] [stdout] | [INFO] [stdout] 22 | let tuple = o.into_key_value(); [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `&mut Rc<&str>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Clone` is implemented for `Rc` [INFO] [stdout] = note: `Clone` is implemented for `&Rc<&str>`, but not for `&mut Rc<&str>` [INFO] [stdout] note: required by a bound in `RawOccupiedEntryMut::<'a, K, V, S, A>::into_key_value` [INFO] [stdout] --> /opt/rustwide/workdir/src/map.rs:3627:13 [INFO] [stdout] | [INFO] [stdout] 3627 | impl<'a, K: Clone, V, S, A: Allocator + Clone> RawOccupiedEntryMut<'a, K, V, S, A> { [INFO] [stdout] | ^^^^^ required by this bound in `RawOccupiedEntryMut::<'a, K, V, S, A>::into_key_value` [INFO] [stdout] ... [INFO] [stdout] 3813 | pub fn into_key_value(self) -> (K, Arc) { [INFO] [stdout] | -------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:3846:24 [INFO] [stdout] | [INFO] [stdout] 18 | let inside_value: &mut u32; [INFO] [stdout] | -------- expected due to this type [INFO] [stdout] ... [INFO] [stdout] 24 | inside_value = tuple.1; [INFO] [stdout] | ^^^^^^^ expected `&mut u32`, found `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut u32` [INFO] [stdout] found struct `Arc<_>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::VacantEntry::insert (line 6058) stdout ---- [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap<&str, u32>` [INFO] [stdout] --> src/map.rs:6068:15 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(map["poneyland"], 37); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0608`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawVacantEntryMut (line 3283) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:3286:31 [INFO] [stdout] | [INFO] [stdout] 6 | use cow_hashbrown::hash_map::{HashMap, RawEntryMut, RawVacantEntryMut}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `(str, {integer})` [INFO] [stdout] --> src/map.rs:3310:9 [INFO] [stdout] | [INFO] [stdout] 30 | assert_eq!((*k, *value), ("b", 2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | (str, {integer}) [INFO] [stdout] | (&str, {integer}) [INFO] [stdout] | [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[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/map.rs:3310:9 [INFO] [stdout] | [INFO] [stdout] 30 | assert_eq!((*k, *value), ("b", 2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | doesn't have a size known at compile-time [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = help: the following other types implement trait `Debug`: [INFO] [stdout] () [INFO] [stdout] (A, Z, Y, X, W, V, U, T) [INFO] [stdout] (B, A, Z, Y, X, W, V, U, T) [INFO] [stdout] (C, B, A, Z, Y, X, W, V, U, T) [INFO] [stdout] (D, C, B, A, Z, Y, X, W, V, U, T) [INFO] [stdout] (E, D, C, B, A, Z, Y, X, W, V, U, T) [INFO] [stdout] (T,) [INFO] [stdout] (U, T) [INFO] [stdout] and 5 others [INFO] [stdout] = note: required for `(str, {integer})` to implement `Debug` [INFO] [stdout] note: required by a bound in `assert_failed` [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:384:1 [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[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:3320:42 [INFO] [stdout] | [INFO] [stdout] 40 | assert_eq!(view.insert("c", 30), (&mut "c", &mut 30)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(&_, Arc<{integer}>)` [INFO] [stdout] found tuple `(&mut &'static _, &mut {integer})` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0369, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::VacantEntry (line 4490) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:4492:38 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{Entry, HashMap, VacantEntry}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawVacantEntryMut<'a,K,V,S,A>::insert_hashed_nocheck_mut (line 4125) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:4128:31 [INFO] [stdout] | [INFO] [stdout] 6 | use cow_hashbrown::hash_map::{HashMap, RawEntryMut}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:4144:44 [INFO] [stdout] | [INFO] [stdout] 22 | v.insert_hashed_nocheck(hash, key, 300), [INFO] [stdout] | --------------------- ^^^ expected `Arc>>`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>>` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/map.rs:4105:12 [INFO] [stdout] | [INFO] [stdout] 4105 | pub fn insert_hashed_nocheck(self, hash: u64, key: K, value: Arc>) -> (K, Arc) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:4145:9 [INFO] [stdout] | [INFO] [stdout] 23 | (&mut "c", &mut 300) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(&_, Arc<_>)` [INFO] [stdout] found tuple `(&mut &'static _, &mut {integer})` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawVacantEntryMut<'a,K,V,S,A>::insert_with_hasher_mut (line 4227) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:4230:31 [INFO] [stdout] | [INFO] [stdout] 6 | use cow_hashbrown::hash_map::{HashMap, RawEntryMut}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:4254:9 [INFO] [stdout] | [INFO] [stdout] 30 | (&mut "a", &mut 100) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(&_, Arc<{integer}>)` [INFO] [stdout] found tuple `(&mut &'static _, &mut {integer})` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawVacantEntryMut<'a,K,V,S,A>::insert_mut (line 4050) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:4052:31 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{HashMap, RawEntryMut}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:4058:62 [INFO] [stdout] | [INFO] [stdout] 11 | RawEntryMut::Vacant(v) => assert_eq!(v.insert("c", 300), (&mut "c", &mut 300)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(&_, Arc<{integer}>)` [INFO] [stdout] found tuple `(&mut &'static _, &mut {integer})` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::VacantEntry::into_key (line 6038) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:6040:38 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{Entry, HashMap}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::replace_entry_with (line 3955) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:3957:31 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{HashMap, RawEntryMut}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&_` with `{integer}` [INFO] [stdout] --> src/map.rs:3965:9 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(v, 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no implementation for `&_ == {integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<{integer}>` is not implemented for `&_` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] WARN rustc_errors::emitter Invalid span /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/macros/mod.rs:46:22: 46:22 (#10), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/macros/mod.rs" }) } [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&_` with `{integer}` [INFO] [stdout] --> src/map.rs:3973:9 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(v, 1000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no implementation for `&_ == {integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<{integer}>` is not implemented for `&_` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] WARN rustc_errors::emitter Invalid span /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/macros/mod.rs:46:22: 46:22 (#15), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/macros/mod.rs" }) } [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawVacantEntryMut<'a,K,V,S,A>::insert_with_hasher (line 4177) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:4180:31 [INFO] [stdout] | [INFO] [stdout] 6 | use cow_hashbrown::hash_map::{HashMap, RawEntryMut}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:4204:9 [INFO] [stdout] | [INFO] [stdout] 30 | (&mut "a", &mut 100) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(&_, Arc<{integer}>)` [INFO] [stdout] found tuple `(&mut &'static _, &mut {integer})` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::into_key_value (line 3784) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:3786:31 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{HashMap, RawEntryMut}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut Rc<&str>: Clone` is not satisfied [INFO] [stdout] --> src/map.rs:3802:5 [INFO] [stdout] | [INFO] [stdout] 21 | RawEntryMut::Occupied(o) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `&mut Rc<&str>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Clone` is implemented for `Rc` [INFO] [stdout] = note: `Clone` is implemented for `&Rc<&str>`, but not for `&mut Rc<&str>` [INFO] [stdout] note: required by a bound in `cow_hashbrown::hash_map::RawEntryMut::Occupied` [INFO] [stdout] --> /opt/rustwide/workdir/src/map.rs:3161:29 [INFO] [stdout] | [INFO] [stdout] 3161 | pub enum RawEntryMut<'a, K: Clone, V, S, A: Allocator + Clone = Global> { [INFO] [stdout] | ^^^^^ required by this bound in `cow_hashbrown::hash_map::RawEntryMut::Occupied` [INFO] [stdout] ... [INFO] [stdout] 3175 | Occupied(RawOccupiedEntryMut<'a, K, V, S, A>), [INFO] [stdout] | -------- required by a bound in this tuple variant [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut Rc<&str>: Clone` is not satisfied [INFO] [stdout] --> src/map.rs:3803:23 [INFO] [stdout] | [INFO] [stdout] 22 | let tuple = o.into_key_value(); [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `&mut Rc<&str>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Clone` is implemented for `Rc` [INFO] [stdout] = note: `Clone` is implemented for `&Rc<&str>`, but not for `&mut Rc<&str>` [INFO] [stdout] note: required by a bound in `RawOccupiedEntryMut::<'a, K, V, S, A>::into_key_value` [INFO] [stdout] --> /opt/rustwide/workdir/src/map.rs:3627:13 [INFO] [stdout] | [INFO] [stdout] 3627 | impl<'a, K: Clone, V, S, A: Allocator + Clone> RawOccupiedEntryMut<'a, K, V, S, A> { [INFO] [stdout] | ^^^^^ required by this bound in `RawOccupiedEntryMut::<'a, K, V, S, A>::into_key_value` [INFO] [stdout] ... [INFO] [stdout] 3813 | pub fn into_key_value(self) -> (K, Arc) { [INFO] [stdout] | -------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:3805:24 [INFO] [stdout] | [INFO] [stdout] 18 | let inside_value: &mut u32; [INFO] [stdout] | -------- expected due to this type [INFO] [stdout] ... [INFO] [stdout] 24 | inside_value = tuple.1; [INFO] [stdout] | ^^^^^^^ expected `&mut u32`, found `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut u32` [INFO] [stdout] found struct `Arc<_>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::RawVacantEntryMut<'a,K,V,S,A>::insert_hashed_nocheck (line 4078) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:4081:31 [INFO] [stdout] | [INFO] [stdout] 6 | use cow_hashbrown::hash_map::{HashMap, RawEntryMut}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:4097:44 [INFO] [stdout] | [INFO] [stdout] 22 | v.insert_hashed_nocheck(hash, key, 300), [INFO] [stdout] | --------------------- ^^^ expected `Arc>>`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>>` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/map.rs:4105:12 [INFO] [stdout] | [INFO] [stdout] 4105 | pub fn insert_hashed_nocheck(self, hash: u64, key: K, value: Arc>) -> (K, Arc) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:4098:9 [INFO] [stdout] | [INFO] [stdout] 23 | (&mut "c", &mut 300) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(&_, Arc<_>)` [INFO] [stdout] found tuple `(&mut &'static _, &mut {integer})` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::Values (line 2828) stdout ---- [INFO] [stdout] error[E0277]: can't compare `Option>` with `Option<&Arc<&str>>` [INFO] [stdout] --> src/map.rs:2841:1 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(vec, [Some(&Arc::new("a")), Some(&Arc::new("b")), Some(&Arc::new("c"))]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `Option> == Option<&Arc<&str>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq>>` is not implemented for `Option>` [INFO] [stdout] but trait `PartialEq>>` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `Arc<&str>`, found `&Arc<&str>` [INFO] [stdout] = note: required for `Vec>>` to implement `PartialEq<[Option<&Arc<&str>>; 3]>` [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 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::ValuesMut (line 2996) stdout ---- [INFO] [stdout] error[E0596]: cannot borrow `v` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/map.rs:3004:23 [INFO] [stdout] | [INFO] [stdout] 11 | values.next().map(|v| v.push_str(" Mississippi")); [INFO] [stdout] | ^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 11 | values.next().map(|mut v| v.push_str(" Mississippi")); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `v` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/map.rs:3005:23 [INFO] [stdout] | [INFO] [stdout] 12 | values.next().map(|v| v.push_str(" Mississippi")); [INFO] [stdout] | ^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 12 | values.next().map(|mut v| v.push_str(" Mississippi")); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::VacantEntryRef<'a,'b,K,Q,V,S,A>::insert (line 7004) stdout ---- [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap` [INFO] [stdout] --> src/map.rs:7015:15 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(map["poneyland"], 37); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0608`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::VacantEntryRef<'a,'b,K,Q,V,S,A>::insert_mut (line 7042) stdout ---- [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap` [INFO] [stdout] --> src/map.rs:7053:15 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(map["poneyland"], 37); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0608`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::VacantEntryRef (line 4742) stdout ---- [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap` [INFO] [stdout] --> src/map.rs:4753:12 [INFO] [stdout] | [INFO] [stdout] 14 | assert!(map["a"] == 10 && map.len() == 1); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `CowHashMap` [INFO] [stdout] --> src/map.rs:4764:12 [INFO] [stdout] | [INFO] [stdout] 25 | assert!(map["b"] == 20 && map.len() == 2); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0608`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::VacantEntryRef<'a,'b,K,Q,V,S,A>::into_key (line 6980) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cow_hashbrown::hash_map::HashMap` [INFO] [stdout] --> src/map.rs:6982:41 [INFO] [stdout] | [INFO] [stdout] 5 | use cow_hashbrown::hash_map::{EntryRef, HashMap}; [INFO] [stdout] | ^^^^^^^ no `HashMap` in `hash_map` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::collections::HashMap [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/map.rs - map::&'_mutCowHashMap::into_iter (line 4862) [INFO] [stdout] src/map.rs - map::CowHashMap (line 109) [INFO] [stdout] src/map.rs - map::CowHashMap::entry (line 1431) [INFO] [stdout] src/map.rs - map::CowHashMap::entry_ref (line 1479) [INFO] [stdout] src/map.rs - map::CowHashMap::extend (line 7130) [INFO] [stdout] src/map.rs - map::CowHashMap::extend (line 7217) [INFO] [stdout] src/map.rs - map::CowHashMap::extend (line 7282) [INFO] [stdout] src/map.rs - map::CowHashMap::extract_if (line 1155) [INFO] [stdout] src/map.rs - map::CowHashMap::get (line 1531) [INFO] [stdout] src/map.rs - map::CowHashMap::get_key_value (line 1566) [INFO] [stdout] src/map.rs - map::CowHashMap::get_key_value_mut (line 1601) [INFO] [stdout] src/map.rs - map::CowHashMap::get_mut (line 1675) [INFO] [stdout] src/map.rs - map::CowHashMap::insert (line 1719) [INFO] [stdout] src/map.rs - map::CowHashMap::insert_fast (line 1768) [INFO] [stdout] src/map.rs - map::CowHashMap::insert_mut (line 1815) [INFO] [stdout] src/map.rs - map::CowHashMap::insert_mut_fast (line 1867) [INFO] [stdout] src/map.rs - map::CowHashMap::insert_unique_unchecked (line 1924) [INFO] [stdout] src/map.rs - map::CowHashMap::insert_unique_unchecked_mut (line 1988) [INFO] [stdout] src/map.rs - map::CowHashMap::into_iter (line 4894) [INFO] [stdout] src/map.rs - map::CowHashMap::into_values (line 1251) [INFO] [stdout] src/map.rs - map::CowHashMap::iter (line 880) [INFO] [stdout] src/map.rs - map::CowHashMap::iter_mut (line 918) [INFO] [stdout] src/map.rs - map::CowHashMap::keys (line 776) [INFO] [stdout] src/map.rs - map::CowHashMap::raw_entry_mut (line 2308) [INFO] [stdout] src/map.rs - map::CowHashMap::remove (line 2127) [INFO] [stdout] src/map.rs - map::CowHashMap::remove_entry (line 2205) [INFO] [stdout] src/map.rs - map::CowHashMap::remove_entry_fast (line 2245) [INFO] [stdout] src/map.rs - map::CowHashMap::remove_fast (line 2166) [INFO] [stdout] src/map.rs - map::CowHashMap::retain (line 1054) [INFO] [stdout] src/map.rs - map::CowHashMap::retain_mut (line 1097) [INFO] [stdout] src/map.rs - map::CowHashMap::try_insert (line 2044) [INFO] [stdout] src/map.rs - map::CowHashMap::try_insert_mut (line 2083) [INFO] [stdout] src/map.rs - map::CowHashMap::values_mut (line 840) [INFO] [stdout] src/map.rs - map::Drain (line 2877) [INFO] [stdout] src/map.rs - map::Entry (line 4350) [INFO] [stdout] src/map.rs - map::Entry::Vacant (line 4407) [INFO] [stdout] src/map.rs - map::Entry::and_modify (line 5411) [INFO] [stdout] src/map.rs - map::Entry::and_replace_entry_with (line 5452) [INFO] [stdout] src/map.rs - map::Entry::or_default (line 5519) [INFO] [stdout] src/map.rs - map::Entry::or_default_mut (line 5550) [INFO] [stdout] src/map.rs - map::Entry::or_insert (line 5192) [INFO] [stdout] src/map.rs - map::Entry::or_insert_mut (line 5222) [INFO] [stdout] src/map.rs - map::Entry::or_insert_with (line 5253) [INFO] [stdout] src/map.rs - map::Entry::or_insert_with_key (line 5318) [INFO] [stdout] src/map.rs - map::Entry::or_insert_with_key_mut (line 5355) [INFO] [stdout] src/map.rs - map::Entry::or_insert_with_mut (line 5283) [INFO] [stdout] src/map.rs - map::EntryRef (line 4543) [INFO] [stdout] src/map.rs - map::EntryRef::Occupied (line 4585) [INFO] [stdout] src/map.rs - map::EntryRef::Vacant (line 4600) [INFO] [stdout] src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::and_modify (line 6398) [INFO] [stdout] src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::and_replace_entry_with (line 6439) [INFO] [stdout] src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::or_default (line 6508) [INFO] [stdout] src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::or_default_mut (line 6539) [INFO] [stdout] src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::or_insert (line 6182) [INFO] [stdout] src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::or_insert_mut (line 6212) [INFO] [stdout] src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::or_insert_with (line 6243) [INFO] [stdout] src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::or_insert_with_key (line 6305) [INFO] [stdout] src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::or_insert_with_key_mut (line 6339) [INFO] [stdout] src/map.rs - map::EntryRef<'a,'b,K,Q,V,S,A>::or_insert_with_mut (line 6273) [INFO] [stdout] src/map.rs - map::ExtractIf (line 2922) [INFO] [stdout] src/map.rs - map::IntoIter (line 2613) [INFO] [stdout] src/map.rs - map::IntoValues (line 2718) [INFO] [stdout] src/map.rs - map::Iter (line 2517) [INFO] [stdout] src/map.rs - map::IterMut (line 2562) [INFO] [stdout] src/map.rs - map::Keys (line 2780) [INFO] [stdout] src/map.rs - map::OccupiedEntry (line 4426) [INFO] [stdout] src/map.rs - map::OccupiedEntry::get (line 5645) [INFO] [stdout] src/map.rs - map::OccupiedEntry::get_mut (line 5672) [INFO] [stdout] src/map.rs - map::OccupiedEntry::insert (line 5738) [INFO] [stdout] src/map.rs - map::OccupiedEntry::into_mut (line 5708) [INFO] [stdout] src/map.rs - map::OccupiedEntry::key (line 5583) [INFO] [stdout] src/map.rs - map::OccupiedEntry::remove (line 5769) [INFO] [stdout] src/map.rs - map::OccupiedEntry::remove_entry (line 5604) [INFO] [stdout] src/map.rs - map::OccupiedEntry::replace_entry (line 5804) [INFO] [stdout] src/map.rs - map::OccupiedEntry::replace_entry_mut (line 5846) [INFO] [stdout] src/map.rs - map::OccupiedEntry::replace_entry_with (line 5938) [INFO] [stdout] src/map.rs - map::OccupiedEntry::replace_key (line 5890) [INFO] [stdout] src/map.rs - map::OccupiedEntryRef (line 4660) [INFO] [stdout] src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::get (line 6633) [INFO] [stdout] src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::get_mut (line 6660) [INFO] [stdout] src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::insert (line 6724) [INFO] [stdout] src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::into_mut (line 6696) [INFO] [stdout] src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::key (line 6574) [INFO] [stdout] src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::remove (line 6747) [INFO] [stdout] src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::remove_entry (line 6595) [INFO] [stdout] src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::replace_entry (line 6782) [INFO] [stdout] src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::replace_entry_with (line 6873) [INFO] [stdout] src/map.rs - map::OccupiedEntryRef<'a,'b,K,Q,V,S,A>::replace_key (line 6828) [INFO] [stdout] src/map.rs - map::OccupiedError (line 4788) [INFO] [stdout] src/map.rs - map::RawEntryBuilderMut (line 3025) [INFO] [stdout] src/map.rs - map::RawEntryMut (line 3091) [INFO] [stdout] src/map.rs - map::RawEntryMut::Occupied (line 3166) [INFO] [stdout] src/map.rs - map::RawEntryMut::Vacant (line 3180) [INFO] [stdout] src/map.rs - map::RawEntryMut<'a,K,V,S,A>::and_modify (line 3484) [INFO] [stdout] src/map.rs - map::RawEntryMut<'a,K,V,S,A>::and_modify_mut (line 3523) [INFO] [stdout] src/map.rs - map::RawEntryMut<'a,K,V,S,A>::and_replace_entry_with (line 3564) [INFO] [stdout] src/map.rs - map::RawEntryMut<'a,K,V,S,A>::insert (line 3334) [INFO] [stdout] src/map.rs - map::RawEntryMut<'a,K,V,S,A>::or_insert (line 3362) [INFO] [stdout] src/map.rs - map::RawEntryMut<'a,K,V,S,A>::or_insert_mut (line 3390) [INFO] [stdout] src/map.rs - map::RawEntryMut<'a,K,V,S,A>::or_insert_with (line 3419) [INFO] [stdout] src/map.rs - map::RawEntryMut<'a,K,V,S,A>::or_insert_with_mut (line 3451) [INFO] [stdout] src/map.rs - map::RawOccupiedEntryMut (line 3199) [INFO] [stdout] src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::get (line 3651) [INFO] [stdout] src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::get_key_value (line 3722) [INFO] [stdout] src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::get_key_value_mut (line 3744) [INFO] [stdout] src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::get_mut (line 3698) [INFO] [stdout] src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::insert (line 3868) [INFO] [stdout] src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::into_key_value (line 3784) [INFO] [stdout] src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::into_key_value_mut (line 3825) [INFO] [stdout] src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::into_mut (line 3671) [INFO] [stdout] src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::key (line 3632) [INFO] [stdout] src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::remove (line 3897) [INFO] [stdout] src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::remove_entry (line 3920) [INFO] [stdout] src/map.rs - map::RawOccupiedEntryMut<'a,K,V,S,A>::replace_entry_with (line 3955) [INFO] [stdout] src/map.rs - map::RawVacantEntryMut (line 3283) [INFO] [stdout] src/map.rs - map::RawVacantEntryMut<'a,K,V,S,A>::insert (line 4024) [INFO] [stdout] src/map.rs - map::RawVacantEntryMut<'a,K,V,S,A>::insert_hashed_nocheck (line 4078) [INFO] [stdout] src/map.rs - map::RawVacantEntryMut<'a,K,V,S,A>::insert_hashed_nocheck_mut (line 4125) [INFO] [stdout] src/map.rs - map::RawVacantEntryMut<'a,K,V,S,A>::insert_mut (line 4050) [INFO] [stdout] src/map.rs - map::RawVacantEntryMut<'a,K,V,S,A>::insert_with_hasher (line 4177) [INFO] [stdout] src/map.rs - map::RawVacantEntryMut<'a,K,V,S,A>::insert_with_hasher_mut (line 4227) [INFO] [stdout] src/map.rs - map::VacantEntry (line 4490) [INFO] [stdout] src/map.rs - map::VacantEntry::insert (line 6058) [INFO] [stdout] src/map.rs - map::VacantEntry::insert_mut (line 6094) [INFO] [stdout] src/map.rs - map::VacantEntry::into_key (line 6038) [INFO] [stdout] src/map.rs - map::VacantEntryRef (line 4742) [INFO] [stdout] src/map.rs - map::VacantEntryRef<'a,'b,K,Q,V,S,A>::insert (line 7004) [INFO] [stdout] src/map.rs - map::VacantEntryRef<'a,'b,K,Q,V,S,A>::insert_mut (line 7042) [INFO] [stdout] src/map.rs - map::VacantEntryRef<'a,'b,K,Q,V,S,A>::into_key (line 6980) [INFO] [stdout] src/map.rs - map::Values (line 2828) [INFO] [stdout] src/map.rs - map::ValuesMut (line 2996) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 39 passed; 131 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.45s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7df64fbd774c7db6cea210b7f1631deea8d9cab388caa7b0ea8f544593eb0599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7df64fbd774c7db6cea210b7f1631deea8d9cab388caa7b0ea8f544593eb0599", kill_on_drop: false }` [INFO] [stdout] 7df64fbd774c7db6cea210b7f1631deea8d9cab388caa7b0ea8f544593eb0599