[INFO] cloning repository https://github.com/jdholdren/lc3
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jdholdren/lc3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjdholdren%2Flc3", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjdholdren%2Flc3'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bb9265de269cd174fb01e859a55ab3bbea0eddc4
[INFO] building jdholdren/lc3 against try#334963c956d25708feab489a3816ae63f639355d for pr-135216-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjdholdren%2Flc3" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jdholdren/lc3 on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/jdholdren/lc3
[INFO] finished tweaking git repo https://github.com/jdholdren/lc3
[INFO] tweaked toml for git repo https://github.com/jdholdren/lc3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/jdholdren/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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c5b56a8d085329dfa0e8f7ae4a376cb0a444297cfa4497d2c74fe3121caaa3b1
[INFO] running `Command { std: "docker" "start" "-a" "c5b56a8d085329dfa0e8f7ae4a376cb0a444297cfa4497d2c74fe3121caaa3b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c5b56a8d085329dfa0e8f7ae4a376cb0a444297cfa4497d2c74fe3121caaa3b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c5b56a8d085329dfa0e8f7ae4a376cb0a444297cfa4497d2c74fe3121caaa3b1", kill_on_drop: false }`
[INFO] [stdout] c5b56a8d085329dfa0e8f7ae4a376cb0a444297cfa4497d2c74fe3121caaa3b1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] acce85ec54cbd55ae11c5dab35275834cec4563fbd52398c8f207bd7b723ced1
[INFO] running `Command { std: "docker" "start" "-a" "acce85ec54cbd55ae11c5dab35275834cec4563fbd52398c8f207bd7b723ced1", kill_on_drop: false }`
[INFO] [stderr]    Compiling lc3 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:309:16
[INFO] [stdout]     |
[INFO] [stdout] 309 |     let sign = (i >> (bit_count - 1) & 0b1);
[INFO] [stdout]     |                ^                          ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 309 -     let sign = (i >> (bit_count - 1) & 0b1);
[INFO] [stdout] 309 +     let sign = i >> (bit_count - 1) & 0b1;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/main.rs:22:21
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn index(&self, index: Register) -> &Self::Output {
[INFO] [stdout]    |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/main.rs:28:29
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn index_mut(&mut self, index: Register) -> &mut Self::Output {
[INFO] [stdout]    |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/main.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn from(value: Flag) -> Self {
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/main.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 5  | enum Register {
[INFO] [stdout]    |      -------- variants in this enum
[INFO] [stdout] 6  |     R0 = 0,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 7  |     R1,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 8  |     R2,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 9  |     R3,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 10 |     R4,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 11 |     R5,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 12 |     R6,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 13 |     R7,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `P` and `N` are never constructed
[INFO] [stdout]   --> src/main.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | enum Flag {
[INFO] [stdout]    |      ---- variants in this enum
[INFO] [stdout] 36 |     P = 1 << 0,
[INFO] [stdout]    |     ^
[INFO] [stdout] 37 |     Z = 1 << 1,
[INFO] [stdout] 38 |     N = 1 << 2,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Flag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mem` is never read
[INFO] [stdout]   --> src/main.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 49 | struct VM {
[INFO] [stdout]    |        -- field in this struct
[INFO] [stdout] 50 |     reg: [u16; Register::COUNT as usize],
[INFO] [stdout] 51 |     mem: [u16; MAX_MEMORY],
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `step` is never used
[INFO] [stdout]   --> src/main.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | impl VM {
[INFO] [stdout]    | ------- method in this implementation
[INFO] [stdout] 72 |     // Runs one instruction to completion.
[INFO] [stdout] 73 |     fn step(&mut self) {}
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Operation` is never used
[INFO] [stdout]    --> src/main.rs:122:6
[INFO] [stdout]     |
[INFO] [stdout] 122 | enum Operation {
[INFO] [stdout]     |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_op` is never used
[INFO] [stdout]    --> src/main.rs:200:4
[INFO] [stdout]     |
[INFO] [stdout] 200 | fn parse_op(instr: u16) -> Operation {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sign_extend` is never used
[INFO] [stdout]    --> src/main.rs:308:4
[INFO] [stdout]     |
[INFO] [stdout] 308 | fn sign_extend(i: u16, bit_count: u16) -> u16 {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s
[INFO] running `Command { std: "docker" "inspect" "acce85ec54cbd55ae11c5dab35275834cec4563fbd52398c8f207bd7b723ced1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "acce85ec54cbd55ae11c5dab35275834cec4563fbd52398c8f207bd7b723ced1", kill_on_drop: false }`
[INFO] [stdout] acce85ec54cbd55ae11c5dab35275834cec4563fbd52398c8f207bd7b723ced1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 24a06270696670efc04568bf4deff0f69863645f845753446c10a99466ec3c7a
[INFO] running `Command { std: "docker" "start" "-a" "24a06270696670efc04568bf4deff0f69863645f845753446c10a99466ec3c7a", kill_on_drop: false }`
[INFO] [stderr]    Compiling lc3 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:309:16
[INFO] [stdout]     |
[INFO] [stdout] 309 |     let sign = (i >> (bit_count - 1) & 0b1);
[INFO] [stdout]     |                ^                          ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 309 -     let sign = (i >> (bit_count - 1) & 0b1);
[INFO] [stdout] 309 +     let sign = i >> (bit_count - 1) & 0b1;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/main.rs:492:9
[INFO] [stdout]     |
[INFO] [stdout] 492 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/main.rs:22:21
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn index(&self, index: Register) -> &Self::Output {
[INFO] [stdout]    |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/main.rs:28:29
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn index_mut(&mut self, index: Register) -> &mut Self::Output {
[INFO] [stdout]    |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/main.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn from(value: Flag) -> Self {
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/main.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 5  | enum Register {
[INFO] [stdout]    |      -------- variants in this enum
[INFO] [stdout] 6  |     R0 = 0,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 7  |     R1,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 8  |     R2,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 9  |     R3,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 10 |     R4,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 11 |     R5,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 12 |     R6,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 13 |     R7,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `P` and `N` are never constructed
[INFO] [stdout]   --> src/main.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | enum Flag {
[INFO] [stdout]    |      ---- variants in this enum
[INFO] [stdout] 36 |     P = 1 << 0,
[INFO] [stdout]    |     ^
[INFO] [stdout] 37 |     Z = 1 << 1,
[INFO] [stdout] 38 |     N = 1 << 2,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Flag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mem` is never read
[INFO] [stdout]   --> src/main.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 49 | struct VM {
[INFO] [stdout]    |        -- field in this struct
[INFO] [stdout] 50 |     reg: [u16; Register::COUNT as usize],
[INFO] [stdout] 51 |     mem: [u16; MAX_MEMORY],
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `step` is never used
[INFO] [stdout]   --> src/main.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | impl VM {
[INFO] [stdout]    | ------- method in this implementation
[INFO] [stdout] 72 |     // Runs one instruction to completion.
[INFO] [stdout] 73 |     fn step(&mut self) {}
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s
[INFO] running `Command { std: "docker" "inspect" "24a06270696670efc04568bf4deff0f69863645f845753446c10a99466ec3c7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24a06270696670efc04568bf4deff0f69863645f845753446c10a99466ec3c7a", kill_on_drop: false }`
[INFO] [stdout] 24a06270696670efc04568bf4deff0f69863645f845753446c10a99466ec3c7a
