[INFO] fetching crate xlru-cache 0.1.2... [INFO] testing xlru-cache-0.1.2 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate xlru-cache 0.1.2 into /workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate xlru-cache 0.1.2 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded heapsize v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0841ca2aee01a13e449e246f78ffcc423bbf2b79af05437963a8aa69eeaa8e3a [INFO] running `Command { std: "docker" "start" "-a" "0841ca2aee01a13e449e246f78ffcc423bbf2b79af05437963a8aa69eeaa8e3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0841ca2aee01a13e449e246f78ffcc423bbf2b79af05437963a8aa69eeaa8e3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0841ca2aee01a13e449e246f78ffcc423bbf2b79af05437963a8aa69eeaa8e3a", kill_on_drop: false }` [INFO] [stdout] 0841ca2aee01a13e449e246f78ffcc423bbf2b79af05437963a8aa69eeaa8e3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afb1719a1b90fa6201ef71a67e4b16150210228f4958a98511d2bc6a56a6f623 [INFO] running `Command { std: "docker" "start" "-a" "afb1719a1b90fa6201ef71a67e4b16150210228f4958a98511d2bc6a56a6f623", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` 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" "afb1719a1b90fa6201ef71a67e4b16150210228f4958a98511d2bc6a56a6f623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afb1719a1b90fa6201ef71a67e4b16150210228f4958a98511d2bc6a56a6f623", kill_on_drop: false }` [INFO] [stdout] afb1719a1b90fa6201ef71a67e4b16150210228f4958a98511d2bc6a56a6f623 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67ddd8867c988b6c4bc791ebca24bc0c35a2e59693070832169e89b4dc47d199 [INFO] running `Command { std: "docker" "start" "-a" "67ddd8867c988b6c4bc791ebca24bc0c35a2e59693070832169e89b4dc47d199", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` 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.23s [INFO] running `Command { std: "docker" "inspect" "67ddd8867c988b6c4bc791ebca24bc0c35a2e59693070832169e89b4dc47d199", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67ddd8867c988b6c4bc791ebca24bc0c35a2e59693070832169e89b4dc47d199", kill_on_drop: false }` [INFO] [stdout] 67ddd8867c988b6c4bc791ebca24bc0c35a2e59693070832169e89b4dc47d199 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 16528fa2f9e7cedef1302fa95cea896114fa4fe96988090187638a9df8c97363 [INFO] running `Command { std: "docker" "start" "-a" "16528fa2f9e7cedef1302fa95cea896114fa4fe96988090187638a9df8c97363", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` 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-8b3f72ad9c1ca81a) [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_contains_key ... ok [INFO] [stdout] test tests::test_debug ... ok [INFO] [stdout] test tests::test_expire_lru ... ok [INFO] [stdout] test tests::test_pop ... ok [INFO] [stdout] test tests::test_iter ... 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::contains_key (line 88) ... FAILED [INFO] [stdout] test src/lib.rs - LruCache::insert (line 108) ... 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_mut (line 289) ... FAILED [INFO] [stdout] test src/lib.rs - LruCache::capacity (line 185) ... 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::new (line 66) ... 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::remove (line 162) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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::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_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::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 - 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::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] ---- 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::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::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] [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.10s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "16528fa2f9e7cedef1302fa95cea896114fa4fe96988090187638a9df8c97363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16528fa2f9e7cedef1302fa95cea896114fa4fe96988090187638a9df8c97363", kill_on_drop: false }` [INFO] [stdout] 16528fa2f9e7cedef1302fa95cea896114fa4fe96988090187638a9df8c97363