[INFO] cloning repository https://github.com/fido2020/s-asm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fido2020/s-asm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffido2020%2Fs-asm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffido2020%2Fs-asm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c3e9548c6efece30458397df2c4ab2516418224 [INFO] checking fido2020/s-asm against master#8365fcb2b840c95eeb0bc377af8bd498fad22245 for pr-145605 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffido2020%2Fs-asm" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fido2020/s-asm [INFO] finished tweaking git repo https://github.com/fido2020/s-asm [INFO] tweaked toml for git repo https://github.com/fido2020/s-asm written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fido2020/s-asm on toolchain 8365fcb2b840c95eeb0bc377af8bd498fad22245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fido2020/s-asm 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" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc8cb560e5655ae2409f5ab80dcfda07b7d27c8abc9bd8de929a6ad888bdd860 [INFO] running `Command { std: "docker" "start" "-a" "bc8cb560e5655ae2409f5ab80dcfda07b7d27c8abc9bd8de929a6ad888bdd860", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc8cb560e5655ae2409f5ab80dcfda07b7d27c8abc9bd8de929a6ad888bdd860", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc8cb560e5655ae2409f5ab80dcfda07b7d27c8abc9bd8de929a6ad888bdd860", kill_on_drop: false }` [INFO] [stdout] bc8cb560e5655ae2409f5ab80dcfda07b7d27c8abc9bd8de929a6ad888bdd860 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbae52be01561412b3bf1ea780b0ea4c4000ff5c35208aa9093057c7056110b2 [INFO] running `Command { std: "docker" "start" "-a" "fbae52be01561412b3bf1ea780b0ea4c4000ff5c35208aa9093057c7056110b2", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking sasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `alphanumeric0`, `error::ParseError`, `many0_count`, `not`, and `separated_list1` [INFO] [stdout] --> src/parser.rs:2:70 [INFO] [stdout] | [INFO] [stdout] 2 | ...1, alphanumeric0, alphanumeric1, char, space0, space1}, combinator::{not, opt, recognize}, error::ParseError, multi::{many0, many0_count, separated_list0, separated_list1}, ... [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt` [INFO] [stdout] --> src/instruction.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error, fmt}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Condition` and `Instruction` [INFO] [stdout] --> src/main.rs:9:56 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bytecode::{disassemble, encode_instruction, Condition, Instruction}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alphanumeric0`, `error::ParseError`, `many0_count`, `not`, and `separated_list1` [INFO] [stdout] --> src/parser.rs:2:70 [INFO] [stdout] | [INFO] [stdout] 2 | ...1, alphanumeric0, alphanumeric1, char, space0, space1}, combinator::{not, opt, recognize}, error::ParseError, multi::{many0, many0_count, separated_list0, separated_list1}, ... [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Operand` and `parse_operand` [INFO] [stdout] --> src/parser.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | use crate::parser::{parse_operand, Operand}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt` [INFO] [stdout] --> src/instruction.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error, fmt}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Condition` and `Instruction` [INFO] [stdout] --> src/main.rs:9:56 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bytecode::{disassemble, encode_instruction, Condition, Instruction}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pc` [INFO] [stdout] --> src/main.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | let mut pc = 0; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pc` [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/main.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let mut pc = 0; [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: enum `Segment` is never used [INFO] [stdout] --> src/parser.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum Segment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Directive` is never constructed [INFO] [stdout] --> src/parser.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum AsmObject { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 35 | Directive(String, Vec), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AsmObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Nop` is never constructed [INFO] [stdout] --> src/bytecode.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub enum Instruction { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 85 | Nop, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` 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: variants `Lb` and `Sb` are never constructed [INFO] [stdout] --> src/instruction.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum PseudoInstruction { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 30 | Lb, [INFO] [stdout] | ^^ [INFO] [stdout] 31 | Sb, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `PseudoInstruction` 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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | fn parse_name<'a>(input: &'a str) -> nom::IResult<&'a str, &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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 54 | fn parse_name<'a>(input: &'a str) -> nom::IResult<&'a str, &'a str> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pc` [INFO] [stdout] --> src/main.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | let mut pc = 0; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pc` [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/main.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let mut pc = 0; [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: enum `Segment` is never used [INFO] [stdout] --> src/parser.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum Segment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Directive` is never constructed [INFO] [stdout] --> src/parser.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum AsmObject { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 35 | Directive(String, Vec), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AsmObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Nop` is never constructed [INFO] [stdout] --> src/bytecode.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub enum Instruction { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 85 | Nop, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` 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: variants `Lb` and `Sb` are never constructed [INFO] [stdout] --> src/instruction.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum PseudoInstruction { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 30 | Lb, [INFO] [stdout] | ^^ [INFO] [stdout] 31 | Sb, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `PseudoInstruction` 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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | fn parse_name<'a>(input: &'a str) -> nom::IResult<&'a str, &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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 54 | fn parse_name<'a>(input: &'a str) -> nom::IResult<&'a str, &'a str> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.15s [INFO] running `Command { std: "docker" "inspect" "fbae52be01561412b3bf1ea780b0ea4c4000ff5c35208aa9093057c7056110b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbae52be01561412b3bf1ea780b0ea4c4000ff5c35208aa9093057c7056110b2", kill_on_drop: false }` [INFO] [stdout] fbae52be01561412b3bf1ea780b0ea4c4000ff5c35208aa9093057c7056110b2