[INFO] fetching crate cell 0.1.8... [INFO] testing cell-0.1.8 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate cell 0.1.8 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cell 0.1.8 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 6e0e0e768130b7162cb6232d39f773a48edb022076eea075fd8ca51533c266a2 [INFO] running `Command { std: "docker" "start" "-a" "6e0e0e768130b7162cb6232d39f773a48edb022076eea075fd8ca51533c266a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e0e0e768130b7162cb6232d39f773a48edb022076eea075fd8ca51533c266a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e0e0e768130b7162cb6232d39f773a48edb022076eea075fd8ca51533c266a2", kill_on_drop: false }` [INFO] [stdout] 6e0e0e768130b7162cb6232d39f773a48edb022076eea075fd8ca51533c266a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 5b742b0fefe0102960b15877ff3ea9a23c38c7239aa382b68823e636c6dce5da [INFO] running `Command { std: "docker" "start" "-a" "5b742b0fefe0102960b15877ff3ea9a23c38c7239aa382b68823e636c6dce5da", kill_on_drop: false }` [INFO] [stderr] Compiling cell v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cell.rs:239:19 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn borrow(&self) -> Ref { [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] 239 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cell.rs:269:23 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn try_borrow(&self) -> Result, BorrowError> { [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] 269 | pub fn try_borrow(&self) -> Result, BorrowError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cell.rs:318:23 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn borrow_mut(&self) -> RefMut { [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] 318 | pub fn borrow_mut(&self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cell.rs:345:27 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn try_borrow_mut(&self) -> Result, BorrowMutError> { [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] 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.22s [INFO] running `Command { std: "docker" "inspect" "5b742b0fefe0102960b15877ff3ea9a23c38c7239aa382b68823e636c6dce5da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b742b0fefe0102960b15877ff3ea9a23c38c7239aa382b68823e636c6dce5da", kill_on_drop: false }` [INFO] [stdout] 5b742b0fefe0102960b15877ff3ea9a23c38c7239aa382b68823e636c6dce5da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 7db3111486e67cb6e6a7232c8d7882dc1f66263132b12de3b4f9281b4d27aa12 [INFO] running `Command { std: "docker" "start" "-a" "7db3111486e67cb6e6a7232c8d7882dc1f66263132b12de3b4f9281b4d27aa12", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cell.rs:239:19 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn borrow(&self) -> Ref { [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] 239 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cell.rs:269:23 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn try_borrow(&self) -> Result, BorrowError> { [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] 269 | pub fn try_borrow(&self) -> Result, BorrowError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cell.rs:318:23 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn borrow_mut(&self) -> RefMut { [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] 318 | pub fn borrow_mut(&self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cell.rs:345:27 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn try_borrow_mut(&self) -> Result, BorrowMutError> { [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] 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cell.rs:239:19 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn borrow(&self) -> Ref { [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] 239 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cell.rs:269:23 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn try_borrow(&self) -> Result, BorrowError> { [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] 269 | pub fn try_borrow(&self) -> Result, BorrowError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cell.rs:318:23 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn borrow_mut(&self) -> RefMut { [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] 318 | pub fn borrow_mut(&self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cell.rs:345:27 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn try_borrow_mut(&self) -> Result, BorrowMutError> { [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] 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tests/cell.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | fn accessor(&self) -> Ref { [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] 204 | fn accessor(&self) -> Ref<'_, u32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tests/cell.rs:217:21 [INFO] [stdout] | [INFO] [stdout] 217 | fn accessor(&self) -> RefMut { [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] 217 | fn accessor(&self) -> RefMut<'_, u32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> tests/cell.rs:326:49 [INFO] [stdout] | [INFO] [stdout] 326 | fn iter<'t, 's: 't>(&'s self) -> RefVal<'t, Iter> { [INFO] [stdout] | -- ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: 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 0.64s [INFO] running `Command { std: "docker" "inspect" "7db3111486e67cb6e6a7232c8d7882dc1f66263132b12de3b4f9281b4d27aa12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7db3111486e67cb6e6a7232c8d7882dc1f66263132b12de3b4f9281b4d27aa12", kill_on_drop: false }` [INFO] [stdout] 7db3111486e67cb6e6a7232c8d7882dc1f66263132b12de3b4f9281b4d27aa12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] d15182caad7cc31365cf246f6ef15666f61a49a725c7b979857d1439502e7a1c [INFO] running `Command { std: "docker" "start" "-a" "d15182caad7cc31365cf246f6ef15666f61a49a725c7b979857d1439502e7a1c", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cell.rs:239:19 [INFO] [stderr] | [INFO] [stderr] 239 | pub fn borrow(&self) -> Ref { [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] 239 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cell.rs:269:23 [INFO] [stderr] | [INFO] [stderr] 269 | pub fn try_borrow(&self) -> Result, BorrowError> { [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] 269 | pub fn try_borrow(&self) -> Result, BorrowError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cell.rs:318:23 [INFO] [stderr] | [INFO] [stderr] 318 | pub fn borrow_mut(&self) -> RefMut { [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] 318 | pub fn borrow_mut(&self) -> RefMut<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cell.rs:345:27 [INFO] [stderr] | [INFO] [stderr] 345 | pub fn try_borrow_mut(&self) -> Result, BorrowMutError> { [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] 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> tests/cell.rs:204:21 [INFO] [stderr] | [INFO] [stderr] 204 | fn accessor(&self) -> Ref { [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] 204 | fn accessor(&self) -> Ref<'_, u32> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> tests/cell.rs:217:21 [INFO] [stderr] | [INFO] [stderr] 217 | fn accessor(&self) -> RefMut { [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] [stdout] [INFO] [stderr] 217 | fn accessor(&self) -> RefMut<'_, u32> { [INFO] [stdout] running 0 tests [INFO] [stderr] | +++ [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] [INFO] [stderr] --> tests/cell.rs:326:49 [INFO] [stderr] | [INFO] [stderr] 326 | fn iter<'t, 's: 't>(&'s self) -> RefVal<'t, Iter> { [INFO] [stderr] | -- ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: 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.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cell-4ca0437d19e370a2) [INFO] [stderr] Running tests/cell.rs (/opt/rustwide/target/debug/deps/cell-1871261e2054240b) [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 no_double_borrow_mut ... ok [INFO] [stdout] test mut_release_borrow_mut ... ok [INFO] [stdout] test no_imm_then_borrow_mut ... ok [INFO] [stdout] test ref_map_accessor ... ok [INFO] [stdout] test ref_map_does_not_update_flag ... ok [INFO] [stdout] test ref_map_split ... ok [INFO] [stdout] test ref_map_split_updates_flag ... ok [INFO] [stdout] test ref_mut_map_split ... ok [INFO] [stdout] test ref_mut_map_accessor ... ok [INFO] [stdout] test refval_map ... ok [INFO] [stdout] test double_borrow_single_release_no_borrow_mut ... ok [INFO] [stdout] test double_imm_borrow ... ok [INFO] [stdout] test refval_with_iterator ... ok [INFO] [stdout] test refvalmut ... ok [INFO] [stdout] test refval_clone ... ok [INFO] [stdout] test refval_debug ... ok [INFO] [stdout] test refcell_unsized ... ok [INFO] [stdout] test cell_default ... ok [INFO] [stdout] test imm_release_borrow_mut ... ok [INFO] [stdout] test cell_replace ... 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 refcell_default ... 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.07s [INFO] [stdout] [INFO] [stderr] Doc-tests cell [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test src/cell.rs - cell::RefCell::swap (line 187) ... ok [INFO] [stdout] test src/cell.rs - cell::RefCell::replace_with (line 162) ... ok [INFO] [stdout] test src/cell.rs - cell::Ref<'b,T>::map (line 587) ... ok [INFO] [stdout] test src/cell.rs - cell::RefCell::borrow_mut (line 292) ... ok [INFO] [stdout] test src/cell.rs - cell::RefCell::get_mut (line 387) ... ok [INFO] [stdout] test src/cell.rs - cell::RefCell::try_borrow (line 253) ... ok [INFO] [stdout] test src/cell.rs - cell::RefCell::into_inner (line 114) ... ok [INFO] [stdout] test src/cell.rs - cell::RefCell::borrow (line 214) ... ok [INFO] [stdout] test src/cell.rs - cell::RefCell::borrow_mut (line 304) ... ok [INFO] [stdout] test src/cell.rs - cell::RefCell::borrow (line 225) ... ok [INFO] [stdout] test src/cell.rs - cell::RefCell::new (line 97) ... ok [INFO] [stdout] test src/cell.rs - cell::RefCell::as_ptr (line 359) ... ok [INFO] [stdout] test src/cell.rs - cell::RefCell::replace (line 141) ... ok [INFO] [stdout] test src/cell.rs - cell::RefMut<'b,T>::map (line 667) ... ok [INFO] [stdout] test src/cell.rs - cell::Ref<'b,T>::map_split (line 616) ... ok [INFO] [stdout] test src/cell.rs - cell::RefCell::try_borrow_mut (line 332) ... ok [INFO] [stdout] test src/cell.rs - cell::RefMut<'b,T>::map_split (line 705) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.07s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d15182caad7cc31365cf246f6ef15666f61a49a725c7b979857d1439502e7a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d15182caad7cc31365cf246f6ef15666f61a49a725c7b979857d1439502e7a1c", kill_on_drop: false }` [INFO] [stdout] d15182caad7cc31365cf246f6ef15666f61a49a725c7b979857d1439502e7a1c