[INFO] fetching crate xlru-cache 0.1.2... [INFO] testing xlru-cache-0.1.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate xlru-cache 0.1.2 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate xlru-cache 0.1.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43901a19cbec6e38a1e8d0ea96d4f762d3757cd0f875cd71a8a6147fbcdc49a0 [INFO] running `Command { std: "docker" "start" "-a" "43901a19cbec6e38a1e8d0ea96d4f762d3757cd0f875cd71a8a6147fbcdc49a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43901a19cbec6e38a1e8d0ea96d4f762d3757cd0f875cd71a8a6147fbcdc49a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43901a19cbec6e38a1e8d0ea96d4f762d3757cd0f875cd71a8a6147fbcdc49a0", kill_on_drop: false }` [INFO] [stdout] 43901a19cbec6e38a1e8d0ea96d4f762d3757cd0f875cd71a8a6147fbcdc49a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d787241fbea4d822e1ceaab870529c9ccc372f463e774158559595472ad3f0c1 [INFO] running `Command { std: "docker" "start" "-a" "d787241fbea4d822e1ceaab870529c9ccc372f463e774158559595472ad3f0c1", 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.20s [INFO] running `Command { std: "docker" "inspect" "d787241fbea4d822e1ceaab870529c9ccc372f463e774158559595472ad3f0c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d787241fbea4d822e1ceaab870529c9ccc372f463e774158559595472ad3f0c1", kill_on_drop: false }` [INFO] [stdout] d787241fbea4d822e1ceaab870529c9ccc372f463e774158559595472ad3f0c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90eb320cee5ee40256c3fcaf74d49ddbc866f312a8a677662c2c46ea6585fc98 [INFO] running `Command { std: "docker" "start" "-a" "90eb320cee5ee40256c3fcaf74d49ddbc866f312a8a677662c2c46ea6585fc98", 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] [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] 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 `test` profile [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `Command { std: "docker" "inspect" "90eb320cee5ee40256c3fcaf74d49ddbc866f312a8a677662c2c46ea6585fc98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90eb320cee5ee40256c3fcaf74d49ddbc866f312a8a677662c2c46ea6585fc98", kill_on_drop: false }` [INFO] [stdout] 90eb320cee5ee40256c3fcaf74d49ddbc866f312a8a677662c2c46ea6585fc98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 84af9763bd0620f8d5cb9793706d669970f463cb892cf86d78a59c410d89bedb [INFO] running `Command { std: "docker" "start" "-a" "84af9763bd0620f8d5cb9793706d669970f463cb892cf86d78a59c410d89bedb", 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.05s [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_contains_key ... ok [INFO] [stdout] test tests::test_debug ... 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_clear ... ok [INFO] [stdout] test tests::test_remove ... ok [INFO] [stdout] [INFO] [stderr] Doc-tests xlru_cache [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test src/lib.rs - LruCache::iter_mut (line 289) ... FAILED [INFO] [stdout] test src/lib.rs - LruCache::remove (line 162) ... FAILED [INFO] [stdout] test src/lib.rs - IntoIter (line 353) ... FAILED [INFO] [stdout] test src/lib.rs - LruCache::capacity (line 185) ... FAILED [INFO] [stdout] test src/lib.rs - LruCache::set_capacity (line 199) ... FAILED [INFO] [stdout] test src/lib.rs - LruCache::remove_lru (line 237) ... FAILED [INFO] [stdout] test src/lib.rs - LruCache::contains_key (line 88) ... FAILED [INFO] [stdout] test src/lib.rs - LruCache::insert (line 108) ... FAILED [INFO] [stdout] test src/lib.rs - LruCache::new (line 66) ... FAILED [INFO] [stdout] test src/lib.rs - LruCache::get_mut (line 131) ... FAILED [INFO] [stdout] test src/lib.rs - (line 18) ... FAILED [INFO] [stdout] test src/lib.rs - LruCache::iter (line 268) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 290 | 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] 289 + 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] 163 | 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] 162 + 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] 354 | 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] 353 + 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] 186 | 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] 185 + 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] 200 | 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] 199 + 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] 238 | 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] 237 + 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] 89 | 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] 88 + 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::insert (line 108) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `lru_cache` [INFO] [stdout] --> src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | 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] 108 + 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] 67 | 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] 66 + 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] 132 | 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] 131 + 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] 19 | 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] 18 + 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] 269 | 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] 268 + 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.73s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "84af9763bd0620f8d5cb9793706d669970f463cb892cf86d78a59c410d89bedb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84af9763bd0620f8d5cb9793706d669970f463cb892cf86d78a59c410d89bedb", kill_on_drop: false }` [INFO] [stdout] 84af9763bd0620f8d5cb9793706d669970f463cb892cf86d78a59c410d89bedb