[INFO] fetching crate rent_vec 0.1.0... [INFO] testing rent_vec-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate rent_vec 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate rent_vec 0.1.0 [INFO] finished tweaking crates.io crate rent_vec 0.1.0 [INFO] tweaked toml for crates.io crate rent_vec 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rent_vec 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ee00682098363d2c488237b1d70e1fcef9143db5a5f3c239219d25dac077938 [INFO] running `Command { std: "docker" "start" "-a" "9ee00682098363d2c488237b1d70e1fcef9143db5a5f3c239219d25dac077938", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ee00682098363d2c488237b1d70e1fcef9143db5a5f3c239219d25dac077938", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ee00682098363d2c488237b1d70e1fcef9143db5a5f3c239219d25dac077938", kill_on_drop: false }` [INFO] [stdout] 9ee00682098363d2c488237b1d70e1fcef9143db5a5f3c239219d25dac077938 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ab4c680b65dbedc586b066af0b4f972dd7f67922e6a0eacf0bd4f82ea0878c4 [INFO] running `Command { std: "docker" "start" "-a" "4ab4c680b65dbedc586b066af0b4f972dd7f67922e6a0eacf0bd4f82ea0878c4", kill_on_drop: false }` [INFO] [stderr] Compiling rent_vec v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | fn write(rwl: &RwLock) -> RwLockWriteGuard { [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] 55 | fn write(rwl: &RwLock) -> RwLockWriteGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | fn read(rwl: &RwLock) -> RwLockReadGuard { [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] 62 | fn read(rwl: &RwLock) -> RwLockReadGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell` [INFO] [stdout] --> src/lib.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 114 | let item = item as *const Entry as *mut Entry; [INFO] [stdout] | ---------------------------------------- casting happened here [INFO] [stdout] 115 | *item = Entry::Empty [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get` [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rent_vec` (lib) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4ab4c680b65dbedc586b066af0b4f972dd7f67922e6a0eacf0bd4f82ea0878c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ab4c680b65dbedc586b066af0b4f972dd7f67922e6a0eacf0bd4f82ea0878c4", kill_on_drop: false }` [INFO] [stdout] 4ab4c680b65dbedc586b066af0b4f972dd7f67922e6a0eacf0bd4f82ea0878c4