[INFO] fetching crate rt_vec 0.1.1... [INFO] testing rt_vec-0.1.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rt_vec 0.1.1 into /workspace/builds/worker-7-tc1/source [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate rt_vec 0.1.1 [INFO] finished tweaking crates.io crate rt_vec 0.1.1 [INFO] tweaked toml for crates.io crate rt_vec 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rt_vec 0.1.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rt_vec 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rt_ref v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70da3564a3362e0aaff63cf154ca017d2511bda27bee9c4b24808312fe44583b [INFO] running `Command { std: "docker" "start" "-a" "70da3564a3362e0aaff63cf154ca017d2511bda27bee9c4b24808312fe44583b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70da3564a3362e0aaff63cf154ca017d2511bda27bee9c4b24808312fe44583b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70da3564a3362e0aaff63cf154ca017d2511bda27bee9c4b24808312fe44583b", kill_on_drop: false }` [INFO] [stdout] 70da3564a3362e0aaff63cf154ca017d2511bda27bee9c4b24808312fe44583b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40288b0cecc57919899526ee33162e7b929d26e1e5673eeb2e39cadd1ee44cba [INFO] running `Command { std: "docker" "start" "-a" "40288b0cecc57919899526ee33162e7b929d26e1e5673eeb2e39cadd1ee44cba", kill_on_drop: false }` [INFO] [stderr] Compiling rt_ref v0.2.0 [INFO] [stderr] Compiling rt_vec v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rt_vec.rs:217:19 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn borrow(&self, index: usize) -> 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] 217 | pub fn borrow(&self, index: usize) -> Ref<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rt_vec.rs:230:23 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn try_borrow(&self, index: usize) -> Result, BorrowFail> { [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] 230 | pub fn try_borrow(&self, index: usize) -> Result, BorrowFail> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rt_vec.rs:246:23 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn borrow_mut(&self, index: usize) -> 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] 246 | pub fn borrow_mut(&self, index: usize) -> RefMut<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rt_vec.rs:259:27 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn try_borrow_mut(&self, index: usize) -> Result, BorrowFail> { [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] 259 | pub fn try_borrow_mut(&self, index: usize) -> Result, BorrowFail> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rt_vec.rs:283:16 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn get(&self, index: usize) -> Option> { [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] 283 | pub fn get(&self, index: usize) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "40288b0cecc57919899526ee33162e7b929d26e1e5673eeb2e39cadd1ee44cba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40288b0cecc57919899526ee33162e7b929d26e1e5673eeb2e39cadd1ee44cba", kill_on_drop: false }` [INFO] [stdout] 40288b0cecc57919899526ee33162e7b929d26e1e5673eeb2e39cadd1ee44cba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00f61eb19c3d5976f963677162e3ba527148352006f787457d5dbf458ef075ab [INFO] running `Command { std: "docker" "start" "-a" "00f61eb19c3d5976f963677162e3ba527148352006f787457d5dbf458ef075ab", kill_on_drop: false }` [INFO] [stderr] Compiling rt_vec v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rt_vec.rs:217:19 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn borrow(&self, index: usize) -> 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] 217 | pub fn borrow(&self, index: usize) -> Ref<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rt_vec.rs:230:23 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn try_borrow(&self, index: usize) -> Result, BorrowFail> { [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] 230 | pub fn try_borrow(&self, index: usize) -> Result, BorrowFail> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rt_vec.rs:246:23 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn borrow_mut(&self, index: usize) -> 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] 246 | pub fn borrow_mut(&self, index: usize) -> RefMut<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rt_vec.rs:259:27 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn try_borrow_mut(&self, index: usize) -> Result, BorrowFail> { [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] 259 | pub fn try_borrow_mut(&self, index: usize) -> Result, BorrowFail> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rt_vec.rs:283:16 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn get(&self, index: usize) -> Option> { [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] 283 | pub fn get(&self, index: usize) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rt_vec.rs:217:19 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn borrow(&self, index: usize) -> 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] 217 | pub fn borrow(&self, index: usize) -> Ref<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rt_vec.rs:230:23 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn try_borrow(&self, index: usize) -> Result, BorrowFail> { [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] 230 | pub fn try_borrow(&self, index: usize) -> Result, BorrowFail> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rt_vec.rs:246:23 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn borrow_mut(&self, index: usize) -> 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] 246 | pub fn borrow_mut(&self, index: usize) -> RefMut<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rt_vec.rs:259:27 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn try_borrow_mut(&self, index: usize) -> Result, BorrowFail> { [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] 259 | pub fn try_borrow_mut(&self, index: usize) -> Result, BorrowFail> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rt_vec.rs:283:16 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn get(&self, index: usize) -> Option> { [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] 283 | pub fn get(&self, index: usize) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.46s [INFO] running `Command { std: "docker" "inspect" "00f61eb19c3d5976f963677162e3ba527148352006f787457d5dbf458ef075ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00f61eb19c3d5976f963677162e3ba527148352006f787457d5dbf458ef075ab", kill_on_drop: false }` [INFO] [stdout] 00f61eb19c3d5976f963677162e3ba527148352006f787457d5dbf458ef075ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e5c497e33232f95db09f2c5dc36b99d77e4078cf399320504aa30c152bc7e2f0 [INFO] running `Command { std: "docker" "start" "-a" "e5c497e33232f95db09f2c5dc36b99d77e4078cf399320504aa30c152bc7e2f0", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rt_vec.rs:217:19 [INFO] [stderr] | [INFO] [stderr] 217 | pub fn borrow(&self, index: usize) -> 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] 217 | pub fn borrow(&self, index: usize) -> Ref<'_, V> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rt_vec.rs:230:23 [INFO] [stderr] | [INFO] [stderr] 230 | pub fn try_borrow(&self, index: usize) -> Result, BorrowFail> { [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] 230 | pub fn try_borrow(&self, index: usize) -> Result, BorrowFail> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rt_vec.rs:246:23 [INFO] [stderr] | [INFO] [stderr] 246 | pub fn borrow_mut(&self, index: usize) -> 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] 246 | pub fn borrow_mut(&self, index: usize) -> RefMut<'_, V> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rt_vec.rs:259:27 [INFO] [stderr] | [INFO] [stderr] 259 | pub fn try_borrow_mut(&self, index: usize) -> Result, BorrowFail> { [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] 259 | pub fn try_borrow_mut(&self, index: usize) -> Result, BorrowFail> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rt_vec.rs:283:16 [INFO] [stderr] | [INFO] [stderr] 283 | pub fn get(&self, index: usize) -> Option> { [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] 283 | pub fn get(&self, index: usize) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `rt_vec` (lib) generated 5 warnings (run `cargo fix --lib -p rt_vec` to apply 5 suggestions) [INFO] [stderr] warning: `rt_vec` (lib test) generated 5 warnings (5 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/rt_vec-c1d4f49ce0fe1ebe) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test rt_vec::tests::borrow_mut_borrow_mut_returns_borrow_conflict_mut ... ok [INFO] [stdout] test rt_vec::tests::borrow_try_borrow_mut_returns_borrow_conflict_mut ... ok [INFO] [stdout] test rt_vec::tests::deref_and_deref_mut ... ok [INFO] [stdout] test rt_vec::tests::swap_remove ... ok [INFO] [stdout] test rt_vec::tests::try_borrow_before_insert_returns_value_not_found ... ok [INFO] [stdout] test rt_vec::tests::try_borrow_mut_before_insert_returns_value_not_found ... ok [INFO] [stdout] test rt_vec::tests::insert ... ok [INFO] [stdout] test rt_vec::tests::with_capacity_reserves_enough_capacity ... ok [INFO] [stdout] test rt_vec::tests::is_empty_returns_true_when_map_does_not_contain_items ... ok [INFO] [stdout] test rt_vec::tests::remove_insert ... ok [INFO] [stdout] test rt_vec::tests::get_mut_returns_mutable_reference_to_value ... ok [INFO] [stdout] test rt_vec::tests::borrow_mut_try_borrow_returns_borrow_conflict_imm ... ok [INFO] [stdout] test rt_vec::tests::is_empty_returns_false_when_map_contains_items ... ok [INFO] [stdout] test rt_vec::tests::borrow_before_insert_panics - should panic ... ok [INFO] [stdout] test rt_vec::tests::borrow_before_insert_panics_value_not_found - should panic ... ok [INFO] [stdout] test rt_vec::tests::borrow_mut_before_insert_panics_value_not_found - should panic ... ok [INFO] [stdout] test rt_vec::tests::read_write_fails - should panic ... ok [INFO] [stdout] test rt_vec::tests::write_read_fails - should panic ... ok [INFO] [stdout] test rt_vec::tests::borrow_mut_before_insert_panics - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests rt_vec [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/rt_vec.rs - rt_vec::RtVec::remove (line 163) ... ok [INFO] [stdout] test src/rt_vec.rs - rt_vec::RtVec::swap_remove (line 190) ... ok [INFO] [stdout] test src/lib.rs - (line 18) ... ok [INFO] [stdout] test src/rt_vec.rs - rt_vec::RtVec::new (line 46) ... ok [INFO] [stdout] test src/rt_vec.rs - rt_vec::RtVec::push (line 96) ... ok [INFO] [stdout] test src/rt_vec.rs - rt_vec::RtVec::is_empty (line 137) ... ok [INFO] [stdout] test src/rt_vec.rs - rt_vec::RtVec::with_capacity (line 62) ... ok [INFO] [stdout] test src/rt_vec.rs - rt_vec::RtVec::capacity (line 78) ... ok [INFO] [stdout] test src/rt_vec.rs - rt_vec::RtVec::insert (line 119) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.64s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e5c497e33232f95db09f2c5dc36b99d77e4078cf399320504aa30c152bc7e2f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5c497e33232f95db09f2c5dc36b99d77e4078cf399320504aa30c152bc7e2f0", kill_on_drop: false }` [INFO] [stdout] e5c497e33232f95db09f2c5dc36b99d77e4078cf399320504aa30c152bc7e2f0