[INFO] cloning repository https://github.com/sandbach/lift-simulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sandbach/lift-simulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandbach%2Flift-simulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandbach%2Flift-simulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 04e65595f0d6cbe23e8be948aa6d3e66e70165f8 [INFO] checking sandbach/lift-simulator against master#2a023bf80a6fbd6a06d5460a34eb247b986286ed for pr-143764 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandbach%2Flift-simulator" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sandbach/lift-simulator [INFO] finished tweaking git repo https://github.com/sandbach/lift-simulator [INFO] tweaked toml for git repo https://github.com/sandbach/lift-simulator written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sandbach/lift-simulator on toolchain 2a023bf80a6fbd6a06d5460a34eb247b986286ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sandbach/lift-simulator 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" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "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" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f14fbf5e8a376a6e1f1f8acabf34a2618e935cb85885c00e616a0ed95b6dd521 [INFO] running `Command { std: "docker" "start" "-a" "f14fbf5e8a376a6e1f1f8acabf34a2618e935cb85885c00e616a0ed95b6dd521", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f14fbf5e8a376a6e1f1f8acabf34a2618e935cb85885c00e616a0ed95b6dd521", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f14fbf5e8a376a6e1f1f8acabf34a2618e935cb85885c00e616a0ed95b6dd521", kill_on_drop: false }` [INFO] [stdout] f14fbf5e8a376a6e1f1f8acabf34a2618e935cb85885c00e616a0ed95b6dd521 [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" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6b994f1d35ddf8a00a56dac3b1d0ad3a6f75e83c2e8697c2b6db961b1f10e78 [INFO] running `Command { std: "docker" "start" "-a" "d6b994f1d35ddf8a00a56dac3b1d0ad3a6f75e83c2e8697c2b6db961b1f10e78", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Checking clap_builder v4.5.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking lru v0.12.2 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling stability v0.1.1 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking ratatui v0.25.0 [INFO] [stderr] Checking clap v4.5.0 [INFO] [stderr] Checking tui-textarea v0.4.0 [INFO] [stderr] Checking lift-simulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `title` is never read [INFO] [stdout] --> src/main.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | let mut title = String::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/main.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let mut result = false; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/building.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 144 | struct Lift { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 145 | id: RwLock, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lift` 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] --> src/main.rs:91:22 [INFO] [stdout] | [INFO] [stdout] 91 | fn new(building: &Building) -> UI { [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] 91 | fn new(building: &Building) -> UI<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/building.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn data(&self) -> Result { [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] 64 | pub fn data(&self) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `title` is never read [INFO] [stdout] --> src/main.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | let mut title = String::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/main.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let mut result = false; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/building.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 144 | struct Lift { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 145 | id: RwLock, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lift` 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] --> src/main.rs:91:22 [INFO] [stdout] | [INFO] [stdout] 91 | fn new(building: &Building) -> UI { [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] 91 | fn new(building: &Building) -> UI<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/building.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn data(&self) -> Result { [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] 64 | pub fn data(&self) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.33s [INFO] running `Command { std: "docker" "inspect" "d6b994f1d35ddf8a00a56dac3b1d0ad3a6f75e83c2e8697c2b6db961b1f10e78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6b994f1d35ddf8a00a56dac3b1d0ad3a6f75e83c2e8697c2b6db961b1f10e78", kill_on_drop: false }` [INFO] [stdout] d6b994f1d35ddf8a00a56dac3b1d0ad3a6f75e83c2e8697c2b6db961b1f10e78