[INFO] cloning repository https://github.com/a5ob7r/toyterm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/a5ob7r/toyterm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa5ob7r%2Ftoyterm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa5ob7r%2Ftoyterm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6b3f0d3c20c654cb3dc33f66ed2fa476c3886006
[INFO] checking a5ob7r/toyterm against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa5ob7r%2Ftoyterm" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/a5ob7r/toyterm
[INFO] finished tweaking git repo https://github.com/a5ob7r/toyterm
[INFO] tweaked toml for git repo https://github.com/a5ob7r/toyterm written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/a5ob7r/toyterm on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/a5ob7r/toyterm 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" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "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-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 532bcce9ad2ea2ec03bccc5b2f38cff40f1a21d5d3a728627666700552605fb2
[INFO] running `Command { std: "docker" "start" "532bcce9ad2ea2ec03bccc5b2f38cff40f1a21d5d3a728627666700552605fb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "532bcce9ad2ea2ec03bccc5b2f38cff40f1a21d5d3a728627666700552605fb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "532bcce9ad2ea2ec03bccc5b2f38cff40f1a21d5d3a728627666700552605fb2" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "532bcce9ad2ea2ec03bccc5b2f38cff40f1a21d5d3a728627666700552605fb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "532bcce9ad2ea2ec03bccc5b2f38cff40f1a21d5d3a728627666700552605fb2" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling pkg-config v0.3.24
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling x11 v2.19.1
[INFO] [stderr]     Checking nix v0.23.1
[INFO] [stderr]     Checking toyterm v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/main.rs:443:13
[INFO] [stdout]     |
[INFO] [stdout] 441 |             unistd::execve(&shell, &[hyphen], &[term])?;
[INFO] [stdout]     |             ------------------------------------------- any code following this expression is unreachable
[INFO] [stdout] 442 |
[INFO] [stdout] 443 |             Err(Box::new(Error::CantSpawn))
[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:443:13
[INFO] [stdout]     |
[INFO] [stdout] 441 |             unistd::execve(&shell, &[hyphen], &[term])?;
[INFO] [stdout]     |             ------------------------------------------- any code following this expression is unreachable
[INFO] [stdout] 442 |
[INFO] [stdout] 443 |             Err(Box::new(Error::CantSpawn))
[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 `screen`, `root`, and `cmap` are never read
[INFO] [stdout]    --> src/main.rs:199:5
[INFO] [stdout]     |
[INFO] [stdout] 197 | struct X11<T> {
[INFO] [stdout]     |        --- fields in this struct
[INFO] [stdout] 198 |     display: *mut xlib::Display,
[INFO] [stdout] 199 |     screen: raw::c_int,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 200 |     root: raw::c_ulong,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 207 |     cmap: raw::c_ulong,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `X11` has derived impls for the traits `Clone` and `Debug`, but these are 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: the type `XColor` does not permit being left uninitialized
[INFO] [stdout]    --> src/main.rs:240:34
[INFO] [stdout]     |
[INFO] [stdout] 240 |         let mut color = unsafe { mem::MaybeUninit::uninit().assume_init() };
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  this code causes undefined behavior when executed
[INFO] [stdout]     |                                  help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: integers must be initialized
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `XSetWindowAttributes` does not permit being left uninitialized
[INFO] [stdout]    --> src/main.rs:269:22
[INFO] [stdout]     |
[INFO] [stdout] 269 |             unsafe { mem::MaybeUninit::uninit().assume_init() };
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      this code causes undefined behavior when executed
[INFO] [stdout]     |                      help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: integers must be initialized
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `screen`, `root`, and `cmap` are never read
[INFO] [stdout]    --> src/main.rs:199:5
[INFO] [stdout]     |
[INFO] [stdout] 197 | struct X11<T> {
[INFO] [stdout]     |        --- fields in this struct
[INFO] [stdout] 198 |     display: *mut xlib::Display,
[INFO] [stdout] 199 |     screen: raw::c_int,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 200 |     root: raw::c_ulong,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 207 |     cmap: raw::c_ulong,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `X11` has derived impls for the traits `Clone` and `Debug`, but these are 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: the type `XColor` does not permit being left uninitialized
[INFO] [stdout]    --> src/main.rs:240:34
[INFO] [stdout]     |
[INFO] [stdout] 240 |         let mut color = unsafe { mem::MaybeUninit::uninit().assume_init() };
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  this code causes undefined behavior when executed
[INFO] [stdout]     |                                  help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: integers must be initialized
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `XSetWindowAttributes` does not permit being left uninitialized
[INFO] [stdout]    --> src/main.rs:269:22
[INFO] [stdout]     |
[INFO] [stdout] 269 |             unsafe { mem::MaybeUninit::uninit().assume_init() };
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      this code causes undefined behavior when executed
[INFO] [stdout]     |                      help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: integers must be initialized
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.68s
[INFO] running `Command { std: "docker" "inspect" "532bcce9ad2ea2ec03bccc5b2f38cff40f1a21d5d3a728627666700552605fb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "532bcce9ad2ea2ec03bccc5b2f38cff40f1a21d5d3a728627666700552605fb2", kill_on_drop: false }`
[INFO] [stdout] 532bcce9ad2ea2ec03bccc5b2f38cff40f1a21d5d3a728627666700552605fb2
