[INFO] cloning repository https://github.com/pdoms/lc3
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pdoms/lc3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdoms%2Flc3", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdoms%2Flc3'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 25839059ff28aa18709fab8b3529d5a587ee558e
[INFO] checking pdoms/lc3 against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdoms%2Flc3" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pdoms/lc3
[INFO] finished tweaking git repo https://github.com/pdoms/lc3
[INFO] tweaked toml for git repo https://github.com/pdoms/lc3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pdoms/lc3 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/pdoms/lc3 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] c5e418cd8e07e5f5ef69807c1bf13ab94470080ab10ae12b0c3378cb945e150c
[INFO] running `Command { std: "docker" "start" "c5e418cd8e07e5f5ef69807c1bf13ab94470080ab10ae12b0c3378cb945e150c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c5e418cd8e07e5f5ef69807c1bf13ab94470080ab10ae12b0c3378cb945e150c", 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" "c5e418cd8e07e5f5ef69807c1bf13ab94470080ab10ae12b0c3378cb945e150c" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c5e418cd8e07e5f5ef69807c1bf13ab94470080ab10ae12b0c3378cb945e150c", 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" "c5e418cd8e07e5f5ef69807c1bf13ab94470080ab10ae12b0c3378cb945e150c" "/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.164
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]     Checking termios v0.3.3
[INFO] [stderr]     Checking ctrlc v3.4.5
[INFO] [stderr]     Checking lc3 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:276:19
[INFO] [stdout]     |
[INFO] [stdout] 276 |         reg[r0] = (reg[r1] & reg[r2]);
[INFO] [stdout]     |                   ^                 ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 276 -         reg[r0] = (reg[r1] & reg[r2]);
[INFO] [stdout] 276 +         reg[r0] = reg[r1] & reg[r2];
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:276:19
[INFO] [stdout]     |
[INFO] [stdout] 276 |         reg[r0] = (reg[r1] & reg[r2]);
[INFO] [stdout]     |                   ^                 ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 276 -         reg[r0] = (reg[r1] & reg[r2]);
[INFO] [stdout] 276 +         reg[r0] = reg[r1] & reg[r2];
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ch` is never read
[INFO] [stdout]    --> src/main.rs:510:44
[INFO] [stdout]     |
[INFO] [stdout] 510 | ...                   let mut ch = ((*ptr) & 0xFF) as u8 as char;
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] 511 | ...                   ch = ((*ptr) >> 8) as u8 as char;
[INFO] [stdout]     |                       -------------------------------- `ch` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this creates a dangling pointer because temporary `MaybeUninit<fd_set>` is dropped at end of statement
[INFO] [stdout]    --> src/main.rs:386:58
[INFO] [stdout]     |
[INFO] [stdout] 386 |         let readfds: *mut fd_set = MaybeUninit::zeroed().as_mut_ptr();
[INFO] [stdout]     |                                    --------------------- ^^^^^^^^^^ pointer created here
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    this `MaybeUninit<fd_set>` is dropped at end of statement
[INFO] [stdout]     |
[INFO] [stdout]     = help: bind the `MaybeUninit<fd_set>` to a variable such that it outlives the pointer returned by `as_mut_ptr`
[INFO] [stdout]     = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]     = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]     = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this creates a dangling pointer because temporary `MaybeUninit<timeval>` is dropped at end of statement
[INFO] [stdout]    --> src/main.rs:389:59
[INFO] [stdout]     |
[INFO] [stdout] 389 |         let timeout: *mut timeval = MaybeUninit::zeroed().as_mut_ptr();
[INFO] [stdout]     |                                     --------------------- ^^^^^^^^^^ pointer created here
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     this `MaybeUninit<timeval>` is dropped at end of statement
[INFO] [stdout]     |
[INFO] [stdout]     = help: bind the `MaybeUninit<timeval>` to a variable such that it outlives the pointer returned by `as_mut_ptr`
[INFO] [stdout]     = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]     = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ch` is never read
[INFO] [stdout]    --> src/main.rs:510:44
[INFO] [stdout]     |
[INFO] [stdout] 510 | ...                   let mut ch = ((*ptr) & 0xFF) as u8 as char;
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] 511 | ...                   ch = ((*ptr) >> 8) as u8 as char;
[INFO] [stdout]     |                       -------------------------------- `ch` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this creates a dangling pointer because temporary `MaybeUninit<fd_set>` is dropped at end of statement
[INFO] [stdout]    --> src/main.rs:386:58
[INFO] [stdout]     |
[INFO] [stdout] 386 |         let readfds: *mut fd_set = MaybeUninit::zeroed().as_mut_ptr();
[INFO] [stdout]     |                                    --------------------- ^^^^^^^^^^ pointer created here
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    this `MaybeUninit<fd_set>` is dropped at end of statement
[INFO] [stdout]     |
[INFO] [stdout]     = help: bind the `MaybeUninit<fd_set>` to a variable such that it outlives the pointer returned by `as_mut_ptr`
[INFO] [stdout]     = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]     = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]     = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this creates a dangling pointer because temporary `MaybeUninit<timeval>` is dropped at end of statement
[INFO] [stdout]    --> src/main.rs:389:59
[INFO] [stdout]     |
[INFO] [stdout] 389 |         let timeout: *mut timeval = MaybeUninit::zeroed().as_mut_ptr();
[INFO] [stdout]     |                                     --------------------- ^^^^^^^^^^ pointer created here
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     this `MaybeUninit<timeval>` is dropped at end of statement
[INFO] [stdout]     |
[INFO] [stdout]     = help: bind the `MaybeUninit<timeval>` to a variable such that it outlives the pointer returned by `as_mut_ptr`
[INFO] [stdout]     = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]     = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.22s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nix v0.29.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6`
[INFO] running `Command { std: "docker" "inspect" "c5e418cd8e07e5f5ef69807c1bf13ab94470080ab10ae12b0c3378cb945e150c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c5e418cd8e07e5f5ef69807c1bf13ab94470080ab10ae12b0c3378cb945e150c", kill_on_drop: false }`
[INFO] [stdout] c5e418cd8e07e5f5ef69807c1bf13ab94470080ab10ae12b0c3378cb945e150c
