[INFO] fetching crate cell 0.1.8... [INFO] testing cell-0.1.8 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate cell 0.1.8 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate cell 0.1.8 [INFO] finished tweaking crates.io crate cell 0.1.8 [INFO] tweaked toml for crates.io crate cell 0.1.8 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cell 0.1.8 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6fc883f969cf764c938bc7b784ae5b7c3325e50413db8db8e835002648f975d [INFO] running `Command { std: "docker" "start" "-a" "f6fc883f969cf764c938bc7b784ae5b7c3325e50413db8db8e835002648f975d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6fc883f969cf764c938bc7b784ae5b7c3325e50413db8db8e835002648f975d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6fc883f969cf764c938bc7b784ae5b7c3325e50413db8db8e835002648f975d", kill_on_drop: false }` [INFO] [stdout] f6fc883f969cf764c938bc7b784ae5b7c3325e50413db8db8e835002648f975d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4a118a94fa9571b92246824ef21661e2a1a7dcb385e4ec808fe099030b7d421d [INFO] running `Command { std: "docker" "start" "-a" "4a118a94fa9571b92246824ef21661e2a1a7dcb385e4ec808fe099030b7d421d", kill_on_drop: false }` [INFO] [stderr] Compiling cell v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cell.rs:239:19 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn borrow(&self) -> Ref { [INFO] [stdout] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 239 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cell.rs:269:23 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn try_borrow(&self) -> Result, BorrowError> { [INFO] [stdout] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 269 | pub fn try_borrow(&self) -> Result, BorrowError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cell.rs:318:23 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn borrow_mut(&self) -> RefMut { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 318 | pub fn borrow_mut(&self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cell.rs:345:27 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn try_borrow_mut(&self) -> Result, BorrowMutError> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 345 | pub fn try_borrow_mut(&self) -> Result, BorrowMutError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "4a118a94fa9571b92246824ef21661e2a1a7dcb385e4ec808fe099030b7d421d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a118a94fa9571b92246824ef21661e2a1a7dcb385e4ec808fe099030b7d421d", kill_on_drop: false }` [INFO] [stdout] 4a118a94fa9571b92246824ef21661e2a1a7dcb385e4ec808fe099030b7d421d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 05f4772b7a2442adb7e57d9481eefc0463f0066acefcbda84e414f45ce41ea3c [INFO] running `Command { std: "docker" "start" "-a" "05f4772b7a2442adb7e57d9481eefc0463f0066acefcbda84e414f45ce41ea3c", kill_on_drop: false }` [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cell.rs:239:19 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn borrow(&self) -> Ref { [INFO] [stdout] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 239 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cell.rs:269:23 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn try_borrow(&self) -> Result, BorrowError> { [INFO] [stdout] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 269 | pub fn try_borrow(&self) -> Result, BorrowError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cell.rs:318:23 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn borrow_mut(&self) -> RefMut { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 318 | pub fn borrow_mut(&self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cell.rs:345:27 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn try_borrow_mut(&self) -> Result, BorrowMutError> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 345 | pub fn try_borrow_mut(&self) -> Result, BorrowMutError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cell v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cell.rs:239:19 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn borrow(&self) -> Ref { [INFO] [stdout] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 239 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cell.rs:269:23 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn try_borrow(&self) -> Result, BorrowError> { [INFO] [stdout] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 269 | pub fn try_borrow(&self) -> Result, BorrowError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cell.rs:318:23 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn borrow_mut(&self) -> RefMut { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 318 | pub fn borrow_mut(&self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cell.rs:345:27 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn try_borrow_mut(&self) -> Result, BorrowMutError> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 345 | pub fn try_borrow_mut(&self) -> Result, BorrowMutError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `val` is never read [INFO] [stdout] --> tests/cell.rs:367:3 [INFO] [stdout] | [INFO] [stdout] 366 | struct Val { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 367 | val: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Val` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> tests/cell.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | fn accessor(&self) -> Ref { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 204 | fn accessor(&self) -> Ref<'_, u32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> tests/cell.rs:217:21 [INFO] [stdout] | [INFO] [stdout] 217 | fn accessor(&self) -> RefMut { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 217 | fn accessor(&self) -> RefMut<'_, u32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> tests/cell.rs:326:26 [INFO] [stdout] | [INFO] [stdout] 326 | fn iter<'t, 's: 't>(&'s self) -> RefVal<'t, Iter> { [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'s` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'s` [INFO] [stdout] | [INFO] [stdout] 326 | fn iter<'t, 's: 't>(&'s self) -> RefVal<'t, Iter<'s, String>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.08s [INFO] running `Command { std: "docker" "inspect" "05f4772b7a2442adb7e57d9481eefc0463f0066acefcbda84e414f45ce41ea3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05f4772b7a2442adb7e57d9481eefc0463f0066acefcbda84e414f45ce41ea3c", kill_on_drop: false }` [INFO] [stdout] 05f4772b7a2442adb7e57d9481eefc0463f0066acefcbda84e414f45ce41ea3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 666a8d9da5ded2a164b6a6e649a0bf9da6ed0a0b753acc094656fc0afeb7b517 [INFO] running `Command { std: "docker" "start" "-a" "666a8d9da5ded2a164b6a6e649a0bf9da6ed0a0b753acc094656fc0afeb7b517", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cell.rs:239:19 [INFO] [stderr] | [INFO] [stderr] 239 | pub fn borrow(&self) -> Ref { [INFO] [stderr] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 239 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cell.rs:269:23 [INFO] [stderr] | [INFO] [stderr] 269 | pub fn try_borrow(&self) -> Result, BorrowError> { [INFO] [stderr] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 269 | pub fn try_borrow(&self) -> Result, BorrowError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cell.rs:318:23 [INFO] [stderr] | [INFO] [stderr] 318 | pub fn borrow_mut(&self) -> RefMut { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 318 | pub fn borrow_mut(&self) -> RefMut<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cell.rs:345:27 [INFO] [stderr] | [INFO] [stderr] 345 | pub fn try_borrow_mut(&self) -> Result, BorrowMutError> { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 345 | pub fn try_borrow_mut(&self) -> Result, BorrowMutError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `cell` (lib) generated 4 warnings (run `cargo fix --lib -p cell` to apply 4 suggestions) [INFO] [stderr] warning: field `val` is never read [INFO] [stderr] --> tests/cell.rs:367:3 [INFO] [stderr] | [INFO] [stderr] 366 | struct Val { [INFO] [stderr] | --- field in this struct [INFO] [stderr] 367 | val: u64, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Val` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> tests/cell.rs:204:21 [INFO] [stderr] | [INFO] [stderr] 204 | fn accessor(&self) -> Ref { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 204 | fn accessor(&self) -> Ref<'_, u32> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> tests/cell.rs:217:21 [INFO] [stderr] | [INFO] [stderr] 217 | fn accessor(&self) -> RefMut { [INFO] [stderr] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 217 | fn accessor(&self) -> RefMut<'_, u32> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> tests/cell.rs:326:26 [INFO] [stderr] | [INFO] [stderr] 326 | fn iter<'t, 's: 't>(&'s self) -> RefVal<'t, Iter> { [INFO] [stderr] | ^^ ------------ the lifetime gets resolved as `'s` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'s` [INFO] [stderr] | [INFO] [stderr] 326 | fn iter<'t, 's: 't>(&'s self) -> RefVal<'t, Iter<'s, String>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `cell` (test "cell") generated 4 warnings (run `cargo fix --test "cell"` to apply 3 suggestions) [INFO] [stderr] warning: `cell` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/cell-85b1857a1e27f972) [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/cell.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/cell-66ae31af9dc080ae) [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test as_ptr ... ok [INFO] [stdout] test cell_into_inner ... ok [INFO] [stdout] test cell_set ... ok [INFO] [stdout] test double_borrow_single_release_no_borrow_mut ... ok [INFO] [stdout] test cell_default ... ok [INFO] [stdout] test imm_release_borrow_mut ... ok [INFO] [stdout] test mut_release_borrow_mut ... ok [INFO] [stdout] test double_imm_borrow ... ok [INFO] [stdout] test cell_replace ... ok [INFO] [stdout] test no_double_borrow_mut ... ok [INFO] [stdout] test no_imm_then_borrow_mut ... ok [INFO] [stdout] test no_mut_then_imm_borrow ... ok [INFO] [stdout] test ref_and_refmut_have_sensible_show ... ok [INFO] [stdout] test ref_clone_updates_flag ... ok [INFO] [stdout] test ref_map_accessor ... ok [INFO] [stdout] test ref_map_split ... ok [INFO] [stdout] test ref_mut_map_accessor ... ok [INFO] [stdout] test refcell_unsized ... ok [INFO] [stdout] test ref_map_does_not_update_flag ... ok [INFO] [stdout] test ref_mut_map_split ... ok [INFO] [stdout] test ref_map_split_updates_flag ... ok [INFO] [stdout] test refcell_default ... ok [INFO] [stdout] test refval_clone ... ok [INFO] [stdout] test refval_debug ... ok [INFO] [stdout] test refval_with_iterator ... ok [INFO] [stdout] test refvalmut ... ok [INFO] [stdout] test refval_map ... ok [INFO] [stdout] test discard_doesnt_unborrow - should panic ... ok [INFO] [stdout] test refcell_replace_borrows - should panic ... ok [INFO] [stdout] test refcell_swap_borrows - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "666a8d9da5ded2a164b6a6e649a0bf9da6ed0a0b753acc094656fc0afeb7b517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "666a8d9da5ded2a164b6a6e649a0bf9da6ed0a0b753acc094656fc0afeb7b517", kill_on_drop: false }` [INFO] [stdout] 666a8d9da5ded2a164b6a6e649a0bf9da6ed0a0b753acc094656fc0afeb7b517