[INFO] fetching crate seize 0.0.0... [INFO] testing seize-0.0.0 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate seize 0.0.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate seize 0.0.0 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate seize 0.0.0 [INFO] finished tweaking crates.io crate seize 0.0.0 [INFO] tweaked toml for crates.io crate seize 0.0.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ddd3f3b5161e3f2a4b6cef91065f2c8b72fa232fed01e50661574ae1a81109c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8ddd3f3b5161e3f2a4b6cef91065f2c8b72fa232fed01e50661574ae1a81109c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ddd3f3b5161e3f2a4b6cef91065f2c8b72fa232fed01e50661574ae1a81109c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ddd3f3b5161e3f2a4b6cef91065f2c8b72fa232fed01e50661574ae1a81109c", kill_on_drop: false }` [INFO] [stdout] 8ddd3f3b5161e3f2a4b6cef91065f2c8b72fa232fed01e50661574ae1a81109c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c46e178d7a22152efaece98e89c4d810e9f778041365401b19414226e313d048 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c46e178d7a22152efaece98e89c4d810e9f778041365401b19414226e313d048", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling seize v0.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.88s [INFO] running `Command { std: "docker" "inspect" "c46e178d7a22152efaece98e89c4d810e9f778041365401b19414226e313d048", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c46e178d7a22152efaece98e89c4d810e9f778041365401b19414226e313d048", kill_on_drop: false }` [INFO] [stdout] c46e178d7a22152efaece98e89c4d810e9f778041365401b19414226e313d048 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee4c03d65c9c9614a3dbadeee633cfcf62f23d9520fb16b5174b1884620cf011 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ee4c03d65c9c9614a3dbadeee633cfcf62f23d9520fb16b5174b1884620cf011", kill_on_drop: false }` [INFO] [stderr] Compiling seize v0.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.42s [INFO] running `Command { std: "docker" "inspect" "ee4c03d65c9c9614a3dbadeee633cfcf62f23d9520fb16b5174b1884620cf011", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee4c03d65c9c9614a3dbadeee633cfcf62f23d9520fb16b5174b1884620cf011", kill_on_drop: false }` [INFO] [stdout] ee4c03d65c9c9614a3dbadeee633cfcf62f23d9520fb16b5174b1884620cf011 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8d3041f5706f3968480ad329727b7ccb7db6f95dd4565ada69c677e342900b57 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8d3041f5706f3968480ad329727b7ccb7db6f95dd4565ada69c677e342900b57", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stdout] running 1 test [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/seize-384139cf453cd049) [INFO] [stdout] test map::tests::it_works ... ok [INFO] [stderr] Doc-tests seize [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test src/pinned.rs - pinned::Pinned::clear (line 259) ... FAILED [INFO] [stdout] test src/pinned.rs - pinned::Pinned::contains_key (line 178) ... FAILED [INFO] [stdout] test src/map.rs - map::HashMap::with_capacity_and_hasher (line 218) ... FAILED [INFO] [stdout] test src/pinned.rs - pinned::Pinned::keys (line 47) ... FAILED [INFO] [stdout] test src/map.rs - map::Values (line 1031) ... FAILED [INFO] [stdout] test src/map.rs - map::Iter (line 901) ... FAILED [INFO] [stdout] test src/pinned.rs - pinned::Pinned::iter (line 26) ... FAILED [INFO] [stdout] test src/map.rs - map::Keys (line 981) ... FAILED [INFO] [stdout] test src/pinned.rs - pinned::Pinned::insert (line 211) ... FAILED [INFO] [stdout] test src/pinned.rs - pinned::Pinned::values (line 68) ... FAILED [INFO] [stdout] test src/map.rs - map::HashMap::new (line 125) ... ok [INFO] [stdout] test src/map.rs - map::HashMap::with_capacity (line 143) ... ok [INFO] [stdout] test src/pinned.rs - pinned::Pinned::reserve (line 282) ... FAILED [INFO] [stdout] test src/pinned.rs - pinned::Pinned::capacity (line 112) ... ok [INFO] [stdout] test src/pinned.rs - pinned::Pinned::get (line 153) ... ok [INFO] [stdout] test src/pinned.rs - pinned::Pinned::len (line 88) ... ok [INFO] [stdout] test src/map.rs - map::HashMap::with_hasher (line 182) ... ok [INFO] [stdout] test src/pinned.rs - pinned::Pinned::is_empty (line 125) ... ok [INFO] [stdout] test src/pinned.rs - pinned::Pinned::remove (line 237) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/pinned.rs - pinned::Pinned::clear (line 259) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `flurry` [INFO] [stdout] --> src/pinned.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 3 | use flurry::HashMap; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `flurry` [INFO] [stdout] [INFO] [stdout] error: aborting due to 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/pinned.rs - pinned::Pinned::contains_key (line 178) stdout ---- [INFO] [stdout] error[E0624]: associated function `insert` is private [INFO] [stdout] --> src/pinned.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 7 | map.insert(1, "a"); [INFO] [stdout] | ^^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/map.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | pub(crate) fn insert<'g>(&'g self, key: K, value: V, guard: &'g Guard) -> Option<&'g V> { [INFO] [stdout] | --------------------------------------------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `contains_key` is private [INFO] [stdout] --> src/pinned.rs:183:16 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(map.contains_key(&1), true); [INFO] [stdout] | ^^^^^^^^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/map.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 368 | / pub(crate) fn contains_key(&self, key: &Q, guard: &Guard) -> bool [INFO] [stdout] 369 | | where [INFO] [stdout] 370 | | K: Borrow, [INFO] [stdout] 371 | | Q: Hash + Eq, [INFO] [stdout] | |_____________________- private associated function defined here [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `contains_key` is private [INFO] [stdout] --> src/pinned.rs:184:16 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(map.contains_key(&2), false); [INFO] [stdout] | ^^^^^^^^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/map.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 368 | / pub(crate) fn contains_key(&self, key: &Q, guard: &Guard) -> bool [INFO] [stdout] 369 | | where [INFO] [stdout] 370 | | K: Borrow, [INFO] [stdout] 371 | | Q: Hash + Eq, [INFO] [stdout] | |_____________________- private associated function defined here [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0624`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::HashMap::with_capacity_and_hasher (line 218) stdout ---- [INFO] [stdout] error[E0624]: associated function `insert` is private [INFO] [stdout] --> src/map.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 9 | map.insert(1, 2); [INFO] [stdout] | ^^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/map.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | pub(crate) fn insert<'g>(&'g self, key: K, value: V, guard: &'g Guard) -> Option<&'g V> { [INFO] [stdout] | --------------------------------------------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0624`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pinned.rs - pinned::Pinned::keys (line 47) stdout ---- [INFO] [stdout] error[E0624]: associated function `insert` is private [INFO] [stdout] --> src/pinned.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 7 | map.insert("a", 1); [INFO] [stdout] | ^^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/map.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | pub(crate) fn insert<'g>(&'g self, key: K, value: V, guard: &'g Guard) -> Option<&'g V> { [INFO] [stdout] | --------------------------------------------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `insert` is private [INFO] [stdout] --> src/pinned.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 8 | map.insert("b", 2); [INFO] [stdout] | ^^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/map.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | pub(crate) fn insert<'g>(&'g self, key: K, value: V, guard: &'g Guard) -> Option<&'g V> { [INFO] [stdout] | --------------------------------------------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `insert` is private [INFO] [stdout] --> src/pinned.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 9 | map.insert("c", 3); [INFO] [stdout] | ^^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/map.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | pub(crate) fn insert<'g>(&'g self, key: K, value: V, guard: &'g Guard) -> Option<&'g V> { [INFO] [stdout] | --------------------------------------------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `keys` is private [INFO] [stdout] --> src/pinned.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 11 | for key in map.keys() { [INFO] [stdout] | ^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/map.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 296 | pub(crate) fn keys<'g>(&self, guard: &'g Guard) -> Keys<'g, K, V> { [INFO] [stdout] | ----------------------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0624`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::Values (line 1031) stdout ---- [INFO] [stdout] error[E0624]: associated function `insert` is private [INFO] [stdout] --> src/map.rs:1035:5 [INFO] [stdout] | [INFO] [stdout] 7 | map.insert("a", 1); [INFO] [stdout] | ^^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/map.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | pub(crate) fn insert<'g>(&'g self, key: K, value: V, guard: &'g Guard) -> Option<&'g V> { [INFO] [stdout] | --------------------------------------------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `values` is private [INFO] [stdout] --> src/map.rs:1036:23 [INFO] [stdout] | [INFO] [stdout] 8 | let iter_values = map.values(); [INFO] [stdout] | ^^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/map.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | pub(crate) fn values<'g>(&self, guard: &'g Guard) -> Values<'g, K, V> { [INFO] [stdout] | --------------------------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0624`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::Iter (line 901) stdout ---- [INFO] [stdout] error[E0624]: associated function `insert` is private [INFO] [stdout] --> src/map.rs:905:5 [INFO] [stdout] | [INFO] [stdout] 7 | map.insert("a", 1); [INFO] [stdout] | ^^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/map.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | pub(crate) fn insert<'g>(&'g self, key: K, value: V, guard: &'g Guard) -> Option<&'g V> { [INFO] [stdout] | --------------------------------------------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `iter` is private [INFO] [stdout] --> src/map.rs:906:16 [INFO] [stdout] | [INFO] [stdout] 8 | let iter = map.iter(); [INFO] [stdout] | ^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/map.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | pub(crate) fn iter<'g>(&self, guard: &'g Guard) -> Iter<'g, K, V> { [INFO] [stdout] | ----------------------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0624`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pinned.rs - pinned::Pinned::iter (line 26) stdout ---- [INFO] [stdout] error[E0624]: associated function `insert` is private [INFO] [stdout] --> src/pinned.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 7 | map.insert("a", 1); [INFO] [stdout] | ^^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/map.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | pub(crate) fn insert<'g>(&'g self, key: K, value: V, guard: &'g Guard) -> Option<&'g V> { [INFO] [stdout] | --------------------------------------------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `insert` is private [INFO] [stdout] --> src/pinned.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 8 | map.insert("b", 2); [INFO] [stdout] | ^^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/map.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | pub(crate) fn insert<'g>(&'g self, key: K, value: V, guard: &'g Guard) -> Option<&'g V> { [INFO] [stdout] | --------------------------------------------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `insert` is private [INFO] [stdout] --> src/pinned.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 9 | map.insert("c", 3); [INFO] [stdout] | ^^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/map.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | pub(crate) fn insert<'g>(&'g self, key: K, value: V, guard: &'g Guard) -> Option<&'g V> { [INFO] [stdout] | --------------------------------------------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `iter` is private [INFO] [stdout] --> src/pinned.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 11 | for (key, val) in map.iter() { [INFO] [stdout] | ^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/map.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | pub(crate) fn iter<'g>(&self, guard: &'g Guard) -> Iter<'g, K, V> { [INFO] [stdout] | ----------------------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0624`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::Keys (line 981) stdout ---- [INFO] [stdout] error[E0624]: associated function `insert` is private [INFO] [stdout] --> src/map.rs:985:5 [INFO] [stdout] | [INFO] [stdout] 7 | map.insert("a", 1); [INFO] [stdout] | ^^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/map.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | pub(crate) fn insert<'g>(&'g self, key: K, value: V, guard: &'g Guard) -> Option<&'g V> { [INFO] [stdout] | --------------------------------------------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `keys` is private [INFO] [stdout] --> src/map.rs:986:21 [INFO] [stdout] | [INFO] [stdout] 8 | let iter_keys = map.keys(); [INFO] [stdout] | ^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/map.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 296 | pub(crate) fn keys<'g>(&self, guard: &'g Guard) -> Keys<'g, K, V> { [INFO] [stdout] | ----------------------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0624`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pinned.rs - pinned::Pinned::insert (line 211) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pinned.rs:221:1 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(pinned.insert(37, "c"), Some("b")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `str` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<&&str>` [INFO] [stdout] found enum `Option<&str>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 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/pinned.rs - pinned::Pinned::values (line 68) stdout ---- [INFO] [stdout] error[E0624]: associated function `insert` is private [INFO] [stdout] --> src/pinned.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 7 | map.insert("a", 1); [INFO] [stdout] | ^^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/map.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | pub(crate) fn insert<'g>(&'g self, key: K, value: V, guard: &'g Guard) -> Option<&'g V> { [INFO] [stdout] | --------------------------------------------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `insert` is private [INFO] [stdout] --> src/pinned.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 8 | map.insert("b", 2); [INFO] [stdout] | ^^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/map.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | pub(crate) fn insert<'g>(&'g self, key: K, value: V, guard: &'g Guard) -> Option<&'g V> { [INFO] [stdout] | --------------------------------------------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `insert` is private [INFO] [stdout] --> src/pinned.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 9 | map.insert("c", 3); [INFO] [stdout] | ^^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/map.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | pub(crate) fn insert<'g>(&'g self, key: K, value: V, guard: &'g Guard) -> Option<&'g V> { [INFO] [stdout] | --------------------------------------------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `values` is private [INFO] [stdout] --> src/pinned.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 11 | for val in map.values() { [INFO] [stdout] | ^^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/map.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | pub(crate) fn values<'g>(&self, guard: &'g Guard) -> Values<'g, K, V> { [INFO] [stdout] | --------------------------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0624`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pinned.rs - pinned::Pinned::reserve (line 282) stdout ---- [INFO] [stdout] error[E0624]: associated function `reserve` is private [INFO] [stdout] --> src/pinned.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 6 | map.reserve(10); [INFO] [stdout] | ^^^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/map.rs:592:5 [INFO] [stdout] | [INFO] [stdout] 592 | pub(crate) fn reserve<'g>(&'g self, additional: usize, guard: &'g Guard) { [INFO] [stdout] | ------------------------------------------------------------------------ private associated function defined here [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0624`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/map.rs - map::HashMap::with_capacity_and_hasher (line 218) [INFO] [stdout] src/map.rs - map::Iter (line 901) [INFO] [stdout] src/map.rs - map::Keys (line 981) [INFO] [stdout] src/map.rs - map::Values (line 1031) [INFO] [stdout] src/pinned.rs - pinned::Pinned::clear (line 259) [INFO] [stdout] src/pinned.rs - pinned::Pinned::contains_key (line 178) [INFO] [stdout] src/pinned.rs - pinned::Pinned::insert (line 211) [INFO] [stdout] src/pinned.rs - pinned::Pinned::iter (line 26) [INFO] [stdout] src/pinned.rs - pinned::Pinned::keys (line 47) [INFO] [stdout] src/pinned.rs - pinned::Pinned::reserve (line 282) [INFO] [stdout] src/pinned.rs - pinned::Pinned::values (line 68) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 8 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.28s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "8d3041f5706f3968480ad329727b7ccb7db6f95dd4565ada69c677e342900b57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d3041f5706f3968480ad329727b7ccb7db6f95dd4565ada69c677e342900b57", kill_on_drop: false }` [INFO] [stdout] 8d3041f5706f3968480ad329727b7ccb7db6f95dd4565ada69c677e342900b57