[INFO] cloning repository https://github.com/zachross015/mixal [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zachross015/mixal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzachross015%2Fmixal", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzachross015%2Fmixal'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 72cd3cd66960fd070fb987fb4ca25aea57c715ed [INFO] checking zachross015/mixal against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzachross015%2Fmixal" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zachross015/mixal on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zachross015/mixal [INFO] finished tweaking git repo https://github.com/zachross015/mixal [INFO] tweaked toml for git repo https://github.com/zachross015/mixal written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/zachross015/mixal already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2601b03cf816d8d57f8593f610877fd484f698de300390ab5c55750039eb380f [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" "2601b03cf816d8d57f8593f610877fd484f698de300390ab5c55750039eb380f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2601b03cf816d8d57f8593f610877fd484f698de300390ab5c55750039eb380f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2601b03cf816d8d57f8593f610877fd484f698de300390ab5c55750039eb380f", kill_on_drop: false }` [INFO] [stdout] 2601b03cf816d8d57f8593f610877fd484f698de300390ab5c55750039eb380f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ad1886a7df3160036156e285402ec85b10f9b84c9ff1d4d6722db9322f50abe [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" "5ad1886a7df3160036156e285402ec85b10f9b84c9ff1d4d6722db9322f50abe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mixal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/computer.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | (ri.field_value((3, 4)) as usize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::computer::Computer` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::computer::Computer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/computer.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | (ri.field_value((3, 4)) as usize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::computer::Computer` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::computer::Computer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `address` [INFO] [stdout] --> src/word.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn address(&self) -> 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: `index` [INFO] [stdout] --> src/word.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn index(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `field` [INFO] [stdout] --> src/word.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn field(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `opcode` [INFO] [stdout] --> src/word.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn opcode(&self) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/computer.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(mem: [Word; 4000], start: usize) -> Computer { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `default` [INFO] [stdout] --> src/computer.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn default() -> Computer { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch` [INFO] [stdout] --> src/computer.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn fetch(self) -> Word { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode_index` [INFO] [stdout] --> src/computer.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn decode_index(&mut self, index: &u8) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode_field` [INFO] [stdout] --> src/computer.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn decode_field(&self, field: &u8) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode` [INFO] [stdout] --> src/computer.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn decode(&mut self, instruction: &Word) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/computer.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new() -> $i { $i {} } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | create_instruction!(NoOperation, (self, _c) {}); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new() -> $i { $i {} } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | create_instruction!(Halt, (self, computer) { computer.pc = 4000; }); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | / create_instruction!(LoadA, address: usize, field_specification: (usize, usize), negative: bool, (self, computer) { [INFO] [stdout] 310 | | let ra = &mut computer.ra; [INFO] [stdout] 311 | | let mem = &computer.memory[self.address]; [INFO] [stdout] 312 | | copy_word_fields(mem, ra, self.field_specification); [INFO] [stdout] 313 | | if self.negative { ra.positive = !ra.positive; } [INFO] [stdout] 314 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | / create_instruction!(LoadX, address: usize, field_specification: (usize, usize), negative: bool, (self, computer) { [INFO] [stdout] 317 | | let rx = &mut computer.rx; [INFO] [stdout] 318 | | let mem = &computer.memory[self.address]; [INFO] [stdout] 319 | | copy_word_fields(mem, rx, self.field_specification); [INFO] [stdout] 320 | | if self.negative { rx.positive = !rx.positive; } [INFO] [stdout] 321 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | / create_instruction!(LoadI, index: u8, address: usize, field_specification: (usize, usize), negative: bool, (self, computer) { [INFO] [stdout] 324 | | let mem = &computer.memory[self.address].clone(); [INFO] [stdout] 325 | | let ri = register_for_index(computer, self.index); [INFO] [stdout] 326 | | copy_word_fields_i(mem, ri, self.field_specification); [INFO] [stdout] 327 | | if self.negative { ri.positive = !ri.positive; } [INFO] [stdout] 328 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | / create_instruction!(StoreA, address: usize, field_specification: (usize, usize), (self, computer) { [INFO] [stdout] 331 | | store_operation(&computer.ra, &mut computer.memory[self.address], self.field_specification); [INFO] [stdout] 332 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | / create_instruction!(StoreX, address: usize, field_specification: (usize, usize), (self, computer) { [INFO] [stdout] 335 | | store_operation(&computer.rx, &mut computer.memory[self.address], self.field_specification); [INFO] [stdout] 336 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | / create_instruction!(StoreI, index: u8, address: usize, field_specification: (usize, usize), (self, computer) { [INFO] [stdout] 339 | | let ri = register_for_index(computer, self.index); [INFO] [stdout] 340 | | let reg_clone = ri.clone(); [INFO] [stdout] 341 | | store_operation( [INFO] [stdout] ... | [INFO] [stdout] 345 | | ); [INFO] [stdout] 346 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 348 | / create_instruction!(StoreJ, address: usize, field_specification: (usize, usize), (self, computer) { [INFO] [stdout] 349 | | store_operation(&computer.rj, &mut computer.memory[self.address], self.field_specification); [INFO] [stdout] 350 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 352 | / create_instruction!(StoreZ, address: usize, field_specification: (usize, usize), (self, computer) { [INFO] [stdout] 353 | | let zero = Word::default(); [INFO] [stdout] 354 | | store_operation(&zero, &mut computer.memory[self.address], self.field_specification); [INFO] [stdout] 355 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | / create_instruction!(Add, address: usize, field_specification: (usize, usize), (self, computer) { [INFO] [stdout] 358 | | let (value, overflow) = add_words(&computer.ra, &computer.memory[self.address], self.field_specification); [INFO] [stdout] 359 | | copy_word_fields(&value, &mut computer.ra, self.field_specification); [INFO] [stdout] 360 | | computer.overflow_flag = overflow; [INFO] [stdout] 361 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | / create_instruction!(Sub, address: usize, field_specification: (usize, usize), (self, computer) { [INFO] [stdout] 364 | | let (value, overflow) = add_words(&computer.ra, &computer.memory[self.address].negate(), self.field_specification); [INFO] [stdout] 365 | | copy_word_fields(&value, &mut computer.ra, self.field_specification); [INFO] [stdout] 366 | | computer.overflow_flag = overflow; [INFO] [stdout] 367 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | / create_instruction!(Mult, address: usize, field_specification: (usize, usize) , (self, computer) { [INFO] [stdout] 370 | | let (lower_value, upper_value) = multiply_words(&computer.ra, &computer.memory[self.address].negate(), self.field_specification); [INFO] [stdout] 371 | | copy_word_fields(&lower_value, &mut computer.rx, (0,5)); [INFO] [stdout] 372 | | copy_word_fields(&upper_value, &mut computer.ra, (0,5)); [INFO] [stdout] 373 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | / create_instruction!(Div, address: usize, field_specification: (usize, usize) , (self, computer) { [INFO] [stdout] 376 | | let (dividend, remainder, overflow) = divide_words(&computer.ra, &computer.rx, &computer.memory[self.address].negate(), self.field_sp... [INFO] [stdout] 377 | | copy_word_fields(&remainder, &mut computer.rx, (0,5)); [INFO] [stdout] 378 | | copy_word_fields(÷nd, &mut computer.ra, (0,5)); [INFO] [stdout] 379 | | computer.overflow_flag = overflow; [INFO] [stdout] 380 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | / create_instruction!(EntA, value: usize, entry_is_positive: bool, should_negate: bool, (self, computer) { [INFO] [stdout] 383 | | let mut word = Word::from_value(self.value as i64); [INFO] [stdout] 384 | | word.positive = if self.should_negate { !self.entry_is_positive } else { self.entry_is_positive }; [INFO] [stdout] 385 | | copy_word_fields(&word, &mut computer.ra, (0, 5)); [INFO] [stdout] 386 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | / create_instruction!(EntX, value: usize, entry_is_positive: bool, should_negate: bool, (self, computer) { [INFO] [stdout] 389 | | let mut word = Word::from_value(self.value as i64); [INFO] [stdout] 390 | | word.positive = if self.should_negate { !self.entry_is_positive } else { self.entry_is_positive }; [INFO] [stdout] 391 | | copy_word_fields(&word, &mut computer.rx, (0, 5)); [INFO] [stdout] 392 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 394 | / create_instruction!(EntI, index: u8, value: usize, entry_is_positive: bool, should_negate: bool, (self, computer) { [INFO] [stdout] 395 | | let mut word = Word::from_value(self.value as i64); [INFO] [stdout] 396 | | word.positive = if self.should_negate { !self.entry_is_positive } else { self.entry_is_positive }; [INFO] [stdout] 397 | | let mut ri = register_for_index(computer, self.index); [INFO] [stdout] 398 | | copy_word_fields_i(&word, &mut ri, (0,5)); [INFO] [stdout] 399 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 401 | / create_instruction!(IncA, value: usize, entry_is_positive: bool, should_negate: bool, (self, computer) { [INFO] [stdout] 402 | | let mut word = Word::from_value(self.value as i64); [INFO] [stdout] 403 | | word.positive = if self.should_negate { !self.entry_is_positive } else { self.entry_is_positive }; [INFO] [stdout] 404 | | let (value, overflow) = add_words(&computer.ra, &word, (0,5)); [INFO] [stdout] 405 | | copy_word_fields(&value, &mut computer.ra, (0, 5)); [INFO] [stdout] 406 | | computer.overflow_flag = overflow; [INFO] [stdout] 407 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 409 | / create_instruction!(IncX, value: usize, entry_is_positive: bool, should_negate: bool, (self, computer) { [INFO] [stdout] 410 | | let mut word = Word::from_value(self.value as i64); [INFO] [stdout] 411 | | word.positive = if self.should_negate { !self.entry_is_positive } else { self.entry_is_positive }; [INFO] [stdout] 412 | | let (value, overflow) = add_words(&computer.rx, &word, (0,5)); [INFO] [stdout] 413 | | copy_word_fields(&value, &mut computer.rx, (0, 5)); [INFO] [stdout] 414 | | computer.overflow_flag = overflow; [INFO] [stdout] 415 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 417 | / create_instruction!(IncI, index: u8, value: usize, entry_is_positive: bool, should_negate: bool, (self, computer) { [INFO] [stdout] 418 | | let mut word = Word::from_value(self.value as i64); [INFO] [stdout] 419 | | word.positive = if self.should_negate { !self.entry_is_positive } else { self.entry_is_positive }; [INFO] [stdout] 420 | | let mut ri = register_for_index(computer, self.index); [INFO] [stdout] ... | [INFO] [stdout] 423 | | computer.overflow_flag = overflow; [INFO] [stdout] 424 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `address` [INFO] [stdout] --> src/word.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn address(&self) -> 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: `index` [INFO] [stdout] --> src/word.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn index(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `field` [INFO] [stdout] --> src/word.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn field(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `opcode` [INFO] [stdout] --> src/word.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn opcode(&self) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch` [INFO] [stdout] --> src/computer.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn fetch(self) -> Word { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode_index` [INFO] [stdout] --> src/computer.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn decode_index(&mut self, index: &u8) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode_field` [INFO] [stdout] --> src/computer.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn decode_field(&self, field: &u8) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode` [INFO] [stdout] --> src/computer.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn decode(&mut self, instruction: &Word) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/computer.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new() -> $i { $i {} } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | create_instruction!(NoOperation, (self, _c) {}); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new() -> $i { $i {} } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | create_instruction!(Halt, (self, computer) { computer.pc = 4000; }); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | / create_instruction!(LoadA, address: usize, field_specification: (usize, usize), negative: bool, (self, computer) { [INFO] [stdout] 310 | | let ra = &mut computer.ra; [INFO] [stdout] 311 | | let mem = &computer.memory[self.address]; [INFO] [stdout] 312 | | copy_word_fields(mem, ra, self.field_specification); [INFO] [stdout] 313 | | if self.negative { ra.positive = !ra.positive; } [INFO] [stdout] 314 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | / create_instruction!(LoadX, address: usize, field_specification: (usize, usize), negative: bool, (self, computer) { [INFO] [stdout] 317 | | let rx = &mut computer.rx; [INFO] [stdout] 318 | | let mem = &computer.memory[self.address]; [INFO] [stdout] 319 | | copy_word_fields(mem, rx, self.field_specification); [INFO] [stdout] 320 | | if self.negative { rx.positive = !rx.positive; } [INFO] [stdout] 321 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | / create_instruction!(LoadI, index: u8, address: usize, field_specification: (usize, usize), negative: bool, (self, computer) { [INFO] [stdout] 324 | | let mem = &computer.memory[self.address].clone(); [INFO] [stdout] 325 | | let ri = register_for_index(computer, self.index); [INFO] [stdout] 326 | | copy_word_fields_i(mem, ri, self.field_specification); [INFO] [stdout] 327 | | if self.negative { ri.positive = !ri.positive; } [INFO] [stdout] 328 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | / create_instruction!(StoreX, address: usize, field_specification: (usize, usize), (self, computer) { [INFO] [stdout] 335 | | store_operation(&computer.rx, &mut computer.memory[self.address], self.field_specification); [INFO] [stdout] 336 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 348 | / create_instruction!(StoreJ, address: usize, field_specification: (usize, usize), (self, computer) { [INFO] [stdout] 349 | | store_operation(&computer.rj, &mut computer.memory[self.address], self.field_specification); [INFO] [stdout] 350 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 352 | / create_instruction!(StoreZ, address: usize, field_specification: (usize, usize), (self, computer) { [INFO] [stdout] 353 | | let zero = Word::default(); [INFO] [stdout] 354 | | store_operation(&zero, &mut computer.memory[self.address], self.field_specification); [INFO] [stdout] 355 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | / create_instruction!(Sub, address: usize, field_specification: (usize, usize), (self, computer) { [INFO] [stdout] 364 | | let (value, overflow) = add_words(&computer.ra, &computer.memory[self.address].negate(), self.field_specification); [INFO] [stdout] 365 | | copy_word_fields(&value, &mut computer.ra, self.field_specification); [INFO] [stdout] 366 | | computer.overflow_flag = overflow; [INFO] [stdout] 367 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | / create_instruction!(Mult, address: usize, field_specification: (usize, usize) , (self, computer) { [INFO] [stdout] 370 | | let (lower_value, upper_value) = multiply_words(&computer.ra, &computer.memory[self.address].negate(), self.field_specification); [INFO] [stdout] 371 | | copy_word_fields(&lower_value, &mut computer.rx, (0,5)); [INFO] [stdout] 372 | | copy_word_fields(&upper_value, &mut computer.ra, (0,5)); [INFO] [stdout] 373 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | / create_instruction!(Div, address: usize, field_specification: (usize, usize) , (self, computer) { [INFO] [stdout] 376 | | let (dividend, remainder, overflow) = divide_words(&computer.ra, &computer.rx, &computer.memory[self.address].negate(), self.field_sp... [INFO] [stdout] 377 | | copy_word_fields(&remainder, &mut computer.rx, (0,5)); [INFO] [stdout] 378 | | copy_word_fields(÷nd, &mut computer.ra, (0,5)); [INFO] [stdout] 379 | | computer.overflow_flag = overflow; [INFO] [stdout] 380 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | / create_instruction!(EntX, value: usize, entry_is_positive: bool, should_negate: bool, (self, computer) { [INFO] [stdout] 389 | | let mut word = Word::from_value(self.value as i64); [INFO] [stdout] 390 | | word.positive = if self.should_negate { !self.entry_is_positive } else { self.entry_is_positive }; [INFO] [stdout] 391 | | copy_word_fields(&word, &mut computer.rx, (0, 5)); [INFO] [stdout] 392 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 394 | / create_instruction!(EntI, index: u8, value: usize, entry_is_positive: bool, should_negate: bool, (self, computer) { [INFO] [stdout] 395 | | let mut word = Word::from_value(self.value as i64); [INFO] [stdout] 396 | | word.positive = if self.should_negate { !self.entry_is_positive } else { self.entry_is_positive }; [INFO] [stdout] 397 | | let mut ri = register_for_index(computer, self.index); [INFO] [stdout] 398 | | copy_word_fields_i(&word, &mut ri, (0,5)); [INFO] [stdout] 399 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 401 | / create_instruction!(IncA, value: usize, entry_is_positive: bool, should_negate: bool, (self, computer) { [INFO] [stdout] 402 | | let mut word = Word::from_value(self.value as i64); [INFO] [stdout] 403 | | word.positive = if self.should_negate { !self.entry_is_positive } else { self.entry_is_positive }; [INFO] [stdout] 404 | | let (value, overflow) = add_words(&computer.ra, &word, (0,5)); [INFO] [stdout] 405 | | copy_word_fields(&value, &mut computer.ra, (0, 5)); [INFO] [stdout] 406 | | computer.overflow_flag = overflow; [INFO] [stdout] 407 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/instruction.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 409 | / create_instruction!(IncX, value: usize, entry_is_positive: bool, should_negate: bool, (self, computer) { [INFO] [stdout] 410 | | let mut word = Word::from_value(self.value as i64); [INFO] [stdout] 411 | | word.positive = if self.should_negate { !self.entry_is_positive } else { self.entry_is_positive }; [INFO] [stdout] 412 | | let (value, overflow) = add_words(&computer.rx, &word, (0,5)); [INFO] [stdout] 413 | | copy_word_fields(&value, &mut computer.rx, (0, 5)); [INFO] [stdout] 414 | | computer.overflow_flag = overflow; [INFO] [stdout] 415 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.70s [INFO] running `Command { std: "docker" "inspect" "5ad1886a7df3160036156e285402ec85b10f9b84c9ff1d4d6722db9322f50abe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ad1886a7df3160036156e285402ec85b10f9b84c9ff1d4d6722db9322f50abe", kill_on_drop: false }` [INFO] [stdout] 5ad1886a7df3160036156e285402ec85b10f9b84c9ff1d4d6722db9322f50abe