[INFO] fetching crate libprefetch 0.1.1... [INFO] testing libprefetch-0.1.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate libprefetch 0.1.1 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libprefetch 0.1.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff55b7f6af2e82ff6d445ce55c59b6bed80c44e3f5b3b6c8a2f98bfe9246ffd5 [INFO] running `Command { std: "docker" "start" "-a" "ff55b7f6af2e82ff6d445ce55c59b6bed80c44e3f5b3b6c8a2f98bfe9246ffd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff55b7f6af2e82ff6d445ce55c59b6bed80c44e3f5b3b6c8a2f98bfe9246ffd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff55b7f6af2e82ff6d445ce55c59b6bed80c44e3f5b3b6c8a2f98bfe9246ffd5", kill_on_drop: false }` [INFO] [stdout] ff55b7f6af2e82ff6d445ce55c59b6bed80c44e3f5b3b6c8a2f98bfe9246ffd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 134753d956824fe8ad4c6649a6ba29749fd780731cc41826fd6f61ec55f628de [INFO] running `Command { std: "docker" "start" "-a" "134753d956824fe8ad4c6649a6ba29749fd780731cc41826fd6f61ec55f628de", 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)]` 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)]` 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:29:37 [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:71:37 [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:112:37 [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:154:36 [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.42s [INFO] running `Command { std: "docker" "inspect" "134753d956824fe8ad4c6649a6ba29749fd780731cc41826fd6f61ec55f628de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "134753d956824fe8ad4c6649a6ba29749fd780731cc41826fd6f61ec55f628de", kill_on_drop: false }` [INFO] [stdout] 134753d956824fe8ad4c6649a6ba29749fd780731cc41826fd6f61ec55f628de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a639e52760f91123db5d96dcef09782b8fa6702c872f8872902150fd7f69616 [INFO] running `Command { std: "docker" "start" "-a" "4a639e52760f91123db5d96dcef09782b8fa6702c872f8872902150fd7f69616", 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)]` 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)]` 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:29:37 [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:71:37 [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:112:37 [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:154:36 [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] [stderr] Compiling libprefetch v0.1.1 (/opt/rustwide/workdir) [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)]` 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)]` 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:29:37 [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:71:37 [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:112:37 [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:154:36 [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.53s [INFO] running `Command { std: "docker" "inspect" "4a639e52760f91123db5d96dcef09782b8fa6702c872f8872902150fd7f69616", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a639e52760f91123db5d96dcef09782b8fa6702c872f8872902150fd7f69616", kill_on_drop: false }` [INFO] [stdout] 4a639e52760f91123db5d96dcef09782b8fa6702c872f8872902150fd7f69616 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 29be67338c74a0233805c3eafcb1182fe7b29b3b1155eee4dc4d2614d272e546 [INFO] running `Command { std: "docker" "start" "-a" "29be67338c74a0233805c3eafcb1182fe7b29b3b1155eee4dc4d2614d272e546", 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)]` 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)]` 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:29:37 [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:71:37 [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:112:37 [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:154:36 [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.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libprefetch-72f196b65e31da15) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test tests::header ... ok [INFO] [stdout] test tests::metrics ... ok [INFO] [stdout] test tests::readme ... ok [INFO] [stdout] test tests::volumes ... ok [INFO] [stdout] test tests::volumes_directories ... ok [INFO] [stdout] test tests::trace ... ok [INFO] [stderr] Doc-tests libprefetch [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [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::metrics (line 136) ... ok [INFO] [stdout] test src/prefetch.rs - prefetch::Prefetch (line 79) ... ok [INFO] [stdout] test src/prefetch.rs - prefetch::Prefetch::trace (line 157) ... 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.87s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "29be67338c74a0233805c3eafcb1182fe7b29b3b1155eee4dc4d2614d272e546", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29be67338c74a0233805c3eafcb1182fe7b29b3b1155eee4dc4d2614d272e546", kill_on_drop: false }` [INFO] [stdout] 29be67338c74a0233805c3eafcb1182fe7b29b3b1155eee4dc4d2614d272e546