[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 master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWarpspeedSCP%2Frusty-sic-xe" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WarpspeedSCP/rusty-sic-xe on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-4-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nom v4.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ada02283602d5ccc62a8c1e0935b7a995c45a39077683fc442c508f671e01e3f [INFO] running `Command { std: "docker" "start" "-a" "ada02283602d5ccc62a8c1e0935b7a995c45a39077683fc442c508f671e01e3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ada02283602d5ccc62a8c1e0935b7a995c45a39077683fc442c508f671e01e3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ada02283602d5ccc62a8c1e0935b7a995c45a39077683fc442c508f671e01e3f", kill_on_drop: false }` [INFO] [stdout] ada02283602d5ccc62a8c1e0935b7a995c45a39077683fc442c508f671e01e3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1212df82f04c8c661356470e943495c4342efbfa3388e28b8493a96eedc9e2a0 [INFO] running `Command { std: "docker" "start" "-a" "1212df82f04c8c661356470e943495c4342efbfa3388e28b8493a96eedc9e2a0", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.5 [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] Checking regex-syntax v0.6.2 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling memchr v2.1.0 [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 (/opt/rustwide/workdir) [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: unused variable: `tmp` [INFO] [stdout] --> src/nomparse.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | let mut tmp = 0u8; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tmp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/nomparse.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | let mut tmp = 0u8; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [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: unused variable: `tmp` [INFO] [stdout] --> src/nomparse.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | let mut tmp = 0u8; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tmp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/nomparse.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | let mut tmp = 0u8; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/line.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | for i in 0..(if v.len() < 2 { 2 - v.len() } else { 1 }) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/line.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | for i in 0..(if v.len() < 2 { 2 - v.len() } else { 0 }) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outfile` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let outfile: File; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr` [INFO] [stdout] --> src/main.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | let mut curr = line::Line::new() [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_curr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let mut curr = line::Line::new() [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line_no` is never read [INFO] [stdout] --> src/line.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Pos { pub line_no: u32, pub mem_loc: u32, pub val: Option } [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Pos` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Expr` is never constructed [INFO] [stdout] --> src/line.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 195 | pub enum arg { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 199 | Expr(Box) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `arg` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unwrap_as_instruction` is never used [INFO] [stdout] --> src/line.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 229 | impl source_op { [INFO] [stdout] | -------------- method in this implementation [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 90 | let _ = parsed.write_all(nomparse::vec_gen_records(&mut parse_vec, &mut sym_tab, &mut intfile).deref()); [INFO] [stdout] | +++++++ [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: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/line.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | for i in 0..(if v.len() < 2 { 2 - v.len() } else { 1 }) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/line.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | for i in 0..(if v.len() < 2 { 2 - v.len() } else { 0 }) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outfile` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let outfile: File; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line_no` is never read [INFO] [stdout] --> src/line.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Pos { pub line_no: u32, pub mem_loc: u32, pub val: Option } [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Pos` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Expr` is never constructed [INFO] [stdout] --> src/line.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 195 | pub enum arg { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 199 | Expr(Box) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `arg` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unwrap_as_instruction` is never used [INFO] [stdout] --> src/line.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 229 | impl source_op { [INFO] [stdout] | -------------- method in this implementation [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 90 | let _ = parsed.write_all(nomparse::vec_gen_records(&mut parse_vec, &mut sym_tab, &mut intfile).deref()); [INFO] [stdout] | +++++++ [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: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.92s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "1212df82f04c8c661356470e943495c4342efbfa3388e28b8493a96eedc9e2a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1212df82f04c8c661356470e943495c4342efbfa3388e28b8493a96eedc9e2a0", kill_on_drop: false }` [INFO] [stdout] 1212df82f04c8c661356470e943495c4342efbfa3388e28b8493a96eedc9e2a0