[INFO] fetching crate lifeguard 0.6.1... [INFO] testing lifeguard-0.6.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate lifeguard 0.6.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate lifeguard 0.6.1 [INFO] finished tweaking crates.io crate lifeguard 0.6.1 [INFO] tweaked toml for crates.io crate lifeguard 0.6.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lifeguard 0.6.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] [stderr] Blocking waiting for file lock on package cache [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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f55f87c143d2f4ab9ef2038f5f55320ff251fdcb3f8821762fd93ca2d0e7ce08 [INFO] running `Command { std: "docker" "start" "-a" "f55f87c143d2f4ab9ef2038f5f55320ff251fdcb3f8821762fd93ca2d0e7ce08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f55f87c143d2f4ab9ef2038f5f55320ff251fdcb3f8821762fd93ca2d0e7ce08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f55f87c143d2f4ab9ef2038f5f55320ff251fdcb3f8821762fd93ca2d0e7ce08", kill_on_drop: false }` [INFO] [stdout] f55f87c143d2f4ab9ef2038f5f55320ff251fdcb3f8821762fd93ca2d0e7ce08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4018465ccef073623e1d1c416c2f4fda5e62a9561fdb84926fe6d7968102c227 [INFO] running `Command { std: "docker" "start" "-a" "4018465ccef073623e1d1c416c2f4fda5e62a9561fdb84926fe6d7968102c227", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling lifeguard v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:607:25 [INFO] [stdout] | [INFO] [stdout] 607 | fn set_option(self, T) -> T; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_from` are never used [INFO] [stdout] --> src/lib.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 166 | impl <'a, T> $typ where T: Recycleable { [INFO] [stdout] | -------------------------------------- associated functions in this implementation [INFO] [stdout] 167 | fn new(pool: $pool, value: T) -> $typ { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | fn new_from(pool: $pool, value: T, source: A) -> $typ where T : InitializeWith { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | impl_recycled!{ RcRecycled, RcRecycled, Rc>> } [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_recycled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_from` are never used [INFO] [stdout] --> src/lib.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 166 | impl <'a, T> $typ where T: Recycleable { [INFO] [stdout] | -------------------------------------- associated functions in this implementation [INFO] [stdout] 167 | fn new(pool: $pool, value: T) -> $typ { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | fn new_from(pool: $pool, value: T, source: A) -> $typ where T : InitializeWith { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | impl_recycled!{ Recycled, Recycled<'a, T>, &'a RefCell> } [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_recycled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:495:14 [INFO] [stdout] | [INFO] [stdout] 495 | pub fn new(&self) -> Recycled { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 495 | pub fn new(&self) -> Recycled<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:505:22 [INFO] [stdout] | [INFO] [stdout] 505 | pub fn new_from(&self, source: A) -> Recycled where T: InitializeWith { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 505 | pub fn new_from(&self, source: A) -> Recycled<'_, T> where T: InitializeWith { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 513 | pub fn attach(&self, value: T) -> Recycled { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 513 | pub fn attach(&self, value: T) -> Recycled<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "4018465ccef073623e1d1c416c2f4fda5e62a9561fdb84926fe6d7968102c227", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4018465ccef073623e1d1c416c2f4fda5e62a9561fdb84926fe6d7968102c227", kill_on_drop: false }` [INFO] [stdout] 4018465ccef073623e1d1c416c2f4fda5e62a9561fdb84926fe6d7968102c227 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cdc8fb3cbea40c1526d1feb795971d98c181359b18e89bd584814f34cf8e4cd [INFO] running `Command { std: "docker" "start" "-a" "1cdc8fb3cbea40c1526d1feb795971d98c181359b18e89bd584814f34cf8e4cd", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:607:25 [INFO] [stdout] | [INFO] [stdout] 607 | fn set_option(self, T) -> T; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_from` are never used [INFO] [stdout] --> src/lib.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 166 | impl <'a, T> $typ where T: Recycleable { [INFO] [stdout] | -------------------------------------- associated functions in this implementation [INFO] [stdout] 167 | fn new(pool: $pool, value: T) -> $typ { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | fn new_from(pool: $pool, value: T, source: A) -> $typ where T : InitializeWith { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | impl_recycled!{ RcRecycled, RcRecycled, Rc>> } [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_recycled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_from` are never used [INFO] [stdout] --> src/lib.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 166 | impl <'a, T> $typ where T: Recycleable { [INFO] [stdout] | -------------------------------------- associated functions in this implementation [INFO] [stdout] 167 | fn new(pool: $pool, value: T) -> $typ { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | fn new_from(pool: $pool, value: T, source: A) -> $typ where T : InitializeWith { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | impl_recycled!{ Recycled, Recycled<'a, T>, &'a RefCell> } [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_recycled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling lifeguard v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:495:14 [INFO] [stdout] | [INFO] [stdout] 495 | pub fn new(&self) -> Recycled { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 495 | pub fn new(&self) -> Recycled<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:505:22 [INFO] [stdout] | [INFO] [stdout] 505 | pub fn new_from(&self, source: A) -> Recycled where T: InitializeWith { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 505 | pub fn new_from(&self, source: A) -> Recycled<'_, T> where T: InitializeWith { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 513 | pub fn attach(&self, value: T) -> Recycled { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 513 | pub fn attach(&self, value: T) -> Recycled<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:607:25 [INFO] [stdout] | [INFO] [stdout] 607 | fn set_option(self, T) -> T; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_from` are never used [INFO] [stdout] --> src/lib.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 166 | impl <'a, T> $typ where T: Recycleable { [INFO] [stdout] | -------------------------------------- associated functions in this implementation [INFO] [stdout] 167 | fn new(pool: $pool, value: T) -> $typ { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | fn new_from(pool: $pool, value: T, source: A) -> $typ where T : InitializeWith { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | impl_recycled!{ RcRecycled, RcRecycled, Rc>> } [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_recycled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_from` are never used [INFO] [stdout] --> src/lib.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 166 | impl <'a, T> $typ where T: Recycleable { [INFO] [stdout] | -------------------------------------- associated functions in this implementation [INFO] [stdout] 167 | fn new(pool: $pool, value: T) -> $typ { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | fn new_from(pool: $pool, value: T, source: A) -> $typ where T : InitializeWith { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | impl_recycled!{ Recycled, Recycled<'a, T>, &'a RefCell> } [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_recycled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:495:14 [INFO] [stdout] | [INFO] [stdout] 495 | pub fn new(&self) -> Recycled { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 495 | pub fn new(&self) -> Recycled<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:505:22 [INFO] [stdout] | [INFO] [stdout] 505 | pub fn new_from(&self, source: A) -> Recycled where T: InitializeWith { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 505 | pub fn new_from(&self, source: A) -> Recycled<'_, T> where T: InitializeWith { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 513 | pub fn attach(&self, value: T) -> Recycled { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 513 | pub fn attach(&self, value: T) -> Recycled<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "1cdc8fb3cbea40c1526d1feb795971d98c181359b18e89bd584814f34cf8e4cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cdc8fb3cbea40c1526d1feb795971d98c181359b18e89bd584814f34cf8e4cd", kill_on_drop: false }` [INFO] [stdout] 1cdc8fb3cbea40c1526d1feb795971d98c181359b18e89bd584814f34cf8e4cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 529c11bda697889e1bce8b5cc36a892a8b8264294f4576a9de70d6890f936e70 [INFO] running `Command { std: "docker" "start" "-a" "529c11bda697889e1bce8b5cc36a892a8b8264294f4576a9de70d6890f936e70", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/lib.rs:607:25 [INFO] [stderr] | [INFO] [stderr] 607 | fn set_option(self, T) -> T; [INFO] [stderr] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated functions `new` and `new_from` are never used [INFO] [stderr] --> src/lib.rs:167:8 [INFO] [stderr] | [INFO] [stderr] 166 | impl <'a, T> $typ where T: Recycleable { [INFO] [stderr] | -------------------------------------- associated functions in this implementation [INFO] [stderr] 167 | fn new(pool: $pool, value: T) -> $typ { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 172 | fn new_from(pool: $pool, value: T, source: A) -> $typ where T : InitializeWith { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 185 | impl_recycled!{ RcRecycled, RcRecycled, Rc>> } [INFO] [stderr] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_recycled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated functions `new` and `new_from` are never used [INFO] [stderr] --> src/lib.rs:167:8 [INFO] [stderr] | [INFO] [stderr] 166 | impl <'a, T> $typ where T: Recycleable { [INFO] [stderr] | -------------------------------------- associated functions in this implementation [INFO] [stderr] 167 | fn new(pool: $pool, value: T) -> $typ { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 172 | fn new_from(pool: $pool, value: T, source: A) -> $typ where T : InitializeWith { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 186 | impl_recycled!{ Recycled, Recycled<'a, T>, &'a RefCell> } [INFO] [stderr] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_recycled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:495:14 [INFO] [stderr] | [INFO] [stderr] 495 | pub fn new(&self) -> Recycled { [INFO] [stderr] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 495 | pub fn new(&self) -> Recycled<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:505:22 [INFO] [stderr] | [INFO] [stderr] 505 | pub fn new_from(&self, source: A) -> Recycled where T: InitializeWith { [INFO] [stderr] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 505 | pub fn new_from(&self, source: A) -> Recycled<'_, T> where T: InitializeWith { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:513:17 [INFO] [stderr] | [INFO] [stderr] 513 | pub fn attach(&self, value: T) -> Recycled { [INFO] [stderr] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 513 | pub fn attach(&self, value: T) -> Recycled<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `lifeguard` (lib) generated 6 warnings (run `cargo fix --lib -p lifeguard` to apply 4 suggestions) [INFO] [stderr] warning: `lifeguard` (lib test) generated 6 warnings (6 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/lifeguard-cbb2b34f2088dd24) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/lib.rs (/opt/rustwide/target/debug/deps/lib-4267969e6a27abd3) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test tests::test_as_mut_rc ... ok [INFO] [stdout] test tests::test_attach_rc ... ok [INFO] [stdout] test tests::test_deref ... ok [INFO] [stdout] test tests::test_deref_mut ... ok [INFO] [stdout] test tests::test_deref_mut_rc ... ok [INFO] [stdout] test tests::test_clone ... ok [INFO] [stdout] test tests::test_as_ref ... ok [INFO] [stdout] test tests::test_detach_rc ... ok [INFO] [stdout] test tests::test_as_ref_rc ... ok [INFO] [stdout] test tests::test_new_from_iter ... ok [INFO] [stdout] test tests::test_rc_clone ... ok [INFO] [stdout] test tests::test_recycle ... ok [INFO] [stdout] test tests::test_recycle_rc ... ok [INFO] [stdout] test tests::test_size_cap ... ok [INFO] [stdout] test tests::test_builder ... ok [INFO] [stdout] test tests::test_as_mut ... ok [INFO] [stdout] test tests::test_detach ... ok [INFO] [stdout] test tests::test_deref_rc ... ok [INFO] [stdout] test tests::test_attach ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Doc-tests lifeguard [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - pool (line 560) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.68s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "529c11bda697889e1bce8b5cc36a892a8b8264294f4576a9de70d6890f936e70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "529c11bda697889e1bce8b5cc36a892a8b8264294f4576a9de70d6890f936e70", kill_on_drop: false }` [INFO] [stdout] 529c11bda697889e1bce8b5cc36a892a8b8264294f4576a9de70d6890f936e70