[INFO] fetching crate cell 0.1.8... [INFO] testing cell-0.1.8 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate cell 0.1.8 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cell 0.1.8 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b92e1951354a417d95d66d81a04b3060c2a5f95f45ac9f882eac8c9e752a3a08 [INFO] running `Command { std: "docker" "start" "-a" "b92e1951354a417d95d66d81a04b3060c2a5f95f45ac9f882eac8c9e752a3a08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b92e1951354a417d95d66d81a04b3060c2a5f95f45ac9f882eac8c9e752a3a08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b92e1951354a417d95d66d81a04b3060c2a5f95f45ac9f882eac8c9e752a3a08", kill_on_drop: false }` [INFO] [stdout] b92e1951354a417d95d66d81a04b3060c2a5f95f45ac9f882eac8c9e752a3a08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba837e13c95c8035f08b5d9ee479ad27f6f9e38a360acf8c58d9118f56e6ce5f [INFO] running `Command { std: "docker" "start" "-a" "ba837e13c95c8035f08b5d9ee479ad27f6f9e38a360acf8c58d9118f56e6ce5f", 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.26s [INFO] running `Command { std: "docker" "inspect" "ba837e13c95c8035f08b5d9ee479ad27f6f9e38a360acf8c58d9118f56e6ce5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba837e13c95c8035f08b5d9ee479ad27f6f9e38a360acf8c58d9118f56e6ce5f", kill_on_drop: false }` [INFO] [stdout] ba837e13c95c8035f08b5d9ee479ad27f6f9e38a360acf8c58d9118f56e6ce5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca854459389a59668d41310342d1be8a88bb502865ee0bb422ab0223daef51de [INFO] running `Command { std: "docker" "start" "-a" "ca854459389a59668d41310342d1be8a88bb502865ee0bb422ab0223daef51de", 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] [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.61s [INFO] running `Command { std: "docker" "inspect" "ca854459389a59668d41310342d1be8a88bb502865ee0bb422ab0223daef51de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca854459389a59668d41310342d1be8a88bb502865ee0bb422ab0223daef51de", kill_on_drop: false }` [INFO] [stdout] ca854459389a59668d41310342d1be8a88bb502865ee0bb422ab0223daef51de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 02c91c2b0a4d81ff7d5c37496fbb1a8e2f46df73f189de98db7781e836b088cd [INFO] running `Command { std: "docker" "start" "-a" "02c91c2b0a4d81ff7d5c37496fbb1a8e2f46df73f189de98db7781e836b088cd", 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] [stderr] 217 | fn accessor(&self) -> RefMut<'_, u32> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [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" -p 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.02s [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 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] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test cell_default ... ok [INFO] [stdout] test as_ptr ... ok [INFO] [stdout] test double_imm_borrow ... ok [INFO] [stdout] test imm_release_borrow_mut ... ok [INFO] [stdout] test no_double_borrow_mut ... ok [INFO] [stdout] test cell_replace ... ok [INFO] [stdout] test cell_into_inner ... ok [INFO] [stdout] test double_borrow_single_release_no_borrow_mut ... ok [INFO] [stdout] test mut_release_borrow_mut ... ok [INFO] [stdout] test cell_set ... ok [INFO] [stdout] test no_mut_then_imm_borrow ... ok [INFO] [stdout] test no_imm_then_borrow_mut ... ok [INFO] [stdout] test ref_clone_updates_flag ... ok [INFO] [stdout] test ref_map_does_not_update_flag ... ok [INFO] [stdout] test ref_map_split ... ok [INFO] [stdout] test refcell_default ... ok [INFO] [stdout] test refcell_unsized ... 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 ref_mut_map_accessor ... 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] test ref_and_refmut_have_sensible_show ... ok [INFO] [stdout] test ref_map_accessor ... ok [INFO] [stdout] test ref_map_split_updates_flag ... ok [INFO] [stdout] test ref_mut_map_split ... ok [INFO] [stdout] test refval_map ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Doc-tests cell [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test src/cell.rs - cell::RefCell::borrow (line 214) ... ok [INFO] [stdout] test src/cell.rs - cell::Ref<'b,T>::map_split (line 616) ... ok [INFO] [stdout] test src/cell.rs - cell::RefCell::new (line 97) ... ok [INFO] [stdout] test src/cell.rs - cell::RefCell::into_inner (line 114) ... ok [INFO] [stdout] test src/cell.rs - cell::RefCell::as_ptr (line 359) ... 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 (line 667) ... ok [INFO] [stdout] test src/cell.rs - cell::RefCell::get_mut (line 387) ... ok [INFO] [stdout] test src/cell.rs - cell::RefCell::swap (line 187) ... ok [INFO] [stdout] test src/cell.rs - cell::RefCell::replace (line 141) ... 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::borrow_mut (line 304) ... ok [INFO] [stdout] test src/cell.rs - cell::RefCell::replace_with (line 162) ... ok [INFO] [stdout] test src/cell.rs - cell::RefCell::borrow (line 225) ... ok [INFO] [stdout] test src/cell.rs - cell::RefCell::try_borrow (line 253) ... 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.45s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "02c91c2b0a4d81ff7d5c37496fbb1a8e2f46df73f189de98db7781e836b088cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02c91c2b0a4d81ff7d5c37496fbb1a8e2f46df73f189de98db7781e836b088cd", kill_on_drop: false }` [INFO] [stdout] 02c91c2b0a4d81ff7d5c37496fbb1a8e2f46df73f189de98db7781e836b088cd