[INFO] fetching crate libprefetch 0.1.1... [INFO] testing libprefetch-0.1.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate libprefetch 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate libprefetch 0.1.1 [INFO] finished tweaking crates.io crate libprefetch 0.1.1 [INFO] tweaked toml for crates.io crate libprefetch 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libprefetch 0.1.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 989f9303a579c0dbf28d1ec520e2d9a7fca5f9e552ddb4ec5529c31df87370e9 [INFO] running `Command { std: "docker" "start" "-a" "989f9303a579c0dbf28d1ec520e2d9a7fca5f9e552ddb4ec5529c31df87370e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "989f9303a579c0dbf28d1ec520e2d9a7fca5f9e552ddb4ec5529c31df87370e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "989f9303a579c0dbf28d1ec520e2d9a7fca5f9e552ddb4ec5529c31df87370e9", kill_on_drop: false }` [INFO] [stdout] 989f9303a579c0dbf28d1ec520e2d9a7fca5f9e552ddb4ec5529c31df87370e9 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 191b2780ed931a9bac62114adc91c936cab42379c2a094aeab459d6dfc3c2012 [INFO] running `Command { std: "docker" "start" "-a" "191b2780ed931a9bac62114adc91c936cab42379c2a094aeab459d6dfc3c2012", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libprefetch v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/prefetch.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | parser: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 96 | parser: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/prefetch.rs:39:44 [INFO] [stdout] | [INFO] [stdout] 39 | -> super::Result<(FormatVersion, Box)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | -> super::Result<(FormatVersion, Box)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | Box)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 | Box)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | Error::IOError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 31 | let result: super::Result<(Header, Box)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | let result: super::Result<(Header, Box)>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parser` is never read [INFO] [stdout] --> src/prefetch.rs:96:3 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Prefetch { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 95 | header: super::header::Header, [INFO] [stdout] 96 | parser: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/prefetch.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn metrics(&self) [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 148 | -> super::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 148 | -> super::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/prefetch.rs:168:16 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn trace(&self) [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 169 | -> super::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 169 | -> super::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/prefetch.rs:197:18 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn volumes(&self) [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 198 | -> super::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 198 | -> super::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/iterator.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn new(parser_result: &'p super::parser::ParserResult) [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 30 | -> super::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'p` [INFO] [stdout] | [INFO] [stdout] 30 | -> super::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/iterator.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) fn new(parser_result: &'p super::parser::ParserResult) [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 72 | -> super::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'p` [INFO] [stdout] | [INFO] [stdout] 72 | -> super::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/iterator.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 112 | pub(crate) fn new(parser_result: &'p super::parser::ParserResult) [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 113 | -> super::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'p` [INFO] [stdout] | [INFO] [stdout] 113 | -> super::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/iterator.rs:155:24 [INFO] [stdout] | [INFO] [stdout] 154 | pub(crate) fn new(volume_entry: &'ve super::volume::VolumeEntry) [INFO] [stdout] | --- the lifetime is named here [INFO] [stdout] 155 | -> super::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'ve` [INFO] [stdout] | [INFO] [stdout] 155 | -> super::Result> { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/volume.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn directories(&self) [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 62 | -> super::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 62 | -> super::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "191b2780ed931a9bac62114adc91c936cab42379c2a094aeab459d6dfc3c2012", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "191b2780ed931a9bac62114adc91c936cab42379c2a094aeab459d6dfc3c2012", kill_on_drop: false }` [INFO] [stdout] 191b2780ed931a9bac62114adc91c936cab42379c2a094aeab459d6dfc3c2012 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3be011d21e29b84c11fd0c26caaf8ae64b421af70f40f60409035c8bb4fc009a [INFO] running `Command { std: "docker" "start" "-a" "3be011d21e29b84c11fd0c26caaf8ae64b421af70f40f60409035c8bb4fc009a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/prefetch.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | parser: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 96 | parser: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/prefetch.rs:39:44 [INFO] [stdout] | [INFO] [stdout] 39 | -> super::Result<(FormatVersion, Box)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | -> super::Result<(FormatVersion, Box)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | Box)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 | Box)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | Error::IOError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 31 | let result: super::Result<(Header, Box)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | let result: super::Result<(Header, Box)>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parser` is never read [INFO] [stdout] --> src/prefetch.rs:96:3 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Prefetch { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 95 | header: super::header::Header, [INFO] [stdout] 96 | parser: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/prefetch.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn metrics(&self) [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 148 | -> super::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 148 | -> super::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/prefetch.rs:168:16 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn trace(&self) [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 169 | -> super::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 169 | -> super::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/prefetch.rs:197:18 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn volumes(&self) [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 198 | -> super::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 198 | -> super::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/iterator.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn new(parser_result: &'p super::parser::ParserResult) [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 30 | -> super::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'p` [INFO] [stdout] | [INFO] [stdout] 30 | -> super::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/iterator.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) fn new(parser_result: &'p super::parser::ParserResult) [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 72 | -> super::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'p` [INFO] [stdout] | [INFO] [stdout] 72 | -> super::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/iterator.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 112 | pub(crate) fn new(parser_result: &'p super::parser::ParserResult) [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 113 | -> super::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'p` [INFO] [stdout] | [INFO] [stdout] 113 | -> super::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libprefetch v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/iterator.rs:155:24 [INFO] [stdout] | [INFO] [stdout] 154 | pub(crate) fn new(volume_entry: &'ve super::volume::VolumeEntry) [INFO] [stdout] | --- the lifetime is named here [INFO] [stdout] 155 | -> super::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'ve` [INFO] [stdout] | [INFO] [stdout] 155 | -> super::Result> { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/volume.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn directories(&self) [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 62 | -> super::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 62 | -> super::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/prefetch.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | parser: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 96 | parser: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/prefetch.rs:39:44 [INFO] [stdout] | [INFO] [stdout] 39 | -> super::Result<(FormatVersion, Box)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | -> super::Result<(FormatVersion, Box)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | Box)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 | Box)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | Error::IOError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 31 | let result: super::Result<(Header, Box)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | let result: super::Result<(Header, Box)>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parser` is never read [INFO] [stdout] --> src/prefetch.rs:96:3 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Prefetch { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 95 | header: super::header::Header, [INFO] [stdout] 96 | parser: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/prefetch.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn metrics(&self) [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 148 | -> super::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 148 | -> super::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/prefetch.rs:168:16 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn trace(&self) [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 169 | -> super::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 169 | -> super::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/prefetch.rs:197:18 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn volumes(&self) [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 198 | -> super::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 198 | -> super::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/iterator.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn new(parser_result: &'p super::parser::ParserResult) [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 30 | -> super::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'p` [INFO] [stdout] | [INFO] [stdout] 30 | -> super::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/iterator.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) fn new(parser_result: &'p super::parser::ParserResult) [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 72 | -> super::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'p` [INFO] [stdout] | [INFO] [stdout] 72 | -> super::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/iterator.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 112 | pub(crate) fn new(parser_result: &'p super::parser::ParserResult) [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 113 | -> super::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'p` [INFO] [stdout] | [INFO] [stdout] 113 | -> super::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/iterator.rs:155:24 [INFO] [stdout] | [INFO] [stdout] 154 | pub(crate) fn new(volume_entry: &'ve super::volume::VolumeEntry) [INFO] [stdout] | --- the lifetime is named here [INFO] [stdout] 155 | -> super::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'ve` [INFO] [stdout] | [INFO] [stdout] 155 | -> super::Result> { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/volume.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn directories(&self) [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 62 | -> super::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 62 | -> super::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "3be011d21e29b84c11fd0c26caaf8ae64b421af70f40f60409035c8bb4fc009a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3be011d21e29b84c11fd0c26caaf8ae64b421af70f40f60409035c8bb4fc009a", kill_on_drop: false }` [INFO] [stdout] 3be011d21e29b84c11fd0c26caaf8ae64b421af70f40f60409035c8bb4fc009a [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 82724568e435908149f2a20d5248a90d7be7ce79112220780d14e2d2c90a1277 [INFO] running `Command { std: "docker" "start" "-a" "82724568e435908149f2a20d5248a90d7be7ce79112220780d14e2d2c90a1277", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/prefetch.rs:96:15 [INFO] [stderr] | [INFO] [stderr] 96 | parser: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 96 | parser: Box, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:49:30 [INFO] [stderr] | [INFO] [stderr] 49 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 49 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/prefetch.rs:39:44 [INFO] [stderr] | [INFO] [stderr] 39 | -> super::Result<(FormatVersion, Box)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 39 | -> super::Result<(FormatVersion, Box)> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/header.rs:29:7 [INFO] [stderr] | [INFO] [stderr] 29 | Box)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 29 | Box)> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:44:34 [INFO] [stderr] | [INFO] [stderr] 44 | Error::IOError(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:60:26 [INFO] [stderr] | [INFO] [stderr] 60 | write!(f, "{}", self.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/header.rs:31:44 [INFO] [stderr] | [INFO] [stderr] 31 | let result: super::Result<(Header, Box)>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 31 | let result: super::Result<(Header, Box)>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: field `parser` is never read [INFO] [stderr] --> src/prefetch.rs:96:3 [INFO] [stderr] | [INFO] [stderr] 94 | pub struct Prefetch { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 95 | header: super::header::Header, [INFO] [stderr] 96 | parser: Box, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/prefetch.rs:147:18 [INFO] [stderr] | [INFO] [stderr] 147 | pub fn metrics(&self) [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 148 | -> super::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 148 | -> super::Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/prefetch.rs:168:16 [INFO] [stderr] | [INFO] [stderr] 168 | pub fn trace(&self) [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 169 | -> super::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 169 | -> super::Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/prefetch.rs:197:18 [INFO] [stderr] | [INFO] [stderr] 197 | pub fn volumes(&self) [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 198 | -> super::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 198 | -> super::Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/iterator.rs:30:24 [INFO] [stderr] | [INFO] [stderr] 29 | pub(crate) fn new(parser_result: &'p super::parser::ParserResult) [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 30 | -> super::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'p` [INFO] [stderr] | [INFO] [stderr] 30 | -> super::Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/iterator.rs:72:24 [INFO] [stderr] | [INFO] [stderr] 71 | pub(crate) fn new(parser_result: &'p super::parser::ParserResult) [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 72 | -> super::Result { [INFO] [stderr] | ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'p` [INFO] [stderr] | [INFO] [stderr] 72 | -> super::Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/iterator.rs:113:24 [INFO] [stderr] | [INFO] [stderr] 112 | pub(crate) fn new(parser_result: &'p super::parser::ParserResult) [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 113 | -> super::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'p` [INFO] [stderr] | [INFO] [stderr] 113 | -> super::Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/iterator.rs:155:24 [INFO] [stderr] | [INFO] [stderr] 154 | pub(crate) fn new(volume_entry: &'ve super::volume::VolumeEntry) [INFO] [stderr] | --- the lifetime is named here [INFO] [stderr] 155 | -> super::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'ve` [INFO] [stderr] | [INFO] [stderr] 155 | -> super::Result> { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/volume.rs:61:22 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn directories(&self) [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 62 | -> super::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 62 | -> super::Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `libprefetch` (lib) generated 16 warnings (run `cargo fix --lib -p libprefetch` to apply 13 suggestions) [INFO] [stderr] warning: `libprefetch` (lib test) generated 16 warnings (16 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libprefetch-72f196b65e31da15) [INFO] [stdout] test tests::readme ... ok [INFO] [stdout] test tests::header ... ok [INFO] [stdout] test tests::volumes ... ok [INFO] [stdout] test tests::metrics ... ok [INFO] [stdout] test tests::trace ... ok [INFO] [stderr] Doc-tests libprefetch [INFO] [stdout] test tests::volumes_directories ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/prefetch.rs - prefetch::Prefetch::metrics (line 136) ... ok [INFO] [stdout] test src/prefetch.rs - prefetch::Prefetch::volumes (line 177) ... ok [INFO] [stdout] test src/prefetch.rs - prefetch::Prefetch::from_path (line 235) ... ok [INFO] [stdout] test src/prefetch.rs - prefetch::Prefetch::new (line 207) ... ok [INFO] [stdout] test src/prefetch.rs - prefetch::Prefetch::trace (line 157) ... ok [INFO] [stdout] test src/prefetch.rs - prefetch::Prefetch (line 79) ... ok [INFO] [stdout] test src/lib.rs - (line 50) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "82724568e435908149f2a20d5248a90d7be7ce79112220780d14e2d2c90a1277", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82724568e435908149f2a20d5248a90d7be7ce79112220780d14e2d2c90a1277", kill_on_drop: false }` [INFO] [stdout] 82724568e435908149f2a20d5248a90d7be7ce79112220780d14e2d2c90a1277