[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] 97f83ca548fee870c18ad704a96eac644f3604ea [INFO] checking zachross015/mixal against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzachross015%2Fmixal" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zachross015/mixal on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-3/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" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a1a4d1f67366070a0804f499bffb5e9612e854525b54bcd9655149a2be3164c [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" "0a1a4d1f67366070a0804f499bffb5e9612e854525b54bcd9655149a2be3164c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a1a4d1f67366070a0804f499bffb5e9612e854525b54bcd9655149a2be3164c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a1a4d1f67366070a0804f499bffb5e9612e854525b54bcd9655149a2be3164c", kill_on_drop: false }` [INFO] [stdout] 0a1a4d1f67366070a0804f499bffb5e9612e854525b54bcd9655149a2be3164c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9888e5edd6267def968b86e2634cbb9d8f644d6abe85cc0d5c35be181be1c2e [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" "b9888e5edd6267def968b86e2634cbb9d8f644d6abe85cc0d5c35be181be1c2e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking cfg-if v0.1.10 [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: unused import: `std::fmt` [INFO] [stdout] --> src/computer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `less` should have an upper camel case name [INFO] [stdout] --> src/computer.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | less, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Less` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `equal` should have an upper camel case name [INFO] [stdout] --> src/computer.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | equal, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Equal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `greater` should have an upper camel case name [INFO] [stdout] --> src/computer.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | greater [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Greater` [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] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/computer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `less` should have an upper camel case name [INFO] [stdout] --> src/computer.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | less, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Less` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `equal` should have an upper camel case name [INFO] [stdout] --> src/computer.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | equal, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Equal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `greater` should have an upper camel case name [INFO] [stdout] --> src/computer.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | greater [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Greater` [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] [INFO] [stdout] warning: unused variable: `computer` [INFO] [stdout] --> src/instruction.rs:77:32 [INFO] [stdout] | [INFO] [stdout] 77 | fn execute_on(&$s, $c: &mut Computer) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_computer` [INFO] [stdout] ... [INFO] [stdout] 508 | / create_instruction!(JmpA, address: usize, operation: u8, (self, computer) { [INFO] [stdout] 509 | | }); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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: `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:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | 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:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn default() -> Computer { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch` [INFO] [stdout] --> src/computer.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | 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:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | 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:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | 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:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | 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:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | 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] 339 | 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] 341 | 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] 343 | / create_instruction!(LoadA, address: usize, field_specification: (usize, usize), negative: bool, (self, computer) { [INFO] [stdout] 344 | | let ra = &mut computer.ra; [INFO] [stdout] 345 | | let mem = &computer.memory[self.address]; [INFO] [stdout] 346 | | copy_word_fields(mem, ra, self.field_specification); [INFO] [stdout] 347 | | if self.negative { ra.positive = !ra.positive; } [INFO] [stdout] 348 | | }); [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] 350 | / create_instruction!(LoadX, address: usize, field_specification: (usize, usize), negative: bool, (self, computer) { [INFO] [stdout] 351 | | let rx = &mut computer.rx; [INFO] [stdout] 352 | | let mem = &computer.memory[self.address]; [INFO] [stdout] 353 | | copy_word_fields(mem, rx, self.field_specification); [INFO] [stdout] 354 | | if self.negative { rx.positive = !rx.positive; } [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!(LoadI, index: u8, address: usize, field_specification: (usize, usize), negative: bool, (self, computer) { [INFO] [stdout] 358 | | let mem = &computer.memory[self.address].clone(); [INFO] [stdout] 359 | | let ri = register_for_index(computer, self.index); [INFO] [stdout] 360 | | copy_word_fields_i(mem, ri, self.field_specification); [INFO] [stdout] 361 | | if self.negative { ri.positive = !ri.positive; } [INFO] [stdout] 362 | | }); [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] 364 | / create_instruction!(StoreA, address: usize, field_specification: (usize, usize), (self, computer) { [INFO] [stdout] 365 | | store_operation(&computer.ra, &mut computer.memory[self.address], self.field_specification); [INFO] [stdout] 366 | | }); [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] 368 | / create_instruction!(StoreX, address: usize, field_specification: (usize, usize), (self, computer) { [INFO] [stdout] 369 | | store_operation(&computer.rx, &mut computer.memory[self.address], self.field_specification); [INFO] [stdout] 370 | | }); [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] 372 | / create_instruction!(StoreI, index: u8, address: usize, field_specification: (usize, usize), (self, computer) { [INFO] [stdout] 373 | | let ri = register_for_index(computer, self.index); [INFO] [stdout] 374 | | let reg_clone = ri.clone(); [INFO] [stdout] 375 | | store_operation( [INFO] [stdout] ... | [INFO] [stdout] 379 | | ); [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!(StoreJ, address: usize, field_specification: (usize, usize), (self, computer) { [INFO] [stdout] 383 | | store_operation(&computer.rj, &mut computer.memory[self.address], self.field_specification); [INFO] [stdout] 384 | | }); [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] 386 | / create_instruction!(StoreZ, address: usize, field_specification: (usize, usize), (self, computer) { [INFO] [stdout] 387 | | let zero = Word::default(); [INFO] [stdout] 388 | | store_operation(&zero, &mut computer.memory[self.address], self.field_specification); [INFO] [stdout] 389 | | }); [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] 391 | / create_instruction!(Add, address: usize, field_specification: (usize, usize), (self, computer) { [INFO] [stdout] 392 | | let (value, overflow) = add_words(&computer.ra, &computer.memory[self.address], self.field_specification); [INFO] [stdout] 393 | | copy_word_fields(&value, &mut computer.ra, self.field_specification); [INFO] [stdout] 394 | | computer.overflow_flag = overflow; [INFO] [stdout] 395 | | }); [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] 397 | / create_instruction!(Sub, address: usize, field_specification: (usize, usize), (self, computer) { [INFO] [stdout] 398 | | let (value, overflow) = add_words(&computer.ra, &computer.memory[self.address].negate(), self.field_specification); [INFO] [stdout] 399 | | copy_word_fields(&value, &mut computer.ra, self.field_specification); [INFO] [stdout] 400 | | computer.overflow_flag = overflow; [INFO] [stdout] 401 | | }); [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] 403 | / create_instruction!(Mult, address: usize, field_specification: (usize, usize) , (self, computer) { [INFO] [stdout] 404 | | let (lower_value, upper_value) = multiply_words(&computer.ra, &computer.memory[self.address].negate(), self.field_specification); [INFO] [stdout] 405 | | copy_word_fields(&lower_value, &mut computer.rx, (0,5)); [INFO] [stdout] 406 | | copy_word_fields(&upper_value, &mut computer.ra, (0,5)); [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!(Div, address: usize, field_specification: (usize, usize) , (self, computer) { [INFO] [stdout] 410 | | let (dividend, remainder, overflow) = divide_words(&computer.ra, &computer.rx, &computer.memory[self.address].negate(), self.field_sp... [INFO] [stdout] 411 | | copy_word_fields(&remainder, &mut computer.rx, (0,5)); [INFO] [stdout] 412 | | copy_word_fields(÷nd, &mut computer.ra, (0,5)); [INFO] [stdout] 413 | | computer.overflow_flag = overflow; [INFO] [stdout] 414 | | }); [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] 416 | / create_instruction!(EntA, value: usize, entry_is_positive: bool, should_negate: bool, (self, computer) { [INFO] [stdout] 417 | | let mut word = Word::from_value(self.value as i64); [INFO] [stdout] 418 | | word.positive = if self.should_negate { !self.entry_is_positive } else { self.entry_is_positive }; [INFO] [stdout] 419 | | copy_word_fields(&word, &mut computer.ra, (0, 5)); [INFO] [stdout] 420 | | }); [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] 422 | / create_instruction!(EntX, value: usize, entry_is_positive: bool, should_negate: bool, (self, computer) { [INFO] [stdout] 423 | | let mut word = Word::from_value(self.value as i64); [INFO] [stdout] 424 | | word.positive = if self.should_negate { !self.entry_is_positive } else { self.entry_is_positive }; [INFO] [stdout] 425 | | copy_word_fields(&word, &mut computer.rx, (0, 5)); [INFO] [stdout] 426 | | }); [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] 428 | / create_instruction!(EntI, index: u8, value: usize, entry_is_positive: bool, should_negate: bool, (self, computer) { [INFO] [stdout] 429 | | let mut word = Word::from_value(self.value as i64); [INFO] [stdout] 430 | | word.positive = if self.should_negate { !self.entry_is_positive } else { self.entry_is_positive }; [INFO] [stdout] 431 | | let mut ri = register_for_index(computer, self.index); [INFO] [stdout] 432 | | copy_word_fields_i(&word, &mut ri, (0,5)); [INFO] [stdout] 433 | | }); [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] 435 | / create_instruction!(IncA, value: usize, entry_is_positive: bool, should_negate: bool, (self, computer) { [INFO] [stdout] 436 | | let mut word = Word::from_value(self.value as i64); [INFO] [stdout] 437 | | word.positive = if self.should_negate { !self.entry_is_positive } else { self.entry_is_positive }; [INFO] [stdout] 438 | | let (value, overflow) = add_words(&computer.ra, &word, (0,5)); [INFO] [stdout] 439 | | copy_word_fields(&value, &mut computer.ra, (0, 5)); [INFO] [stdout] 440 | | computer.overflow_flag = overflow; [INFO] [stdout] 441 | | }); [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] 443 | / create_instruction!(IncX, value: usize, entry_is_positive: bool, should_negate: bool, (self, computer) { [INFO] [stdout] 444 | | let mut word = Word::from_value(self.value as i64); [INFO] [stdout] 445 | | word.positive = if self.should_negate { !self.entry_is_positive } else { self.entry_is_positive }; [INFO] [stdout] 446 | | let (value, overflow) = add_words(&computer.rx, &word, (0,5)); [INFO] [stdout] 447 | | copy_word_fields(&value, &mut computer.rx, (0, 5)); [INFO] [stdout] 448 | | computer.overflow_flag = overflow; [INFO] [stdout] 449 | | }); [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] 451 | / create_instruction!(IncI, index: u8, value: usize, entry_is_positive: bool, should_negate: bool, (self, computer) { [INFO] [stdout] 452 | | let mut word = Word::from_value(self.value as i64); [INFO] [stdout] 453 | | word.positive = if self.should_negate { !self.entry_is_positive } else { self.entry_is_positive }; [INFO] [stdout] 454 | | let mut ri = register_for_index(computer, self.index); [INFO] [stdout] ... | [INFO] [stdout] 457 | | computer.overflow_flag = overflow; [INFO] [stdout] 458 | | }); [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] 460 | / create_instruction!(CmpA, address: usize, field_specification: (usize, usize), (self, computer) { [INFO] [stdout] 461 | | let result = compare_words(&computer.ra, &computer.memory[self.address], self.field_specification); [INFO] [stdout] 462 | | computer.comparison_flag = result; [INFO] [stdout] 463 | | }); [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] 465 | / create_instruction!(CmpX, address: usize, field_specification: (usize, usize), (self, computer) { [INFO] [stdout] 466 | | let result = compare_words(&computer.rx, &computer.memory[self.address], self.field_specification); [INFO] [stdout] 467 | | computer.comparison_flag = result; [INFO] [stdout] 468 | | }); [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] 470 | / create_instruction!(CmpI, index: u8, address: usize, field_specification: (usize, usize), (self, computer) { [INFO] [stdout] 471 | | let mem = computer.memory[self.address].clone(); [INFO] [stdout] 472 | | let ri = register_for_index(computer, self.index); [INFO] [stdout] 473 | | let result = compare_words(&ri, &mem, self.field_specification); [INFO] [stdout] 474 | | computer.comparison_flag = result; [INFO] [stdout] 475 | | }); [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] 477 | / create_instruction!(Jmp, address: usize, save_address: bool, (self, computer) { [INFO] [stdout] 478 | | if self.save_address { [INFO] [stdout] 479 | | save_jump(computer); [INFO] [stdout] 480 | | } [INFO] [stdout] 481 | | computer.pc = self.address; [INFO] [stdout] 482 | | }); [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] 484 | / create_instruction!(JmpO, address: usize, should_negate: bool, (self, computer) { [INFO] [stdout] 485 | | if computer.overflow_flag.clone() != self.should_negate { [INFO] [stdout] 486 | | save_jump(computer); [INFO] [stdout] 487 | | computer.pc = self.address; [INFO] [stdout] 488 | | } [INFO] [stdout] 489 | | computer.overflow_flag = false; [INFO] [stdout] 490 | | }); [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] 492 | / create_instruction!(JmpC, address: usize, operation: u8, (self, computer) { [INFO] [stdout] 493 | | let condition = match self.operation { [INFO] [stdout] 494 | | 4 => computer.comparison_flag == ComparisonFlag::less, [INFO] [stdout] 495 | | 5 => computer.comparison_flag == ComparisonFlag::equal, [INFO] [stdout] ... | [INFO] [stdout] 505 | | } [INFO] [stdout] 506 | | }); [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] 508 | / create_instruction!(JmpA, address: usize, operation: u8, (self, computer) { [INFO] [stdout] 509 | | }); [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: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `computer::ComparisonFlag` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/tests.rs:449:25 [INFO] [stdout] | [INFO] [stdout] 449 | println!("{:} {:}", output, should_be); [INFO] [stdout] | ^^^^^^ `computer::ComparisonFlag` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `computer::ComparisonFlag` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [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[E0277]: `computer::ComparisonFlag` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/tests.rs:449:33 [INFO] [stdout] | [INFO] [stdout] 449 | println!("{:} {:}", output, should_be); [INFO] [stdout] | ^^^^^^^^^ `computer::ComparisonFlag` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `computer::ComparisonFlag` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [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[E0277]: `computer::ComparisonFlag` doesn't implement `Debug` [INFO] [stdout] --> src/tests.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 450 | assert_eq!(output, should_be); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `computer::ComparisonFlag` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `computer::ComparisonFlag` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&computer::ComparisonFlag` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [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[E0277]: `computer::ComparisonFlag` doesn't implement `Debug` [INFO] [stdout] --> src/tests.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 450 | assert_eq!(output, should_be); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `computer::ComparisonFlag` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `computer::ComparisonFlag` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&computer::ComparisonFlag` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [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[E0277]: `computer::ComparisonFlag` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/tests.rs:459:25 [INFO] [stdout] | [INFO] [stdout] 459 | println!("{:} {:}", output, should_be); [INFO] [stdout] | ^^^^^^ `computer::ComparisonFlag` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `computer::ComparisonFlag` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [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[E0277]: `computer::ComparisonFlag` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/tests.rs:459:33 [INFO] [stdout] | [INFO] [stdout] 459 | println!("{:} {:}", output, should_be); [INFO] [stdout] | ^^^^^^^^^ `computer::ComparisonFlag` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `computer::ComparisonFlag` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [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[E0277]: `computer::ComparisonFlag` doesn't implement `Debug` [INFO] [stdout] --> src/tests.rs:460:5 [INFO] [stdout] | [INFO] [stdout] 460 | assert_eq!(output, should_be); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `computer::ComparisonFlag` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `computer::ComparisonFlag` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&computer::ComparisonFlag` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [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[E0277]: `computer::ComparisonFlag` doesn't implement `Debug` [INFO] [stdout] --> src/tests.rs:460:5 [INFO] [stdout] | [INFO] [stdout] 460 | assert_eq!(output, should_be); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `computer::ComparisonFlag` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `computer::ComparisonFlag` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&computer::ComparisonFlag` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [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[E0277]: `computer::ComparisonFlag` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/tests.rs:469:25 [INFO] [stdout] | [INFO] [stdout] 469 | println!("{:} {:}", output, should_be); [INFO] [stdout] | ^^^^^^ `computer::ComparisonFlag` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `computer::ComparisonFlag` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [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[E0277]: `computer::ComparisonFlag` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/tests.rs:469:33 [INFO] [stdout] | [INFO] [stdout] 469 | println!("{:} {:}", output, should_be); [INFO] [stdout] | ^^^^^^^^^ `computer::ComparisonFlag` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `computer::ComparisonFlag` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [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[E0277]: `computer::ComparisonFlag` doesn't implement `Debug` [INFO] [stdout] --> src/tests.rs:470:5 [INFO] [stdout] | [INFO] [stdout] 470 | assert_eq!(output, should_be); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `computer::ComparisonFlag` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `computer::ComparisonFlag` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&computer::ComparisonFlag` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [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[E0277]: `computer::ComparisonFlag` doesn't implement `Debug` [INFO] [stdout] --> src/tests.rs:470:5 [INFO] [stdout] | [INFO] [stdout] 470 | assert_eq!(output, should_be); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `computer::ComparisonFlag` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `computer::ComparisonFlag` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&computer::ComparisonFlag` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [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[E0277]: `computer::ComparisonFlag` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/tests.rs:479:25 [INFO] [stdout] | [INFO] [stdout] 479 | println!("{:} {:}", output, should_be); [INFO] [stdout] | ^^^^^^ `computer::ComparisonFlag` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `computer::ComparisonFlag` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [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[E0277]: `computer::ComparisonFlag` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/tests.rs:479:33 [INFO] [stdout] | [INFO] [stdout] 479 | println!("{:} {:}", output, should_be); [INFO] [stdout] | ^^^^^^^^^ `computer::ComparisonFlag` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `computer::ComparisonFlag` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [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[E0277]: `computer::ComparisonFlag` doesn't implement `Debug` [INFO] [stdout] --> src/tests.rs:480:5 [INFO] [stdout] | [INFO] [stdout] 480 | assert_eq!(output, should_be); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `computer::ComparisonFlag` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `computer::ComparisonFlag` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&computer::ComparisonFlag` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [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[E0277]: `computer::ComparisonFlag` doesn't implement `Debug` [INFO] [stdout] --> src/tests.rs:480:5 [INFO] [stdout] | [INFO] [stdout] 480 | assert_eq!(output, should_be); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `computer::ComparisonFlag` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `computer::ComparisonFlag` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&computer::ComparisonFlag` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [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 16 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mixal` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "b9888e5edd6267def968b86e2634cbb9d8f644d6abe85cc0d5c35be181be1c2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9888e5edd6267def968b86e2634cbb9d8f644d6abe85cc0d5c35be181be1c2e", kill_on_drop: false }` [INFO] [stdout] b9888e5edd6267def968b86e2634cbb9d8f644d6abe85cc0d5c35be181be1c2e