[INFO] updating cached repository https://github.com/yoo2001818/rust-8086 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9fbf118c5ce50759d79c48adbf643f4dc882f6ef [INFO] testing yoo2001818/rust-8086 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyoo2001818%2Frust-8086" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yoo2001818/rust-8086 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yoo2001818/rust-8086 [INFO] finished tweaking git repo https://github.com/yoo2001818/rust-8086 [INFO] tweaked toml for git repo https://github.com/yoo2001818/rust-8086 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/yoo2001818/rust-8086 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d4d3841b6836ee8ba7b3e6e6964fe0964edf38e048fee90c85a1f373d16fc63 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8d4d3841b6836ee8ba7b3e6e6964fe0964edf38e048fee90c85a1f373d16fc63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d4d3841b6836ee8ba7b3e6e6964fe0964edf38e048fee90c85a1f373d16fc63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d4d3841b6836ee8ba7b3e6e6964fe0964edf38e048fee90c85a1f373d16fc63", kill_on_drop: false }` [INFO] [stdout] 8d4d3841b6836ee8ba7b3e6e6964fe0964edf38e048fee90c85a1f373d16fc63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41914894566db1ade2fc180f2ef4c015682bd3aac442aa0249d2d58dc9126486 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "41914894566db1ade2fc180f2ef4c015682bd3aac442aa0249d2d58dc9126486", kill_on_drop: false }` [INFO] [stderr] Compiling rust-8086 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/i8086/register.rs:139:7 [INFO] [stdout] | [INFO] [stdout] 139 | _ => 0, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/i8086/register.rs:152:7 [INFO] [stdout] | [INFO] [stdout] 152 | _ => (), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ah` is never read [INFO] [stdout] --> src/i8086/op_exec.rs:637:11 [INFO] [stdout] | [INFO] [stdout] 637 | let mut ah = (cpu.register.ax >> 8) & 0xff; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:894:16 [INFO] [stdout] | [INFO] [stdout] 894 | Op::Movs(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:895:16 [INFO] [stdout] | [INFO] [stdout] 895 | Op::Cmps(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:896:16 [INFO] [stdout] | [INFO] [stdout] 896 | Op::Scas(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:897:16 [INFO] [stdout] | [INFO] [stdout] 897 | Op::Lods(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:898:16 [INFO] [stdout] | [INFO] [stdout] 898 | Op::Stos(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/i8086/op_exec.rs:1017:15 [INFO] [stdout] | [INFO] [stdout] 1017 | Op::Esc(code, operand) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operand` [INFO] [stdout] --> src/i8086/op_exec.rs:1017:21 [INFO] [stdout] | [INFO] [stdout] 1017 | Op::Esc(code, operand) => {}, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cache` [INFO] [stdout] --> src/mem/paged.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | cache: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_value` [INFO] [stdout] --> src/i8086/op.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | fn to_value(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_OF` [INFO] [stdout] --> src/i8086/op_exec.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const INT_OF: u8 = 0x4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_BR` [INFO] [stdout] --> src/i8086/op_exec.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const INT_BR: u8 = 0x5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_UD` [INFO] [stdout] --> src/i8086/op_exec.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const INT_UD: u8 = 0x6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_DF` [INFO] [stdout] --> src/i8086/op_exec.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const INT_DF: u8 = 0x8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_GP` [INFO] [stdout] --> src/i8086/op_exec.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const INT_GP: u8 = 0xd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_MF` [INFO] [stdout] --> src/i8086/op_exec.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const INT_MF: u8 = 0x10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/i8086/register.rs:139:7 [INFO] [stdout] | [INFO] [stdout] 139 | _ => 0, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/i8086/register.rs:152:7 [INFO] [stdout] | [INFO] [stdout] 152 | _ => (), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ah` is never read [INFO] [stdout] --> src/i8086/op_exec.rs:637:11 [INFO] [stdout] | [INFO] [stdout] 637 | let mut ah = (cpu.register.ax >> 8) & 0xff; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:894:16 [INFO] [stdout] | [INFO] [stdout] 894 | Op::Movs(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:895:16 [INFO] [stdout] | [INFO] [stdout] 895 | Op::Cmps(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:896:16 [INFO] [stdout] | [INFO] [stdout] 896 | Op::Scas(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:897:16 [INFO] [stdout] | [INFO] [stdout] 897 | Op::Lods(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:898:16 [INFO] [stdout] | [INFO] [stdout] 898 | Op::Stos(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/i8086/op_exec.rs:1017:15 [INFO] [stdout] | [INFO] [stdout] 1017 | Op::Esc(code, operand) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operand` [INFO] [stdout] --> src/i8086/op_exec.rs:1017:21 [INFO] [stdout] | [INFO] [stdout] 1017 | Op::Esc(code, operand) => {}, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mem/callback.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mem/paged.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cache` [INFO] [stdout] --> src/mem/paged.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | cache: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mem/paged.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new() -> PagedMemory { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_page` [INFO] [stdout] --> src/mem/paged.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn insert_page(&mut self, entry: PagedMemorySegment) -> () { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_page` [INFO] [stdout] --> src/mem/paged.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn remove_page(&mut self, start: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `jmp` [INFO] [stdout] --> src/i8086/cpu.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn jmp(&mut self, seg: u16, addr: u16) -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hlt` [INFO] [stdout] --> src/i8086/cpu.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn hlt(&mut self) -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unhlt` [INFO] [stdout] --> src/i8086/cpu.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn unhlt(&mut self) -> () { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/i8086/cpu.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn run(&mut self) -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_value` [INFO] [stdout] --> src/i8086/op.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | fn to_value(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Cmps` [INFO] [stdout] --> src/i8086/op.rs:271:3 [INFO] [stdout] | [INFO] [stdout] 271 | Cmps(OpSize), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_OF` [INFO] [stdout] --> src/i8086/op_exec.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const INT_OF: u8 = 0x4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_BR` [INFO] [stdout] --> src/i8086/op_exec.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const INT_BR: u8 = 0x5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_UD` [INFO] [stdout] --> src/i8086/op_exec.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const INT_UD: u8 = 0x6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_DF` [INFO] [stdout] --> src/i8086/op_exec.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const INT_DF: u8 = 0x8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_GP` [INFO] [stdout] --> src/i8086/op_exec.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const INT_GP: u8 = 0xd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_MF` [INFO] [stdout] --> src/i8086/op_exec.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const INT_MF: u8 = 0x10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.40s [INFO] running `Command { std: "docker" "inspect" "41914894566db1ade2fc180f2ef4c015682bd3aac442aa0249d2d58dc9126486", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41914894566db1ade2fc180f2ef4c015682bd3aac442aa0249d2d58dc9126486", kill_on_drop: false }` [INFO] [stdout] 41914894566db1ade2fc180f2ef4c015682bd3aac442aa0249d2d58dc9126486 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f427ba6d08724b04c20de4f4d6c8ec7a820ceb6dcc0166f7ddeb85bedf9692fe [INFO] running `Command { std: "docker" "start" "-a" "f427ba6d08724b04c20de4f4d6c8ec7a820ceb6dcc0166f7ddeb85bedf9692fe", kill_on_drop: false }` [INFO] [stderr] Compiling rust-8086 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/i8086/register.rs:139:7 [INFO] [stdout] | [INFO] [stdout] 139 | _ => 0, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/i8086/register.rs:152:7 [INFO] [stdout] | [INFO] [stdout] 152 | _ => (), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ah` is never read [INFO] [stdout] --> src/i8086/op_exec.rs:637:11 [INFO] [stdout] | [INFO] [stdout] 637 | let mut ah = (cpu.register.ax >> 8) & 0xff; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:894:16 [INFO] [stdout] | [INFO] [stdout] 894 | Op::Movs(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:895:16 [INFO] [stdout] | [INFO] [stdout] 895 | Op::Cmps(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:896:16 [INFO] [stdout] | [INFO] [stdout] 896 | Op::Scas(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:897:16 [INFO] [stdout] | [INFO] [stdout] 897 | Op::Lods(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:898:16 [INFO] [stdout] | [INFO] [stdout] 898 | Op::Stos(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/i8086/op_exec.rs:1017:15 [INFO] [stdout] | [INFO] [stdout] 1017 | Op::Esc(code, operand) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operand` [INFO] [stdout] --> src/i8086/op_exec.rs:1017:21 [INFO] [stdout] | [INFO] [stdout] 1017 | Op::Esc(code, operand) => {}, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cache` [INFO] [stdout] --> src/mem/paged.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | cache: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_value` [INFO] [stdout] --> src/i8086/op.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | fn to_value(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_OF` [INFO] [stdout] --> src/i8086/op_exec.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const INT_OF: u8 = 0x4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_BR` [INFO] [stdout] --> src/i8086/op_exec.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const INT_BR: u8 = 0x5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_UD` [INFO] [stdout] --> src/i8086/op_exec.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const INT_UD: u8 = 0x6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_DF` [INFO] [stdout] --> src/i8086/op_exec.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const INT_DF: u8 = 0x8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_GP` [INFO] [stdout] --> src/i8086/op_exec.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const INT_GP: u8 = 0xd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_MF` [INFO] [stdout] --> src/i8086/op_exec.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const INT_MF: u8 = 0x10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/i8086/register.rs:139:7 [INFO] [stdout] | [INFO] [stdout] 139 | _ => 0, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/i8086/register.rs:152:7 [INFO] [stdout] | [INFO] [stdout] 152 | _ => (), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ah` is never read [INFO] [stdout] --> src/i8086/op_exec.rs:637:11 [INFO] [stdout] | [INFO] [stdout] 637 | let mut ah = (cpu.register.ax >> 8) & 0xff; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:894:16 [INFO] [stdout] | [INFO] [stdout] 894 | Op::Movs(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:895:16 [INFO] [stdout] | [INFO] [stdout] 895 | Op::Cmps(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:896:16 [INFO] [stdout] | [INFO] [stdout] 896 | Op::Scas(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:897:16 [INFO] [stdout] | [INFO] [stdout] 897 | Op::Lods(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:898:16 [INFO] [stdout] | [INFO] [stdout] 898 | Op::Stos(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/i8086/op_exec.rs:1017:15 [INFO] [stdout] | [INFO] [stdout] 1017 | Op::Esc(code, operand) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operand` [INFO] [stdout] --> src/i8086/op_exec.rs:1017:21 [INFO] [stdout] | [INFO] [stdout] 1017 | Op::Esc(code, operand) => {}, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mem/callback.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mem/paged.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cache` [INFO] [stdout] --> src/mem/paged.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | cache: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mem/paged.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new() -> PagedMemory { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_page` [INFO] [stdout] --> src/mem/paged.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn insert_page(&mut self, entry: PagedMemorySegment) -> () { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_page` [INFO] [stdout] --> src/mem/paged.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn remove_page(&mut self, start: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `jmp` [INFO] [stdout] --> src/i8086/cpu.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn jmp(&mut self, seg: u16, addr: u16) -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hlt` [INFO] [stdout] --> src/i8086/cpu.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn hlt(&mut self) -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unhlt` [INFO] [stdout] --> src/i8086/cpu.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn unhlt(&mut self) -> () { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/i8086/cpu.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn run(&mut self) -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_value` [INFO] [stdout] --> src/i8086/op.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | fn to_value(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Cmps` [INFO] [stdout] --> src/i8086/op.rs:271:3 [INFO] [stdout] | [INFO] [stdout] 271 | Cmps(OpSize), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_OF` [INFO] [stdout] --> src/i8086/op_exec.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const INT_OF: u8 = 0x4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_BR` [INFO] [stdout] --> src/i8086/op_exec.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const INT_BR: u8 = 0x5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_UD` [INFO] [stdout] --> src/i8086/op_exec.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const INT_UD: u8 = 0x6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_DF` [INFO] [stdout] --> src/i8086/op_exec.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const INT_DF: u8 = 0x8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_GP` [INFO] [stdout] --> src/i8086/op_exec.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const INT_GP: u8 = 0xd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_MF` [INFO] [stdout] --> src/i8086/op_exec.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const INT_MF: u8 = 0x10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read tests/tests.com: No such file or directory (os error 2) [INFO] [stdout] --> tests/cpu.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | let test_data = include_bytes!("tests.com"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-8086`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/i8086/register.rs:139:7 [INFO] [stdout] | [INFO] [stdout] 139 | _ => 0, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/i8086/register.rs:152:7 [INFO] [stdout] | [INFO] [stdout] 152 | _ => (), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/i8086/register.rs:139:7 [INFO] [stdout] | [INFO] [stdout] 139 | _ => 0, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/i8086/register.rs:152:7 [INFO] [stdout] | [INFO] [stdout] 152 | _ => (), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ah` is never read [INFO] [stdout] --> src/i8086/op_exec.rs:637:11 [INFO] [stdout] | [INFO] [stdout] 637 | let mut ah = (cpu.register.ax >> 8) & 0xff; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ah` is never read [INFO] [stdout] --> src/i8086/op_exec.rs:637:11 [INFO] [stdout] | [INFO] [stdout] 637 | let mut ah = (cpu.register.ax >> 8) & 0xff; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:894:16 [INFO] [stdout] | [INFO] [stdout] 894 | Op::Movs(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:895:16 [INFO] [stdout] | [INFO] [stdout] 895 | Op::Cmps(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:896:16 [INFO] [stdout] | [INFO] [stdout] 896 | Op::Scas(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:897:16 [INFO] [stdout] | [INFO] [stdout] 897 | Op::Lods(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:898:16 [INFO] [stdout] | [INFO] [stdout] 898 | Op::Stos(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/i8086/op_exec.rs:1017:15 [INFO] [stdout] | [INFO] [stdout] 1017 | Op::Esc(code, operand) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operand` [INFO] [stdout] --> src/i8086/op_exec.rs:1017:21 [INFO] [stdout] | [INFO] [stdout] 1017 | Op::Esc(code, operand) => {}, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:894:16 [INFO] [stdout] | [INFO] [stdout] 894 | Op::Movs(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:895:16 [INFO] [stdout] | [INFO] [stdout] 895 | Op::Cmps(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:896:16 [INFO] [stdout] | [INFO] [stdout] 896 | Op::Scas(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:897:16 [INFO] [stdout] | [INFO] [stdout] 897 | Op::Lods(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/i8086/op_exec.rs:898:16 [INFO] [stdout] | [INFO] [stdout] 898 | Op::Stos(size) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/i8086/op_exec.rs:1017:15 [INFO] [stdout] | [INFO] [stdout] 1017 | Op::Esc(code, operand) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operand` [INFO] [stdout] --> src/i8086/op_exec.rs:1017:21 [INFO] [stdout] | [INFO] [stdout] 1017 | Op::Esc(code, operand) => {}, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mem/paged.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cache` [INFO] [stdout] --> src/mem/paged.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | cache: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_page` [INFO] [stdout] --> src/mem/paged.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn remove_page(&mut self, start: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `jmp` [INFO] [stdout] --> src/i8086/cpu.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn jmp(&mut self, seg: u16, addr: u16) -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hlt` [INFO] [stdout] --> src/i8086/cpu.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn hlt(&mut self) -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unhlt` [INFO] [stdout] --> src/i8086/cpu.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn unhlt(&mut self) -> () { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/i8086/cpu.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn run(&mut self) -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_value` [INFO] [stdout] --> src/i8086/op.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | fn to_value(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Cmps` [INFO] [stdout] --> src/i8086/op.rs:271:3 [INFO] [stdout] | [INFO] [stdout] 271 | Cmps(OpSize), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_OF` [INFO] [stdout] --> src/i8086/op_exec.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const INT_OF: u8 = 0x4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_BR` [INFO] [stdout] --> src/i8086/op_exec.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const INT_BR: u8 = 0x5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_UD` [INFO] [stdout] --> src/i8086/op_exec.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const INT_UD: u8 = 0x6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_DF` [INFO] [stdout] --> src/i8086/op_exec.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const INT_DF: u8 = 0x8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_GP` [INFO] [stdout] --> src/i8086/op_exec.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const INT_GP: u8 = 0xd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_MF` [INFO] [stdout] --> src/i8086/op_exec.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const INT_MF: u8 = 0x10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cache` [INFO] [stdout] --> src/mem/paged.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | cache: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_value` [INFO] [stdout] --> src/i8086/op.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | fn to_value(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_OF` [INFO] [stdout] --> src/i8086/op_exec.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const INT_OF: u8 = 0x4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_BR` [INFO] [stdout] --> src/i8086/op_exec.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const INT_BR: u8 = 0x5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_UD` [INFO] [stdout] --> src/i8086/op_exec.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const INT_UD: u8 = 0x6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_DF` [INFO] [stdout] --> src/i8086/op_exec.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const INT_DF: u8 = 0x8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_GP` [INFO] [stdout] --> src/i8086/op_exec.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const INT_GP: u8 = 0xd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INT_MF` [INFO] [stdout] --> src/i8086/op_exec.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const INT_MF: u8 = 0x10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f427ba6d08724b04c20de4f4d6c8ec7a820ceb6dcc0166f7ddeb85bedf9692fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f427ba6d08724b04c20de4f4d6c8ec7a820ceb6dcc0166f7ddeb85bedf9692fe", kill_on_drop: false }` [INFO] [stdout] f427ba6d08724b04c20de4f4d6c8ec7a820ceb6dcc0166f7ddeb85bedf9692fe