[INFO] fetching crate xlru-cache 0.1.2... [INFO] testing xlru-cache-0.1.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate xlru-cache 0.1.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate xlru-cache 0.1.2 [INFO] finished tweaking crates.io crate xlru-cache 0.1.2 [INFO] tweaked toml for crates.io crate xlru-cache 0.1.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate xlru-cache 0.1.2 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07a408c5b9ad8b18c540441a7da1423bb998a60d172f2c52260d70d7ead9c59f [INFO] running `Command { std: "docker" "start" "-a" "07a408c5b9ad8b18c540441a7da1423bb998a60d172f2c52260d70d7ead9c59f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07a408c5b9ad8b18c540441a7da1423bb998a60d172f2c52260d70d7ead9c59f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07a408c5b9ad8b18c540441a7da1423bb998a60d172f2c52260d70d7ead9c59f", kill_on_drop: false }` [INFO] [stdout] 07a408c5b9ad8b18c540441a7da1423bb998a60d172f2c52260d70d7ead9c59f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c67eadaed2f3141dc6b53be36f69479bcf34737f01f14c6cff64fe797f38069d [INFO] running `Command { std: "docker" "start" "-a" "c67eadaed2f3141dc6b53be36f69479bcf34737f01f14c6cff64fe797f38069d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling xlru-cache v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:280:17 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn iter(&self) -> Iter { Iter(self.map.iter()) } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 280 | pub fn iter(&self) -> Iter<'_, K, V> { Iter(self.map.iter()) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:311:21 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn iter_mut(&mut self) -> IterMut { IterMut(self.map.iter_mut()) } [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 311 | pub fn iter_mut(&mut self) -> IterMut<'_, K, V> { IterMut(self.map.iter_mut()) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] running `Command { std: "docker" "inspect" "c67eadaed2f3141dc6b53be36f69479bcf34737f01f14c6cff64fe797f38069d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c67eadaed2f3141dc6b53be36f69479bcf34737f01f14c6cff64fe797f38069d", kill_on_drop: false }` [INFO] [stdout] c67eadaed2f3141dc6b53be36f69479bcf34737f01f14c6cff64fe797f38069d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03728aae0267e8e46ff1bde77fa08efc64b7ffda83fef964967c3b978e3f2c7a [INFO] running `Command { std: "docker" "start" "-a" "03728aae0267e8e46ff1bde77fa08efc64b7ffda83fef964967c3b978e3f2c7a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:280:17 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn iter(&self) -> Iter { Iter(self.map.iter()) } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 280 | pub fn iter(&self) -> Iter<'_, K, V> { Iter(self.map.iter()) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling xlru-cache v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:311:21 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn iter_mut(&mut self) -> IterMut { IterMut(self.map.iter_mut()) } [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 311 | pub fn iter_mut(&mut self) -> IterMut<'_, K, V> { IterMut(self.map.iter_mut()) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:280:17 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn iter(&self) -> Iter { Iter(self.map.iter()) } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 280 | pub fn iter(&self) -> Iter<'_, K, V> { Iter(self.map.iter()) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:311:21 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn iter_mut(&mut self) -> IterMut { IterMut(self.map.iter_mut()) } [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 311 | pub fn iter_mut(&mut self) -> IterMut<'_, K, V> { IterMut(self.map.iter_mut()) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "03728aae0267e8e46ff1bde77fa08efc64b7ffda83fef964967c3b978e3f2c7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03728aae0267e8e46ff1bde77fa08efc64b7ffda83fef964967c3b978e3f2c7a", kill_on_drop: false }` [INFO] [stdout] 03728aae0267e8e46ff1bde77fa08efc64b7ffda83fef964967c3b978e3f2c7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 78b9f80a65e89200d42851222bc1c07d18b4eeb99fbadd1ede7cdfe0ad3b3d5f [INFO] running `Command { std: "docker" "start" "-a" "78b9f80a65e89200d42851222bc1c07d18b4eeb99fbadd1ede7cdfe0ad3b3d5f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:280:17 [INFO] [stderr] | [INFO] [stderr] 280 | pub fn iter(&self) -> Iter { Iter(self.map.iter()) } [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 280 | pub fn iter(&self) -> Iter<'_, K, V> { Iter(self.map.iter()) } [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:311:21 [INFO] [stderr] | [INFO] [stderr] 311 | pub fn iter_mut(&mut self) -> IterMut { IterMut(self.map.iter_mut()) } [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 311 | pub fn iter_mut(&mut self) -> IterMut<'_, K, V> { IterMut(self.map.iter_mut()) } [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `xlru-cache` (lib) generated 2 warnings (run `cargo fix --lib -p xlru-cache` to apply 2 suggestions) [INFO] [stderr] warning: `xlru-cache` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xlru_cache-10677408379cdf4b) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test tests::test_change_capacity ... ok [INFO] [stdout] test tests::test_clear ... ok [INFO] [stdout] test tests::test_debug ... ok [INFO] [stdout] test tests::test_contains_key ... ok [INFO] [stdout] test tests::test_expire_lru ... ok [INFO] [stdout] test tests::test_iter ... ok [INFO] [stdout] test tests::test_pop ... ok [INFO] [stdout] test tests::test_put_and_get ... ok [INFO] [stdout] test tests::test_put_update ... ok [INFO] [stdout] test tests::test_remove ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests xlru_cache [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test src/lib.rs - LruCache::insert (line 108) ... FAILED [INFO] [stdout] test src/lib.rs - (line 18) ... FAILED [INFO] [stdout] test src/lib.rs - LruCache::capacity (line 185) ... FAILED [INFO] [stdout] test src/lib.rs - LruCache::contains_key (line 88) ... FAILED [INFO] [stdout] test src/lib.rs - LruCache::iter_mut (line 289) ... FAILED [INFO] [stdout] test src/lib.rs - LruCache::get_mut (line 131) ... FAILED [INFO] [stdout] test src/lib.rs - IntoIter (line 353) ... FAILED [INFO] [stdout] test src/lib.rs - LruCache::iter (line 268) ... FAILED [INFO] [stdout] test src/lib.rs - LruCache::remove (line 162) ... FAILED [INFO] [stdout] test src/lib.rs - LruCache::remove_lru (line 237) ... FAILED [INFO] [stdout] test src/lib.rs - LruCache::new (line 66) ... FAILED [INFO] [stdout] test src/lib.rs - LruCache::set_capacity (line 199) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - LruCache::insert (line 108) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `lru_cache` [INFO] [stdout] --> src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 3 | use lru_cache::LruCache; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `lru_cache` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `lru_cache`, use `cargo add lru_cache` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate lru_cache; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 18) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `lru_cache` [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 3 | use lru_cache::LruCache; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `lru_cache` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `lru_cache`, use `cargo add lru_cache` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate lru_cache; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - LruCache::capacity (line 185) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `lru_cache` [INFO] [stdout] --> src/lib.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 3 | use lru_cache::LruCache; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `lru_cache` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `lru_cache`, use `cargo add lru_cache` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate lru_cache; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - LruCache::contains_key (line 88) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `lru_cache` [INFO] [stdout] --> src/lib.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 3 | use lru_cache::LruCache; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `lru_cache` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `lru_cache`, use `cargo add lru_cache` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate lru_cache; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - LruCache::iter_mut (line 289) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `lru_cache` [INFO] [stdout] --> src/lib.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 3 | use lru_cache::LruCache; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `lru_cache` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `lru_cache`, use `cargo add lru_cache` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate lru_cache; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - LruCache::get_mut (line 131) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `lru_cache` [INFO] [stdout] --> src/lib.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 3 | use lru_cache::LruCache; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `lru_cache` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `lru_cache`, use `cargo add lru_cache` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate lru_cache; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - IntoIter (line 353) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `lru_cache` [INFO] [stdout] --> src/lib.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 3 | use lru_cache::LruCache; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `lru_cache` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `lru_cache`, use `cargo add lru_cache` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate lru_cache; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - LruCache::iter (line 268) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `lru_cache` [INFO] [stdout] --> src/lib.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 3 | use lru_cache::LruCache; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `lru_cache` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `lru_cache`, use `cargo add lru_cache` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate lru_cache; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - LruCache::remove (line 162) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `lru_cache` [INFO] [stdout] --> src/lib.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 3 | use lru_cache::LruCache; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `lru_cache` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `lru_cache`, use `cargo add lru_cache` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate lru_cache; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - LruCache::remove_lru (line 237) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `lru_cache` [INFO] [stdout] --> src/lib.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 3 | use lru_cache::LruCache; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `lru_cache` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `lru_cache`, use `cargo add lru_cache` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate lru_cache; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - LruCache::new (line 66) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `lru_cache` [INFO] [stdout] --> src/lib.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 3 | use lru_cache::LruCache; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `lru_cache` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `lru_cache`, use `cargo add lru_cache` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate lru_cache; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - LruCache::set_capacity (line 199) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `lru_cache` [INFO] [stdout] --> src/lib.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 3 | use lru_cache::LruCache; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `lru_cache` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `lru_cache`, use `cargo add lru_cache` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate lru_cache; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 18) [INFO] [stdout] src/lib.rs - IntoIter (line 353) [INFO] [stdout] src/lib.rs - LruCache::capacity (line 185) [INFO] [stdout] src/lib.rs - LruCache::contains_key (line 88) [INFO] [stdout] src/lib.rs - LruCache::get_mut (line 131) [INFO] [stdout] src/lib.rs - LruCache::insert (line 108) [INFO] [stdout] src/lib.rs - LruCache::iter (line 268) [INFO] [stdout] src/lib.rs - LruCache::iter_mut (line 289) [INFO] [stdout] src/lib.rs - LruCache::remove (line 162) [INFO] [stdout] src/lib.rs - LruCache::remove_lru (line 237) [INFO] [stdout] src/lib.rs - LruCache::set_capacity (line 199) [INFO] [stdout] src/lib.rs - LruCache::new (line 66) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 12 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "78b9f80a65e89200d42851222bc1c07d18b4eeb99fbadd1ede7cdfe0ad3b3d5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78b9f80a65e89200d42851222bc1c07d18b4eeb99fbadd1ede7cdfe0ad3b3d5f", kill_on_drop: false }` [INFO] [stdout] 78b9f80a65e89200d42851222bc1c07d18b4eeb99fbadd1ede7cdfe0ad3b3d5f