[INFO] cloning repository https://github.com/WarpspeedSCP/rusty-sic-xe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WarpspeedSCP/rusty-sic-xe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWarpspeedSCP%2Frusty-sic-xe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWarpspeedSCP%2Frusty-sic-xe'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a0c6aed0b24302706f0a15428a314d3a84d033f [INFO] checking WarpspeedSCP/rusty-sic-xe against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWarpspeedSCP%2Frusty-sic-xe" "/workspace/builds/worker-66/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-66/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WarpspeedSCP/rusty-sic-xe on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/WarpspeedSCP/rusty-sic-xe [INFO] finished tweaking git repo https://github.com/WarpspeedSCP/rusty-sic-xe [INFO] tweaked toml for git repo https://github.com/WarpspeedSCP/rusty-sic-xe written to /workspace/builds/worker-66/source/Cargo.toml [INFO] crate git repo https://github.com/WarpspeedSCP/rusty-sic-xe already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-66/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5df605202998a85d5d01c5ed23234ead031c07282ed4561266193fc4331296da [INFO] running `Command { std: "docker" "start" "-a" "5df605202998a85d5d01c5ed23234ead031c07282ed4561266193fc4331296da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5df605202998a85d5d01c5ed23234ead031c07282ed4561266193fc4331296da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5df605202998a85d5d01c5ed23234ead031c07282ed4561266193fc4331296da", kill_on_drop: false }` [INFO] [stdout] 5df605202998a85d5d01c5ed23234ead031c07282ed4561266193fc4331296da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33cfc88c267172269c7632bc3edc1b214a3b8fc7d7518162a9a9fe963fe30151 [INFO] running `Command { std: "docker" "start" "-a" "33cfc88c267172269c7632bc3edc1b214a3b8fc7d7518162a9a9fe963fe30151", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Checking utf8-ranges v1.0.1 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Checking nom v4.0.0 [INFO] [stderr] Checking yacc v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/nomparse.rs (2 fixes) [INFO] [stderr] Fixed src/line.rs (2 fixes) [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stdout] warning: type `mod_rec` should have an upper camel case name [INFO] [stdout] --> src/line.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct mod_rec { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `ModRec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `format` should have an upper camel case name [INFO] [stdout] --> src/line.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum format { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `addr_mod` should have an upper camel case name [INFO] [stdout] --> src/line.rs:144:10 [INFO] [stdout] | [INFO] [stdout] 144 | pub enum addr_mod { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `AddrMod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `arg_struct` should have an upper camel case name [INFO] [stdout] --> src/line.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct arg_struct { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ArgStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `expr_struct` should have an upper camel case name [INFO] [stdout] --> src/line.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct expr_struct { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ExprStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `arg` should have an upper camel case name [INFO] [stdout] --> src/line.rs:195:10 [INFO] [stdout] | [INFO] [stdout] 195 | pub enum arg { [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `op_struct` should have an upper camel case name [INFO] [stdout] --> src/line.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct op_struct { pub opcode: u8, pub name: &'static str, pub long: bool } [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `OpStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `source_op` should have an upper camel case name [INFO] [stdout] --> src/line.rs:222:10 [INFO] [stdout] | [INFO] [stdout] 222 | pub enum source_op { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `SourceOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufRead` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `disp` is never read [INFO] [stdout] --> src/nomparse.rs:277:29 [INFO] [stdout] | [INFO] [stdout] 277 | let mut disp = 0u16; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/main.rs (2 fixes) [INFO] [stdout] warning: type `mod_rec` should have an upper camel case name [INFO] [stdout] --> src/line.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct mod_rec { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `ModRec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `format` should have an upper camel case name [INFO] [stdout] --> src/line.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum format { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `addr_mod` should have an upper camel case name [INFO] [stdout] --> src/line.rs:144:10 [INFO] [stdout] | [INFO] [stdout] 144 | pub enum addr_mod { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `AddrMod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `arg_struct` should have an upper camel case name [INFO] [stdout] --> src/line.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct arg_struct { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ArgStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `expr_struct` should have an upper camel case name [INFO] [stdout] --> src/line.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct expr_struct { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ExprStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `arg` should have an upper camel case name [INFO] [stdout] --> src/line.rs:195:10 [INFO] [stdout] | [INFO] [stdout] 195 | pub enum arg { [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `op_struct` should have an upper camel case name [INFO] [stdout] --> src/line.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct op_struct { pub opcode: u8, pub name: &'static str, pub long: bool } [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `OpStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `source_op` should have an upper camel case name [INFO] [stdout] --> src/line.rs:222:10 [INFO] [stdout] | [INFO] [stdout] 222 | pub enum source_op { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `SourceOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Expr` [INFO] [stdout] --> src/line.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | Expr(Box) [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: `unwrap_as_instruction` [INFO] [stdout] --> src/line.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn unwrap_as_instruction(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | write!(parsed, "{}", nomparse::gen_records(&mut parse_vec, &mut sym_tab, &mut intfile)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | parsed.write_all(nomparse::vec_gen_records(&mut parse_vec, &mut sym_tab, &mut intfile).deref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | write!(intermediate, "{}", intfile); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/nomparse.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | write!(obj_code, "{:06X}", i.mem_loc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/nomparse.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | write!(obj_code, "\nE{:06X}\n", start.args[0].val.unwrap_as_int().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/nomparse.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | ... write!(*parsed, "{:<4}{:<8X}{:<8}{:<8}{:<}{:<}\n", i.line_no, i.mem_loc, i.label.clone().unwrap_or("".to_owned()), i.operation, display_vec(&i.args), display_vec_nums(&i.obj_code)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/nomparse.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | ... write!(obj_code, "M{:06X}{:02X}\n", i.1.mem_loc, i.1.length);//, if i.1.pos {"+"} else {"-"}, sym_tab.get(&i.1.symbol).unwrap().mem... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/nomparse.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | ... write!(*parsed, "{:<4}{:<8X}{:<8}{:<8}{:<8}{:<8}\n", i.line_no, i.mem_loc, i.label.clone().unwrap_or("".to_owned()), i.operation, display_vec(&i.args), display_vec_nums(&i.obj_code)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/line.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | write!(a, "{}", i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/line.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | write!(a, " "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/line.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | write!(a, "{:02X}", i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/line.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | write!(a, " "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufRead` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `disp` is never read [INFO] [stdout] --> src/nomparse.rs:277:29 [INFO] [stdout] | [INFO] [stdout] 277 | let mut disp = 0u16; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Expr` [INFO] [stdout] --> src/line.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | Expr(Box) [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: `unwrap_as_instruction` [INFO] [stdout] --> src/line.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn unwrap_as_instruction(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | write!(parsed, "{}", nomparse::gen_records(&mut parse_vec, &mut sym_tab, &mut intfile)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | parsed.write_all(nomparse::vec_gen_records(&mut parse_vec, &mut sym_tab, &mut intfile).deref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | write!(intermediate, "{}", intfile); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/nomparse.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | write!(obj_code, "{:06X}", i.mem_loc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/nomparse.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | write!(obj_code, "\nE{:06X}\n", start.args[0].val.unwrap_as_int().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/nomparse.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | ... write!(*parsed, "{:<4}{:<8X}{:<8}{:<8}{:<}{:<}\n", i.line_no, i.mem_loc, i.label.clone().unwrap_or("".to_owned()), i.operation, display_vec(&i.args), display_vec_nums(&i.obj_code)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/nomparse.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | ... write!(obj_code, "M{:06X}{:02X}\n", i.1.mem_loc, i.1.length);//, if i.1.pos {"+"} else {"-"}, sym_tab.get(&i.1.symbol).unwrap().mem... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/nomparse.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | ... write!(*parsed, "{:<4}{:<8X}{:<8}{:<8}{:<8}{:<8}\n", i.line_no, i.mem_loc, i.label.clone().unwrap_or("".to_owned()), i.operation, display_vec(&i.args), display_vec_nums(&i.obj_code)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/line.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | write!(a, "{}", i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/line.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | write!(a, " "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/line.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | write!(a, "{:02X}", i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/line.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | write!(a, " "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.88s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking yacc v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: type `mod_rec` should have an upper camel case name [INFO] [stdout] --> src/line.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct mod_rec { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `ModRec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `format` should have an upper camel case name [INFO] [stdout] --> src/line.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum format { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `addr_mod` should have an upper camel case name [INFO] [stdout] --> src/line.rs:144:10 [INFO] [stdout] | [INFO] [stdout] 144 | pub enum addr_mod { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `AddrMod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `arg_struct` should have an upper camel case name [INFO] [stdout] --> src/line.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct arg_struct { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ArgStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `expr_struct` should have an upper camel case name [INFO] [stdout] --> src/line.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct expr_struct { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ExprStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `arg` should have an upper camel case name [INFO] [stdout] --> src/line.rs:195:10 [INFO] [stdout] | [INFO] [stdout] 195 | pub enum arg { [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `op_struct` should have an upper camel case name [INFO] [stdout] --> src/line.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct op_struct { pub opcode: u8, pub name: &'static str, pub long: bool } [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `OpStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `source_op` should have an upper camel case name [INFO] [stdout] --> src/line.rs:222:10 [INFO] [stdout] | [INFO] [stdout] 222 | pub enum source_op { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `SourceOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mod_rec` should have an upper camel case name [INFO] [stdout] --> src/line.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct mod_rec { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `ModRec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `format` should have an upper camel case name [INFO] [stdout] --> src/line.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum format { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `addr_mod` should have an upper camel case name [INFO] [stdout] --> src/line.rs:144:10 [INFO] [stdout] | [INFO] [stdout] 144 | pub enum addr_mod { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `AddrMod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `arg_struct` should have an upper camel case name [INFO] [stdout] --> src/line.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct arg_struct { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ArgStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `expr_struct` should have an upper camel case name [INFO] [stdout] --> src/line.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct expr_struct { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ExprStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `arg` should have an upper camel case name [INFO] [stdout] --> src/line.rs:195:10 [INFO] [stdout] | [INFO] [stdout] 195 | pub enum arg { [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `op_struct` should have an upper camel case name [INFO] [stdout] --> src/line.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct op_struct { pub opcode: u8, pub name: &'static str, pub long: bool } [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `OpStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `source_op` should have an upper camel case name [INFO] [stdout] --> src/line.rs:222:10 [INFO] [stdout] | [INFO] [stdout] 222 | pub enum source_op { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `SourceOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufRead` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `disp` is never read [INFO] [stdout] --> src/nomparse.rs:277:29 [INFO] [stdout] | [INFO] [stdout] 277 | let mut disp = 0u16; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufRead` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `disp` is never read [INFO] [stdout] --> src/nomparse.rs:277:29 [INFO] [stdout] | [INFO] [stdout] 277 | let mut disp = 0u16; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Expr` [INFO] [stdout] --> src/line.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | Expr(Box) [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: `unwrap_as_instruction` [INFO] [stdout] --> src/line.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn unwrap_as_instruction(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | write!(parsed, "{}", nomparse::gen_records(&mut parse_vec, &mut sym_tab, &mut intfile)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | parsed.write_all(nomparse::vec_gen_records(&mut parse_vec, &mut sym_tab, &mut intfile).deref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | write!(intermediate, "{}", intfile); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/nomparse.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | write!(obj_code, "{:06X}", i.mem_loc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/nomparse.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | write!(obj_code, "\nE{:06X}\n", start.args[0].val.unwrap_as_int().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/nomparse.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | ... write!(*parsed, "{:<4}{:<8X}{:<8}{:<8}{:<}{:<}\n", i.line_no, i.mem_loc, i.label.clone().unwrap_or("".to_owned()), i.operation, display_vec(&i.args), display_vec_nums(&i.obj_code)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/nomparse.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | ... write!(obj_code, "M{:06X}{:02X}\n", i.1.mem_loc, i.1.length);//, if i.1.pos {"+"} else {"-"}, sym_tab.get(&i.1.symbol).unwrap().mem... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/nomparse.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | ... write!(*parsed, "{:<4}{:<8X}{:<8}{:<8}{:<8}{:<8}\n", i.line_no, i.mem_loc, i.label.clone().unwrap_or("".to_owned()), i.operation, display_vec(&i.args), display_vec_nums(&i.obj_code)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/line.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | write!(a, "{}", i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/line.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | write!(a, " "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/line.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | write!(a, "{:02X}", i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/line.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | write!(a, " "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Expr` [INFO] [stdout] --> src/line.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | Expr(Box) [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: `unwrap_as_instruction` [INFO] [stdout] --> src/line.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn unwrap_as_instruction(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | write!(parsed, "{}", nomparse::gen_records(&mut parse_vec, &mut sym_tab, &mut intfile)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | parsed.write_all(nomparse::vec_gen_records(&mut parse_vec, &mut sym_tab, &mut intfile).deref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | write!(intermediate, "{}", intfile); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/nomparse.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | write!(obj_code, "{:06X}", i.mem_loc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/nomparse.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | write!(obj_code, "\nE{:06X}\n", start.args[0].val.unwrap_as_int().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/nomparse.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | ... write!(*parsed, "{:<4}{:<8X}{:<8}{:<8}{:<}{:<}\n", i.line_no, i.mem_loc, i.label.clone().unwrap_or("".to_owned()), i.operation, display_vec(&i.args), display_vec_nums(&i.obj_code)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/nomparse.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | ... write!(obj_code, "M{:06X}{:02X}\n", i.1.mem_loc, i.1.length);//, if i.1.pos {"+"} else {"-"}, sym_tab.get(&i.1.symbol).unwrap().mem... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/nomparse.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | ... write!(*parsed, "{:<4}{:<8X}{:<8}{:<8}{:<8}{:<8}\n", i.line_no, i.mem_loc, i.label.clone().unwrap_or("".to_owned()), i.operation, display_vec(&i.args), display_vec_nums(&i.obj_code)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/line.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | write!(a, "{}", i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/line.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | write!(a, " "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/line.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | write!(a, "{:02X}", i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/line.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | write!(a, " "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.58s [INFO] running `Command { std: "docker" "inspect" "33cfc88c267172269c7632bc3edc1b214a3b8fc7d7518162a9a9fe963fe30151", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33cfc88c267172269c7632bc3edc1b214a3b8fc7d7518162a9a9fe963fe30151", kill_on_drop: false }` [INFO] [stdout] 33cfc88c267172269c7632bc3edc1b214a3b8fc7d7518162a9a9fe963fe30151