[INFO] fetching crate lifeguard 0.6.1... [INFO] testing lifeguard-0.6.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate lifeguard 0.6.1 into /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lifeguard 0.6.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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] fa37f2ba1720fa40ce2321dcd09e8ea5f2af7030e1ff1eba9b527f7d71880c65 [INFO] running `Command { std: "docker" "start" "-a" "fa37f2ba1720fa40ce2321dcd09e8ea5f2af7030e1ff1eba9b527f7d71880c65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa37f2ba1720fa40ce2321dcd09e8ea5f2af7030e1ff1eba9b527f7d71880c65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa37f2ba1720fa40ce2321dcd09e8ea5f2af7030e1ff1eba9b527f7d71880c65", kill_on_drop: false }` [INFO] [stdout] fa37f2ba1720fa40ce2321dcd09e8ea5f2af7030e1ff1eba9b527f7d71880c65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 1ce8ccbd8e19ba5d4104710b722372ab25fdcb30afb0f0a02983fcb1d840d08a [INFO] running `Command { std: "docker" "start" "-a" "1ce8ccbd8e19ba5d4104710b722372ab25fdcb30afb0f0a02983fcb1d840d08a", 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)]` (part of `#[warn(rust_2018_compatibility)]`) 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)]` (part of `#[warn(unused)]`) 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.25s [INFO] running `Command { std: "docker" "inspect" "1ce8ccbd8e19ba5d4104710b722372ab25fdcb30afb0f0a02983fcb1d840d08a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ce8ccbd8e19ba5d4104710b722372ab25fdcb30afb0f0a02983fcb1d840d08a", kill_on_drop: false }` [INFO] [stdout] 1ce8ccbd8e19ba5d4104710b722372ab25fdcb30afb0f0a02983fcb1d840d08a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 2d2836e417c383336167e08b9d41b63f17213fac3663605bffab2a0df02323fd [INFO] running `Command { std: "docker" "start" "-a" "2d2836e417c383336167e08b9d41b63f17213fac3663605bffab2a0df02323fd", 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)]` (part of `#[warn(rust_2018_compatibility)]`) 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)]` (part of `#[warn(unused)]`) 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] 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)]` (part of `#[warn(rust_2018_compatibility)]`) 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)]` (part of `#[warn(unused)]`) 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.67s [INFO] running `Command { std: "docker" "inspect" "2d2836e417c383336167e08b9d41b63f17213fac3663605bffab2a0df02323fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d2836e417c383336167e08b9d41b63f17213fac3663605bffab2a0df02323fd", kill_on_drop: false }` [INFO] [stdout] 2d2836e417c383336167e08b9d41b63f17213fac3663605bffab2a0df02323fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 012b26f6608561b0baa3d683ed7af44adf113f3e3ecddc228933c345b1ed9c7a [INFO] running `Command { std: "docker" "start" "-a" "012b26f6608561b0baa3d683ed7af44adf113f3e3ecddc228933c345b1ed9c7a", 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)]` (part of `#[warn(rust_2018_compatibility)]`) 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)]` (part of `#[warn(unused)]`) 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.06s [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 ... ok [INFO] [stdout] test tests::test_as_ref ... ok [INFO] [stdout] test tests::test_as_ref_rc ... ok [INFO] [stdout] test tests::test_attach ... ok [INFO] [stdout] test tests::test_clone ... ok [INFO] [stdout] test tests::test_deref ... ok [INFO] [stdout] test tests::test_deref_mut_rc ... ok [INFO] [stdout] test tests::test_as_mut_rc ... ok [INFO] [stdout] test tests::test_builder ... ok [INFO] [stdout] test tests::test_deref_rc ... ok [INFO] [stdout] test tests::test_attach_rc ... ok [INFO] [stdout] test tests::test_detach_rc ... ok [INFO] [stdout] test tests::test_deref_mut ... ok [INFO] [stdout] test tests::test_detach ... ok [INFO] [stdout] test tests::test_new_from_iter ... ok [INFO] [stdout] test tests::test_rc_clone ... ok [INFO] [stdout] test tests::test_recycle_rc ... ok [INFO] [stdout] test tests::test_size_cap ... ok [INFO] [stdout] test tests::test_recycle ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [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.23s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "012b26f6608561b0baa3d683ed7af44adf113f3e3ecddc228933c345b1ed9c7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "012b26f6608561b0baa3d683ed7af44adf113f3e3ecddc228933c345b1ed9c7a", kill_on_drop: false }` [INFO] [stdout] 012b26f6608561b0baa3d683ed7af44adf113f3e3ecddc228933c345b1ed9c7a