[INFO] cloning repository https://github.com/bkylele/mywm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bkylele/mywm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbkylele%2Fmywm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbkylele%2Fmywm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 362c1db4aa1a86fa31da5a040d2ecdb813bf3d0f [INFO] checking bkylele/mywm against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbkylele%2Fmywm" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bkylele/mywm [INFO] finished tweaking git repo https://github.com/bkylele/mywm [INFO] tweaked toml for git repo https://github.com/bkylele/mywm written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bkylele/mywm on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bkylele/mywm 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d285489aa36f0f6250bb2fcf68de767cbdde3a0bda45133c5da15d256e5a6cb3 [INFO] running `Command { std: "docker" "start" "-a" "d285489aa36f0f6250bb2fcf68de767cbdde3a0bda45133c5da15d256e5a6cb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d285489aa36f0f6250bb2fcf68de767cbdde3a0bda45133c5da15d256e5a6cb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d285489aa36f0f6250bb2fcf68de767cbdde3a0bda45133c5da15d256e5a6cb3", kill_on_drop: false }` [INFO] [stdout] d285489aa36f0f6250bb2fcf68de767cbdde3a0bda45133c5da15d256e5a6cb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5906a6a500c4965f5599eee2138facddf54d88d529a702b7f0fc7b86982de853 [INFO] running `Command { std: "docker" "start" "-a" "5906a6a500c4965f5599eee2138facddf54d88d529a702b7f0fc7b86982de853", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking mywm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ConnectionError` [INFO] [stdout] --> src/main.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | use x11rb::errors::{ReplyError, ConnectionError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConnectionError` [INFO] [stdout] --> src/main.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | use x11rb::errors::{ReplyError, ConnectionError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 103 | / loop { [INFO] [stdout] 104 | | let event = conn.wait_for_event()?; [INFO] [stdout] 105 | | [INFO] [stdout] 106 | | match event { [INFO] [stdout] ... | [INFO] [stdout] 119 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 120 | [INFO] [stdout] 121 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 103 | / loop { [INFO] [stdout] 104 | | let event = conn.wait_for_event()?; [INFO] [stdout] 105 | | [INFO] [stdout] 106 | | match event { [INFO] [stdout] ... | [INFO] [stdout] 119 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 120 | [INFO] [stdout] 121 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `window`, `frame_window`, `x`, `y`, and `width` are never read [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct WindowState { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 16 | window: Window, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | frame_window: Window, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | x: i16, [INFO] [stdout] | ^ [INFO] [stdout] 19 | y: i16, [INFO] [stdout] | ^ [INFO] [stdout] 20 | width: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WindowState` 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: fields `screen_num` and `windows` are never read [INFO] [stdout] --> src/main.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 53 | struct WmState<'a, C: Connection> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 54 | conn: &'a C, // the lifetime of this reference must not outlive the original connection [INFO] [stdout] 55 | screen_num: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 56 | // black_gc: Gcontext, [INFO] [stdout] 57 | windows: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WmState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `window`, `frame_window`, `x`, `y`, and `width` are never read [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct WindowState { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 16 | window: Window, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | frame_window: Window, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | x: i16, [INFO] [stdout] | ^ [INFO] [stdout] 19 | y: i16, [INFO] [stdout] | ^ [INFO] [stdout] 20 | width: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WindowState` 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: fields `screen_num` and `windows` are never read [INFO] [stdout] --> src/main.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 53 | struct WmState<'a, C: Connection> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 54 | conn: &'a C, // the lifetime of this reference must not outlive the original connection [INFO] [stdout] 55 | screen_num: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 56 | // black_gc: Gcontext, [INFO] [stdout] 57 | windows: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WmState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.93s [INFO] running `Command { std: "docker" "inspect" "5906a6a500c4965f5599eee2138facddf54d88d529a702b7f0fc7b86982de853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5906a6a500c4965f5599eee2138facddf54d88d529a702b7f0fc7b86982de853", kill_on_drop: false }` [INFO] [stdout] 5906a6a500c4965f5599eee2138facddf54d88d529a702b7f0fc7b86982de853