[INFO] cloning repository https://github.com/xiongmao86/mmix-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xiongmao86/mmix-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiongmao86%2Fmmix-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiongmao86%2Fmmix-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 91df132fad6ba08a7288317a3a8c06bbcadcd781 [INFO] checking xiongmao86/mmix-rust against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiongmao86%2Fmmix-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xiongmao86/mmix-rust on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xiongmao86/mmix-rust [INFO] finished tweaking git repo https://github.com/xiongmao86/mmix-rust [INFO] tweaked toml for git repo https://github.com/xiongmao86/mmix-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/xiongmao86/mmix-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e6641d7f5c0f825c83df31d81f0760c0fbec50fe718d57e5e9bd402d1e4ac2e [INFO] running `Command { std: "docker" "start" "-a" "4e6641d7f5c0f825c83df31d81f0760c0fbec50fe718d57e5e9bd402d1e4ac2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e6641d7f5c0f825c83df31d81f0760c0fbec50fe718d57e5e9bd402d1e4ac2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e6641d7f5c0f825c83df31d81f0760c0fbec50fe718d57e5e9bd402d1e4ac2e", kill_on_drop: false }` [INFO] [stdout] 4e6641d7f5c0f825c83df31d81f0760c0fbec50fe718d57e5e9bd402d1e4ac2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fee30a313baaa2f70f5ff5e9f74be8f0493485ac7c4d54eb076b44661f02ce9 [INFO] running `Command { std: "docker" "start" "-a" "4fee30a313baaa2f70f5ff5e9f74be8f0493485ac7c4d54eb076b44661f02ce9", kill_on_drop: false }` [INFO] [stderr] Checking mmix v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashMemory` [INFO] [stdout] --> src/machine/mod.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use memory::{ Memory, HashMemory }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `associated_type_bounds` has been stable since 1.79.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(associated_type_bounds)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMemory` [INFO] [stdout] --> src/machine/mod.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use memory::{ Memory, HashMemory }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMemory` is imported redundantly [INFO] [stdout] --> src/machine/mod.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 361 | use super::memory::HashMemory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 362 | use super::*; [INFO] [stdout] | -------- the item `HashMemory` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `associated_type_bounds` has been stable since 1.79.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(associated_type_bounds)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `rR` is named the same as one of the variants of the type `machine::SpecialRegister` [INFO] [stdout] --> src/machine/mod.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | rR => 6, [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `machine::SpecialRegister::rR` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/machine/mod.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | rR => 6, [INFO] [stdout] | -- matches any value [INFO] [stdout] 36 | other => panic!("{:?} index not added.", other) [INFO] [stdout] | ^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rR` [INFO] [stdout] --> src/machine/mod.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | rR => 6, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rR` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/machine/mod.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | struct Register(u64); [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Register` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | struct Register(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `set` are never used [INFO] [stdout] --> src/machine/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Register { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 17 | fn get(&self) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn set(&mut self, data: u64) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SpecialRegister` is never used [INFO] [stdout] --> src/machine/mod.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | enum SpecialRegister { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_index` is never used [INFO] [stdout] --> src/machine/mod.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn to_index(sr: SpecialRegister) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `execute`, `greg`, `spreg`, and `dummy_inst` are never used [INFO] [stdout] --> src/machine/mod.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl Machine where T: Memory { [INFO] [stdout] | ---------------------------------- associated items in this implementation [INFO] [stdout] 57 | fn new(memory: T) -> Machine { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn execute(&mut self, inst: u32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn greg(&mut self, index: u8) -> &mut Register { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn spreg(&mut self, sr_name: SpecialRegister) -> &mut Register { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn dummy_inst(&mut self, ops: u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/machine/mod.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 161 | impl Machine where T: Memory { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] 162 | load_method!(ldb, load_byte, i8); [INFO] [stdout] | ^^^ [INFO] [stdout] 163 | load_method!(ldw, load_wyde, i16); [INFO] [stdout] | ^^^ [INFO] [stdout] 164 | load_method!(ldt, load_tetra, i32); [INFO] [stdout] | ^^^ [INFO] [stdout] 165 | load_method!(ldo, load_octa, i64); [INFO] [stdout] | ^^^ [INFO] [stdout] 166 | [INFO] [stdout] 167 | fn ldht(&mut self, inst: u32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | unsigned_load_method!(ldbu, load_byte); [INFO] [stdout] | ^^^^ [INFO] [stdout] 175 | unsigned_load_method!(ldwu, load_wyde); [INFO] [stdout] | ^^^^ [INFO] [stdout] 176 | unsigned_load_method!(ldtu, load_tetra); [INFO] [stdout] | ^^^^ [INFO] [stdout] 177 | unsigned_load_method!(ldou, load_octa); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `load_method` which comes from the expansion of the macro `unsigned_load_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/machine/mod.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 192 | impl Machine where T: Memory { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] 193 | store_method!(stb, u8, store_byte); [INFO] [stdout] | ^^^ [INFO] [stdout] 194 | store_method!(stw, u16, store_wyde); [INFO] [stdout] | ^^^ [INFO] [stdout] 195 | store_method!(stt, u32, store_tetra); [INFO] [stdout] | ^^^ [INFO] [stdout] 196 | store_method!(sto, u64, store_octa); [INFO] [stdout] | ^^^ [INFO] [stdout] 197 | [INFO] [stdout] 198 | alias_inst!(stbu, stb); [INFO] [stdout] | ^^^^ [INFO] [stdout] 199 | alias_inst!(stwu, stw); [INFO] [stdout] | ^^^^ [INFO] [stdout] 200 | alias_inst!(sttu, stt); [INFO] [stdout] | ^^^^ [INFO] [stdout] 201 | alias_inst!(stou, sto); [INFO] [stdout] | ^^^^ [INFO] [stdout] 202 | [INFO] [stdout] 203 | fn stht(&mut self, inst: u32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | fn stco(&mut self, inst: u32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `store_method` which comes from the expansion of the macro `alias_inst` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add`, `sub`, `mul`, and `div` are never used [INFO] [stdout] --> src/machine/mod.rs:231:24 [INFO] [stdout] | [INFO] [stdout] 230 | impl Machine where T: Memory { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] 231 | signed_arith_inst!(add, add); [INFO] [stdout] | ^^^ [INFO] [stdout] 232 | signed_arith_inst!(sub, sub); [INFO] [stdout] | ^^^ [INFO] [stdout] 233 | signed_arith_inst!(mul, mul); [INFO] [stdout] | ^^^ [INFO] [stdout] 234 | [INFO] [stdout] 235 | fn div(&mut self, inst: u32) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `signed_arith_inst` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/machine/mod.rs:282:26 [INFO] [stdout] | [INFO] [stdout] 281 | impl Machine where T: Memory { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] 282 | unsigned_arith_inst!(addu, add); [INFO] [stdout] | ^^^^ [INFO] [stdout] 283 | unsigned_arith_inst!(subu, sub); [INFO] [stdout] | ^^^^ [INFO] [stdout] 284 | [INFO] [stdout] 285 | fn mulu(&mut self, inst: u32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | fn divu(&mut self, inst: u32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | naddu_inst!(two_addu, 2); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 321 | naddu_inst!(four_addu, 4); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 322 | naddu_inst!(eight_addu, 8); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 323 | naddu_inst!(sixteen_addu, 16); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 324 | [INFO] [stdout] 325 | fn neg(&mut self, inst: u32) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | fn negu(&mut self, inst: u32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unsigned_arith_inst` which comes from the expansion of the macro `naddu_inst` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `one_operand` is never used [INFO] [stdout] --> src/machine/mod.rs:342:4 [INFO] [stdout] | [INFO] [stdout] 342 | fn one_operand(inst: u32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two_operands` is never used [INFO] [stdout] --> src/machine/mod.rs:346:4 [INFO] [stdout] | [INFO] [stdout] 346 | fn two_operands(inst: u32) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `three_operands` is never used [INFO] [stdout] --> src/machine/mod.rs:352:4 [INFO] [stdout] | [INFO] [stdout] 352 | fn three_operands(inst: u32) -> (u8, u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/machine/memory.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | fn load_byte(&self, address: u64) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn store_byte(&mut self, address: u64, data: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub trait Memory { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 63 | fn get(&self, index: u64) -> u8; [INFO] [stdout] | ^^^ [INFO] [stdout] 64 | fn set(&mut self, index: u64, data: u8); [INFO] [stdout] | ^^^ [INFO] [stdout] 65 | [INFO] [stdout] 66 | fn index(&self, address: u64, byte_count: u64) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | create_load_fn!(load_byte, u8, 1); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] 71 | create_load_fn!(load_wyde, u16, 2); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 72 | create_load_fn!(load_tetra, u32, 4); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 73 | create_load_fn!(load_octa, u64, 8); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 74 | [INFO] [stdout] 75 | create_store_fn!(store_byte, u8, 1); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] 76 | create_store_fn!(store_wyde, u16, 2); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 77 | create_store_fn!(store_tetra, u32, 4); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 78 | create_store_fn!(store_octa, u64, 8); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_load_fn` which comes from the expansion of the macro `create_store_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rR` should have a snake case name [INFO] [stdout] --> src/machine/mod.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | rR => 6, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `r_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mmix` (bin "mmix") due to 2 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0170]: pattern binding `rR` is named the same as one of the variants of the type `machine::SpecialRegister` [INFO] [stdout] --> src/machine/mod.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | rR => 6, [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `machine::SpecialRegister::rR` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/machine/mod.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | rR => 6, [INFO] [stdout] | -- matches any value [INFO] [stdout] 36 | other => panic!("{:?} index not added.", other) [INFO] [stdout] | ^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rR` [INFO] [stdout] --> src/machine/mod.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | rR => 6, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rR` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/machine/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | enum SpecialRegister { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 29 | rA, rB, rC, rD, rE, rF, rG, rH, rI, rJ, rK, rL, rM, rN, rO, rP, rQ, rR, rS, rT, rU, rV, rW, rX, rY, rZ, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 30 | rBB, rTT, rWW, rXX, rYY, rZZ [INFO] [stdout] | ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpecialRegister` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `one_operand` is never used [INFO] [stdout] --> src/machine/mod.rs:342:4 [INFO] [stdout] | [INFO] [stdout] 342 | fn one_operand(inst: u32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two_operands` is never used [INFO] [stdout] --> src/machine/mod.rs:346:4 [INFO] [stdout] | [INFO] [stdout] 346 | fn two_operands(inst: u32) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rR` should have a snake case name [INFO] [stdout] --> src/machine/mod.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | rR => 6, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `r_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mmix` (bin "mmix" test) due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4fee30a313baaa2f70f5ff5e9f74be8f0493485ac7c4d54eb076b44661f02ce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fee30a313baaa2f70f5ff5e9f74be8f0493485ac7c4d54eb076b44661f02ce9", kill_on_drop: false }` [INFO] [stdout] 4fee30a313baaa2f70f5ff5e9f74be8f0493485ac7c4d54eb076b44661f02ce9