[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] testing zachross015/mixal against beta-2021-01-01 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzachross015%2Fmixal" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zachross015/mixal on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "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-4/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" "+beta-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 772cc5fb6d93c4a87cbca07ad0d402050f87e6ea0dbc2d33bdc4f87167ff1fc7 [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" "772cc5fb6d93c4a87cbca07ad0d402050f87e6ea0dbc2d33bdc4f87167ff1fc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "772cc5fb6d93c4a87cbca07ad0d402050f87e6ea0dbc2d33bdc4f87167ff1fc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "772cc5fb6d93c4a87cbca07ad0d402050f87e6ea0dbc2d33bdc4f87167ff1fc7", kill_on_drop: false }` [INFO] [stdout] 772cc5fb6d93c4a87cbca07ad0d402050f87e6ea0dbc2d33bdc4f87167ff1fc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7904d14c18bf530f2b48bb41b3d6bd4a79979eb9a525ed6cc4babe3c576cda1a [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" "7904d14c18bf530f2b48bb41b3d6bd4a79979eb9a525ed6cc4babe3c576cda1a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling 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: 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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.47s [INFO] running `Command { std: "docker" "inspect" "7904d14c18bf530f2b48bb41b3d6bd4a79979eb9a525ed6cc4babe3c576cda1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7904d14c18bf530f2b48bb41b3d6bd4a79979eb9a525ed6cc4babe3c576cda1a", kill_on_drop: false }` [INFO] [stdout] 7904d14c18bf530f2b48bb41b3d6bd4a79979eb9a525ed6cc4babe3c576cda1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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" "+beta-2021-01-01" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3bbf1c374377a7fe79ce3cb542797e741ea8b5d8123940229d3ef7774e454cb [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" "d3bbf1c374377a7fe79ce3cb542797e741ea8b5d8123940229d3ef7774e454cb", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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 test [unoptimized + debuginfo] target(s) in 1.85s [INFO] running `Command { std: "docker" "inspect" "d3bbf1c374377a7fe79ce3cb542797e741ea8b5d8123940229d3ef7774e454cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3bbf1c374377a7fe79ce3cb542797e741ea8b5d8123940229d3ef7774e454cb", kill_on_drop: false }` [INFO] [stdout] d3bbf1c374377a7fe79ce3cb542797e741ea8b5d8123940229d3ef7774e454cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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" "+beta-2021-01-01" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c3abb09281d0747ce2b10c30f7a59b862902e992a4dc746b9fd6ea171c936cc2 [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" "c3abb09281d0747ce2b10c30f7a59b862902e992a4dc746b9fd6ea171c936cc2", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/computer.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | (ri.field_value((3, 4)) as usize) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::computer::Computer` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::computer::Computer; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `address` [INFO] [stderr] --> src/word.rs:33:12 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn address(&self) -> usize { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `index` [INFO] [stderr] --> src/word.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn index(&self) -> u8 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `field` [INFO] [stderr] --> src/word.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn field(&self) -> u8 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `opcode` [INFO] [stderr] --> src/word.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn opcode(&self) -> u8 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `fetch` [INFO] [stderr] --> src/computer.rs:60:8 [INFO] [stderr] | [INFO] [stderr] 60 | fn fetch(self) -> Word { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `decode_index` [INFO] [stderr] --> src/computer.rs:64:8 [INFO] [stderr] | [INFO] [stderr] 64 | fn decode_index(&mut self, index: &u8) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `decode_field` [INFO] [stderr] --> src/computer.rs:72:8 [INFO] [stderr] | [INFO] [stderr] 72 | fn decode_field(&self, field: &u8) -> (usize, usize) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `decode` [INFO] [stderr] --> src/computer.rs:78:8 [INFO] [stderr] | [INFO] [stderr] 78 | fn decode(&mut self, instruction: &Word) -> Box { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `run` [INFO] [stderr] --> src/computer.rs:131:12 [INFO] [stderr] | [INFO] [stderr] 131 | pub fn run(&mut self) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/instruction.rs:57:13 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn new() -> $i { $i {} } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 305 | create_instruction!(NoOperation, (self, _c) {}); [INFO] [stderr] | ------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/instruction.rs:57:13 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn new() -> $i { $i {} } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 307 | create_instruction!(Halt, (self, computer) { computer.pc = 4000; }); [INFO] [stderr] | -------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/instruction.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 309 | / create_instruction!(LoadA, address: usize, field_specification: (usize, usize), negative: bool, (self, computer) { [INFO] [stderr] 310 | | let ra = &mut computer.ra; [INFO] [stderr] 311 | | let mem = &computer.memory[self.address]; [INFO] [stderr] 312 | | copy_word_fields(mem, ra, self.field_specification); [INFO] [stderr] 313 | | if self.negative { ra.positive = !ra.positive; } [INFO] [stderr] 314 | | }); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/instruction.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 316 | / create_instruction!(LoadX, address: usize, field_specification: (usize, usize), negative: bool, (self, computer) { [INFO] [stderr] 317 | | let rx = &mut computer.rx; [INFO] [stderr] 318 | | let mem = &computer.memory[self.address]; [INFO] [stderr] 319 | | copy_word_fields(mem, rx, self.field_specification); [INFO] [stderr] 320 | | if self.negative { rx.positive = !rx.positive; } [INFO] [stderr] 321 | | }); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/instruction.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 323 | / create_instruction!(LoadI, index: u8, address: usize, field_specification: (usize, usize), negative: bool, (self, computer) { [INFO] [stderr] 324 | | let mem = &computer.memory[self.address].clone(); [INFO] [stderr] 325 | | let ri = register_for_index(computer, self.index); [INFO] [stderr] 326 | | copy_word_fields_i(mem, ri, self.field_specification); [INFO] [stderr] 327 | | if self.negative { ri.positive = !ri.positive; } [INFO] [stderr] 328 | | }); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/instruction.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 334 | / create_instruction!(StoreX, address: usize, field_specification: (usize, usize), (self, computer) { [INFO] [stderr] 335 | | store_operation(&computer.rx, &mut computer.memory[self.address], self.field_specification); [INFO] [stderr] 336 | | }); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/instruction.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 348 | / create_instruction!(StoreJ, address: usize, field_specification: (usize, usize), (self, computer) { [INFO] [stderr] 349 | | store_operation(&computer.rj, &mut computer.memory[self.address], self.field_specification); [INFO] [stderr] 350 | | }); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/instruction.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 352 | / create_instruction!(StoreZ, address: usize, field_specification: (usize, usize), (self, computer) { [INFO] [stderr] 353 | | let zero = Word::default(); [INFO] [stderr] 354 | | store_operation(&zero, &mut computer.memory[self.address], self.field_specification); [INFO] [stderr] 355 | | }); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/instruction.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 363 | / create_instruction!(Sub, address: usize, field_specification: (usize, usize), (self, computer) { [INFO] [stderr] 364 | | let (value, overflow) = add_words(&computer.ra, &computer.memory[self.address].negate(), self.field_specification); [INFO] [stderr] 365 | | copy_word_fields(&value, &mut computer.ra, self.field_specification); [INFO] [stderr] 366 | | computer.overflow_flag = overflow; [INFO] [stderr] 367 | | }); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/instruction.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 369 | / create_instruction!(Mult, address: usize, field_specification: (usize, usize) , (self, computer) { [INFO] [stderr] 370 | | let (lower_value, upper_value) = multiply_words(&computer.ra, &computer.memory[self.address].negate(), self.field_specification); [INFO] [stderr] 371 | | copy_word_fields(&lower_value, &mut computer.rx, (0,5)); [INFO] [stderr] 372 | | copy_word_fields(&upper_value, &mut computer.ra, (0,5)); [INFO] [stderr] 373 | | }); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/instruction.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 375 | / create_instruction!(Div, address: usize, field_specification: (usize, usize) , (self, computer) { [INFO] [stderr] 376 | | let (dividend, remainder, overflow) = divide_words(&computer.ra, &computer.rx, &computer.memory[self.address].negate(), self.field_sp... [INFO] [stderr] 377 | | copy_word_fields(&remainder, &mut computer.rx, (0,5)); [INFO] [stderr] 378 | | copy_word_fields(÷nd, &mut computer.ra, (0,5)); [INFO] [stderr] 379 | | computer.overflow_flag = overflow; [INFO] [stderr] 380 | | }); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/instruction.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 388 | / create_instruction!(EntX, value: usize, entry_is_positive: bool, should_negate: bool, (self, computer) { [INFO] [stderr] 389 | | let mut word = Word::from_value(self.value as i64); [INFO] [stderr] 390 | | word.positive = if self.should_negate { !self.entry_is_positive } else { self.entry_is_positive }; [INFO] [stderr] 391 | | copy_word_fields(&word, &mut computer.rx, (0, 5)); [INFO] [stderr] 392 | | }); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/instruction.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 394 | / create_instruction!(EntI, index: u8, value: usize, entry_is_positive: bool, should_negate: bool, (self, computer) { [INFO] [stderr] 395 | | let mut word = Word::from_value(self.value as i64); [INFO] [stderr] 396 | | word.positive = if self.should_negate { !self.entry_is_positive } else { self.entry_is_positive }; [INFO] [stderr] 397 | | let mut ri = register_for_index(computer, self.index); [INFO] [stderr] 398 | | copy_word_fields_i(&word, &mut ri, (0,5)); [INFO] [stderr] 399 | | }); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/instruction.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 401 | / create_instruction!(IncA, value: usize, entry_is_positive: bool, should_negate: bool, (self, computer) { [INFO] [stderr] 402 | | let mut word = Word::from_value(self.value as i64); [INFO] [stderr] 403 | | word.positive = if self.should_negate { !self.entry_is_positive } else { self.entry_is_positive }; [INFO] [stderr] 404 | | let (value, overflow) = add_words(&computer.ra, &word, (0,5)); [INFO] [stderr] 405 | | copy_word_fields(&value, &mut computer.ra, (0, 5)); [INFO] [stderr] 406 | | computer.overflow_flag = overflow; [INFO] [stderr] 407 | | }); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/instruction.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn new($($v: $t),*) -> $i { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 409 | / create_instruction!(IncX, value: usize, entry_is_positive: bool, should_negate: bool, (self, computer) { [INFO] [stderr] 410 | | let mut word = Word::from_value(self.value as i64); [INFO] [stderr] 411 | | word.positive = if self.should_negate { !self.entry_is_positive } else { self.entry_is_positive }; [INFO] [stderr] 412 | | let (value, overflow) = add_words(&computer.rx, &word, (0,5)); [INFO] [stderr] 413 | | copy_word_fields(&value, &mut computer.rx, (0, 5)); [INFO] [stderr] 414 | | computer.overflow_flag = overflow; [INFO] [stderr] 415 | | }); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 26 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/mixal-a7e582ef717b68ad [INFO] [stdout] [INFO] [stdout] running 37 tests [INFO] [stdout] test tests::add_full ... ok [INFO] [stdout] test tests::copy_word_fields_full ... ok [INFO] [stdout] test tests::add_1_5 ... ok [INFO] [stdout] test tests::div_full ... ok [INFO] [stdout] test tests::add_0_3 ... ok [INFO] [stdout] test tests::copy_word_fields_single ... ok [INFO] [stdout] test tests::copy_word_fields_partial ... ok [INFO] [stdout] test tests::dec_1_1 ... ok [INFO] [stdout] test tests::add_4_5 ... ok [INFO] [stdout] test tests::mult_2_2 ... ok [INFO] [stdout] test tests::mult_full ... ok [INFO] [stdout] test tests::mult_neg ... ok [INFO] [stdout] test tests::load_a_3_5 ... ok [INFO] [stdout] test tests::load_a_2_2 ... ok [INFO] [stdout] test tests::load_i_0_3 ... ok [INFO] [stdout] test tests::load_i_3_5 ... ok [INFO] [stdout] test tests::enta_1000 ... ok [INFO] [stdout] test tests::load_a_0_3 ... ok [INFO] [stdout] test tests::load_a_full ... ok [INFO] [stdout] test tests::enta_neg_0 ... ok [INFO] [stdout] test tests::load_a_1_4 ... ok [INFO] [stdout] test tests::store_i_5_5 ... ok [INFO] [stdout] test tests::inc_1_1 ... ok [INFO] [stdout] test tests::store_a_1_5 ... ok [INFO] [stdout] test tests::store_a_5_5 ... ok [INFO] [stdout] test tests::store_a_2_3 ... ok [INFO] [stdout] test tests::store_a_0_1 ... ok [INFO] [stdout] test tests::load_i_full ... ok [INFO] [stdout] test tests::store_a_2_2 ... ok [INFO] [stdout] test tests::store_i_0_1 ... ok [INFO] [stdout] test tests::store_i_2_3 ... ok [INFO] [stdout] test tests::store_i_1_5 ... ok [INFO] [stdout] test tests::store_a_full ... ok [INFO] [stdout] test tests::store_i_full ... ok [INFO] [stdout] test tests::store_i_2_2 ... ok [INFO] [stdout] test tests::add_0_0 ... ok [INFO] [stdout] test tests::load_i_1_3 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 37 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.44s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c3abb09281d0747ce2b10c30f7a59b862902e992a4dc746b9fd6ea171c936cc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3abb09281d0747ce2b10c30f7a59b862902e992a4dc746b9fd6ea171c936cc2", kill_on_drop: false }` [INFO] [stdout] c3abb09281d0747ce2b10c30f7a59b862902e992a4dc746b9fd6ea171c936cc2