[INFO] cloning repository https://github.com/kowat69/punas [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kowat69/punas" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkowat69%2Fpunas", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkowat69%2Fpunas'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b8209bf13df43c0f3fce89d2f60e36bb5f1c7c49 [INFO] checking kowat69/punas against master#ba412a6e70ac84641be7764d088acabd0eb3fa39 for pr-145457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkowat69%2Fpunas" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kowat69/punas [INFO] finished tweaking git repo https://github.com/kowat69/punas [INFO] tweaked toml for git repo https://github.com/kowat69/punas written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kowat69/punas on toolchain ba412a6e70ac84641be7764d088acabd0eb3fa39 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kowat69/punas 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" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a10d0d6e63a07844163d9c11a6f8900994355c98e705e404bc6330b9609ed55 [INFO] running `Command { std: "docker" "start" "-a" "5a10d0d6e63a07844163d9c11a6f8900994355c98e705e404bc6330b9609ed55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a10d0d6e63a07844163d9c11a6f8900994355c98e705e404bc6330b9609ed55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a10d0d6e63a07844163d9c11a6f8900994355c98e705e404bc6330b9609ed55", kill_on_drop: false }` [INFO] [stdout] 5a10d0d6e63a07844163d9c11a6f8900994355c98e705e404bc6330b9609ed55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4e565d3d7a3ea9baccf30b319412d4498d07fe3f4fbcf3927fc5e8f31959114 [INFO] running `Command { std: "docker" "start" "-a" "d4e565d3d7a3ea9baccf30b319412d4498d07fe3f4fbcf3927fc5e8f31959114", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking chrono v0.4.34 [INFO] [stderr] Checking punas v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `is_newline` and `is_space` [INFO] [stdout] --> src/asm.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | is_newline, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | is_space, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader` and `self` [INFO] [stdout] --> src/asm.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | BufReader, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `is_newline` and `is_space` [INFO] [stdout] --> src/asm.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | is_newline, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | is_space, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader` and `self` [INFO] [stdout] --> src/asm.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | BufReader, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/asm.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/asm.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/asm.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Read, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/asm.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Read, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_sumsize` [INFO] [stdout] --> src/asm.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let data_sumsize = |x: &Vec
| -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_sumsize` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_sumsize` [INFO] [stdout] --> src/asm.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let data_sumsize = |x: &Vec
| -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_sumsize` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/asm.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let mut p_section: usize = mem::size_of::(); [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: variable does not need to be mutable [INFO] [stdout] --> src/asm.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let mut p_section: usize = mem::size_of::(); [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: `c` [INFO] [stdout] --> src/asm.rs:330:13 [INFO] [stdout] | [INFO] [stdout] 330 | let c = get_str_first(input); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/asm.rs:330:13 [INFO] [stdout] | [INFO] [stdout] 330 | let c = get_str_first(input); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/asm.rs:489:21 [INFO] [stdout] | [INFO] [stdout] 489 | _ =>{ae.panic_from_word(value2str, "Not")} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/asm.rs:489:21 [INFO] [stdout] | [INFO] [stdout] 427 | Value::Figure(v2) =>{ [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 469 | Value::Reg(reg2, size2) =>{ [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 489 | _ =>{ae.panic_from_word(value2str, "Not")} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size2` [INFO] [stdout] --> src/asm.rs:469:38 [INFO] [stdout] | [INFO] [stdout] 469 | Value::Reg(reg2, size2) =>{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_size2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/asm.rs:570:21 [INFO] [stdout] | [INFO] [stdout] 570 | _ => {ae.panic_from_word(value2str, "Not");} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/asm.rs:570:21 [INFO] [stdout] | [INFO] [stdout] 508 | Value::Figure(v2) => { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 550 | Value::Reg(reg2, size2) => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 570 | _ => {ae.panic_from_word(value2str, "Not");} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size2` [INFO] [stdout] --> src/asm.rs:550:38 [INFO] [stdout] | [INFO] [stdout] 550 | Value::Reg(reg2, size2) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_size2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/asm.rs:649:21 [INFO] [stdout] | [INFO] [stdout] 649 | _ => {panic!()} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/asm.rs:649:21 [INFO] [stdout] | [INFO] [stdout] 589 | Value::Figure(v2) =>{ [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 627 | Value::Reg(reg2, size) =>{ [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 649 | _ => {panic!()} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/asm.rs:489:21 [INFO] [stdout] | [INFO] [stdout] 489 | _ =>{ae.panic_from_word(value2str, "Not")} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/asm.rs:489:21 [INFO] [stdout] | [INFO] [stdout] 427 | Value::Figure(v2) =>{ [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 469 | Value::Reg(reg2, size2) =>{ [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 489 | _ =>{ae.panic_from_word(value2str, "Not")} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size2` [INFO] [stdout] --> src/asm.rs:469:38 [INFO] [stdout] | [INFO] [stdout] 469 | Value::Reg(reg2, size2) =>{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_size2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/asm.rs:570:21 [INFO] [stdout] | [INFO] [stdout] 570 | _ => {ae.panic_from_word(value2str, "Not");} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/asm.rs:570:21 [INFO] [stdout] | [INFO] [stdout] 508 | Value::Figure(v2) => { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 550 | Value::Reg(reg2, size2) => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 570 | _ => {ae.panic_from_word(value2str, "Not");} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size2` [INFO] [stdout] --> src/asm.rs:550:38 [INFO] [stdout] | [INFO] [stdout] 550 | Value::Reg(reg2, size2) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_size2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/asm.rs:649:21 [INFO] [stdout] | [INFO] [stdout] 649 | _ => {panic!()} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/asm.rs:649:21 [INFO] [stdout] | [INFO] [stdout] 589 | Value::Figure(v2) =>{ [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 627 | Value::Reg(reg2, size) =>{ [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 649 | _ => {panic!()} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/asm.rs:753:23 [INFO] [stdout] | [INFO] [stdout] 753 | if let Ok((input, c)) = result{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/asm.rs:809:17 [INFO] [stdout] | [INFO] [stdout] 809 | let (input, first) = (tag(";"))(input)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ignore_comment` is never used [INFO] [stdout] --> src/asm.rs:808:4 [INFO] [stdout] | [INFO] [stdout] 808 | fn ignore_comment<'a>(input: & 'a str) -> IResult<&str, &str>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ignore_space_and_return` is never used [INFO] [stdout] --> src/asm.rs:821:4 [INFO] [stdout] | [INFO] [stdout] 821 | fn ignore_space_and_return<'a>(input: & 'a str) -> IResult<& 'a str, & 'a str>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/asm.rs:753:23 [INFO] [stdout] | [INFO] [stdout] 753 | if let Ok((input, c)) = result{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REX_W` is never used [INFO] [stdout] --> src/asm/reg.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const REX_W:u8 = 3; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REX_X` is never used [INFO] [stdout] --> src/asm/reg.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const REX_X:u8 = 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `VirtualSize`, `VirtualAddress`, `PointerToLinenumbers`, and `NumberOfLinenumbers` are never read [INFO] [stdout] --> src/asm/headers.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct SECTION_HEADER{ [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 24 | pub Name: [u8;8], [INFO] [stdout] 25 | pub VirtualSize: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | pub VirtualAddress: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub PointerToLinenumbers: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub NumberOfRelocations: u16, [INFO] [stdout] 32 | pub NumberOfLinenumbers: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `VirtualAddress`, `SymbolTableIndex`, and `Type` are never read [INFO] [stdout] --> src/asm/headers.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct RELOCATION{ [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 39 | pub VirtualAddress: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub SymbolTableIndex: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | pub Type: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/asm.rs:663:19 [INFO] [stdout] | [INFO] [stdout] 663 | fn read_2args(&self, mut input: & 'a str) -> ((Value, & 'a str, Value, & 'a str), & 'a str){ [INFO] [stdout] | ^^^^^ ----- ----- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 663 | fn read_2args(&self, mut input: & 'a str) -> ((Value<'_>, & 'a str, Value<'_>, & 'a str), & 'a str){ [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/asm.rs:683:19 [INFO] [stdout] | [INFO] [stdout] 683 | fn read_value(&self, mut input: & 'a str) -> Result<(&'a str, Value), &'a str>{ [INFO] [stdout] | ^^^^^ the lifetime is elided here ----- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 683 | fn read_value(&self, mut input: & 'a str) -> Result<(&'a str, Value<'_>), &'a str>{ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/asm.rs:701:26 [INFO] [stdout] | [INFO] [stdout] 701 | fn read_value_unwrap(&self, input: & 'a str, message: & str) -> (& 'a str, Value){ [INFO] [stdout] | ^^^^^ the lifetime is elided here ----- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 701 | fn read_value_unwrap(&self, input: & 'a str, message: & str) -> (& 'a str, Value<'_>){ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/asm.rs:736:28 [INFO] [stdout] | [INFO] [stdout] 736 | fn read_chars<'a>(input: & 'a str, cnt: usize) -> IResult<&str, &str>{ [INFO] [stdout] | ^^ ---- ---- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 736 | fn read_chars<'a>(input: & 'a str, cnt: usize) -> IResult<&'a str, &'a str>{ [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/asm.rs:739:28 [INFO] [stdout] | [INFO] [stdout] 739 | fn get_figure<'a>(input: & 'a str)->IResult<&str, &str>{ [INFO] [stdout] | ^^ ---- ---- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 739 | fn get_figure<'a>(input: & 'a str)->IResult<&'a str, &'a str>{ [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/asm.rs:809:17 [INFO] [stdout] | [INFO] [stdout] 809 | let (input, first) = (tag(";"))(input)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/asm.rs:743:28 [INFO] [stdout] | [INFO] [stdout] 743 | fn get_string<'a>(input: & 'a str) -> IResult<&str, &str>{ [INFO] [stdout] | ^^ ---- ---- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 743 | fn get_string<'a>(input: & 'a str) -> IResult<&'a str, &'a str>{ [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/asm.rs:749:28 [INFO] [stdout] | [INFO] [stdout] 749 | fn get_others<'a>(input: & 'a str) -> IResult<&str, &str>{ [INFO] [stdout] | ^^ ---- ---- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 749 | fn get_others<'a>(input: & 'a str) -> IResult<&'a str, &'a str>{ [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/asm.rs:761:27 [INFO] [stdout] | [INFO] [stdout] 761 | fn get_word<'a >(input: & 'a str)->IResult<&str, & str> { [INFO] [stdout] | ^^ ---- ----- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 761 | fn get_word<'a >(input: & 'a str)->IResult<&'a str, &'a str> { [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/asm.rs:808:32 [INFO] [stdout] | [INFO] [stdout] 808 | fn ignore_comment<'a>(input: & 'a str) -> IResult<&str, &str>{ [INFO] [stdout] | ^^ ---- ---- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 808 | fn ignore_comment<'a>(input: & 'a str) -> IResult<&'a str, &'a str>{ [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/asm/reg.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn reg<'a>(rm: & 'a str) -> Result, &str>{ [INFO] [stdout] | ^^ -- ---- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 34 | pub fn reg<'a>(rm: & 'a str) -> Result, &'a str>{ [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ignore_comment` is never used [INFO] [stdout] --> src/asm.rs:808:4 [INFO] [stdout] | [INFO] [stdout] 808 | fn ignore_comment<'a>(input: & 'a str) -> IResult<&str, &str>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ignore_space_and_return` is never used [INFO] [stdout] --> src/asm.rs:821:4 [INFO] [stdout] | [INFO] [stdout] 821 | fn ignore_space_and_return<'a>(input: & 'a str) -> IResult<& 'a str, & 'a str>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REX_W` is never used [INFO] [stdout] --> src/asm/reg.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const REX_W:u8 = 3; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REX_X` is never used [INFO] [stdout] --> src/asm/reg.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const REX_X:u8 = 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `VirtualSize`, `VirtualAddress`, `PointerToLinenumbers`, and `NumberOfLinenumbers` are never read [INFO] [stdout] --> src/asm/headers.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct SECTION_HEADER{ [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 24 | pub Name: [u8;8], [INFO] [stdout] 25 | pub VirtualSize: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | pub VirtualAddress: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub PointerToLinenumbers: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub NumberOfRelocations: u16, [INFO] [stdout] 32 | pub NumberOfLinenumbers: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `VirtualAddress`, `SymbolTableIndex`, and `Type` are never read [INFO] [stdout] --> src/asm/headers.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct RELOCATION{ [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 39 | pub VirtualAddress: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub SymbolTableIndex: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | pub Type: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/asm.rs:663:19 [INFO] [stdout] | [INFO] [stdout] 663 | fn read_2args(&self, mut input: & 'a str) -> ((Value, & 'a str, Value, & 'a str), & 'a str){ [INFO] [stdout] | ^^^^^ ----- ----- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 663 | fn read_2args(&self, mut input: & 'a str) -> ((Value<'_>, & 'a str, Value<'_>, & 'a str), & 'a str){ [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/asm.rs:683:19 [INFO] [stdout] | [INFO] [stdout] 683 | fn read_value(&self, mut input: & 'a str) -> Result<(&'a str, Value), &'a str>{ [INFO] [stdout] | ^^^^^ the lifetime is elided here ----- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 683 | fn read_value(&self, mut input: & 'a str) -> Result<(&'a str, Value<'_>), &'a str>{ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/asm.rs:701:26 [INFO] [stdout] | [INFO] [stdout] 701 | fn read_value_unwrap(&self, input: & 'a str, message: & str) -> (& 'a str, Value){ [INFO] [stdout] | ^^^^^ the lifetime is elided here ----- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 701 | fn read_value_unwrap(&self, input: & 'a str, message: & str) -> (& 'a str, Value<'_>){ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/asm.rs:736:28 [INFO] [stdout] | [INFO] [stdout] 736 | fn read_chars<'a>(input: & 'a str, cnt: usize) -> IResult<&str, &str>{ [INFO] [stdout] | ^^ ---- ---- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 736 | fn read_chars<'a>(input: & 'a str, cnt: usize) -> IResult<&'a str, &'a str>{ [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/asm.rs:739:28 [INFO] [stdout] | [INFO] [stdout] 739 | fn get_figure<'a>(input: & 'a str)->IResult<&str, &str>{ [INFO] [stdout] | ^^ ---- ---- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 739 | fn get_figure<'a>(input: & 'a str)->IResult<&'a str, &'a str>{ [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/asm.rs:743:28 [INFO] [stdout] | [INFO] [stdout] 743 | fn get_string<'a>(input: & 'a str) -> IResult<&str, &str>{ [INFO] [stdout] | ^^ ---- ---- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 743 | fn get_string<'a>(input: & 'a str) -> IResult<&'a str, &'a str>{ [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/asm.rs:749:28 [INFO] [stdout] | [INFO] [stdout] 749 | fn get_others<'a>(input: & 'a str) -> IResult<&str, &str>{ [INFO] [stdout] | ^^ ---- ---- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 749 | fn get_others<'a>(input: & 'a str) -> IResult<&'a str, &'a str>{ [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/asm.rs:761:27 [INFO] [stdout] | [INFO] [stdout] 761 | fn get_word<'a >(input: & 'a str)->IResult<&str, & str> { [INFO] [stdout] | ^^ ---- ----- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 761 | fn get_word<'a >(input: & 'a str)->IResult<&'a str, &'a str> { [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/asm.rs:808:32 [INFO] [stdout] | [INFO] [stdout] 808 | fn ignore_comment<'a>(input: & 'a str) -> IResult<&str, &str>{ [INFO] [stdout] | ^^ ---- ---- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 808 | fn ignore_comment<'a>(input: & 'a str) -> IResult<&'a str, &'a str>{ [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/asm/reg.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn reg<'a>(rm: & 'a str) -> Result, &str>{ [INFO] [stdout] | ^^ -- ---- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 34 | pub fn reg<'a>(rm: & 'a str) -> Result, &'a str>{ [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.11s [INFO] running `Command { std: "docker" "inspect" "d4e565d3d7a3ea9baccf30b319412d4498d07fe3f4fbcf3927fc5e8f31959114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4e565d3d7a3ea9baccf30b319412d4498d07fe3f4fbcf3927fc5e8f31959114", kill_on_drop: false }` [INFO] [stdout] d4e565d3d7a3ea9baccf30b319412d4498d07fe3f4fbcf3927fc5e8f31959114