[INFO] cloning repository https://github.com/grant0417/assembler6502 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/grant0417/assembler6502" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrant0417%2Fassembler6502", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrant0417%2Fassembler6502'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f39333d2da7009f73b901999a45e47a73e817d8c [INFO] checking grant0417/assembler6502 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrant0417%2Fassembler6502" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/grant0417/assembler6502 [INFO] finished tweaking git repo https://github.com/grant0417/assembler6502 [INFO] tweaked toml for git repo https://github.com/grant0417/assembler6502 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/grant0417/assembler6502 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/grant0417/assembler6502 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c551a9db2b2ad096f365a76bfddc9b6cfe75defbdbc6e8e5133478e3d7a8bcc [INFO] running `Command { std: "docker" "start" "-a" "0c551a9db2b2ad096f365a76bfddc9b6cfe75defbdbc6e8e5133478e3d7a8bcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c551a9db2b2ad096f365a76bfddc9b6cfe75defbdbc6e8e5133478e3d7a8bcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c551a9db2b2ad096f365a76bfddc9b6cfe75defbdbc6e8e5133478e3d7a8bcc", kill_on_drop: false }` [INFO] [stdout] 0c551a9db2b2ad096f365a76bfddc9b6cfe75defbdbc6e8e5133478e3d7a8bcc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ff223fc6d2caa4c55d9d731690ed2b1d8e039f4475b8aa1cdfaa5d2ae481115 [INFO] running `Command { std: "docker" "start" "-a" "5ff223fc6d2caa4c55d9d731690ed2b1d8e039f4475b8aa1cdfaa5d2ae481115", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking assembler6502 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/main.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 108 | struct Label { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 109 | /// The string representation of a label [INFO] [stdout] 110 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Label` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:249:48 [INFO] [stdout] | [INFO] [stdout] 249 | machine_code.insert_byte(line_num, "*".parse().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:250:48 [INFO] [stdout] | [INFO] [stdout] 250 | machine_code.insert_byte(line_num, (&line[1]).parse().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:256:86 [INFO] [stdout] | [INFO] [stdout] 256 | let op = OPS.iter().position(|&s| s == op_name).unwrap_or_else(|| panic!(format!("Unknow opcode: {}", op_name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 256 - let op = OPS.iter().position(|&s| s == op_name).unwrap_or_else(|| panic!(format!("Unknow opcode: {}", op_name))); [INFO] [stdout] 256 + let op = OPS.iter().position(|&s| s == op_name).unwrap_or_else(|| panic!("Unknow opcode: {}", op_name)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:368:64 [INFO] [stdout] | [INFO] [stdout] 368 | ... machine_code.insert_byte(line_num, (&address_str).parse().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:369:64 [INFO] [stdout] | [INFO] [stdout] 369 | ... machine_code.insert_byte(line_num, "00".parse().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:375:32 [INFO] [stdout] | [INFO] [stdout] 375 | panic!(format!("Op: {} Addr: {}, Size: {:?}", &op_name, &address, &num_bit)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 375 - panic!(format!("Op: {} Addr: {}, Size: {:?}", &op_name, &address, &num_bit)) [INFO] [stdout] 375 + panic!("Op: {} Addr: {}, Size: {:?}", &op_name, &address, &num_bit) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:493:24 [INFO] [stdout] | [INFO] [stdout] 493 | panic!(format!("Unknown value: {}\n\ [INFO] [stdout] | ________________________^ [INFO] [stdout] 494 | | Perhaps you meant to define a value or are using the wrong prefix.", [INFO] [stdout] 495 | | num)) [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 493 ~ panic!("Unknown value: {}\n\ [INFO] [stdout] 494 | Perhaps you meant to define a value or are using the wrong prefix.", [INFO] [stdout] 495 ~ num) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `assembler6502` (bin "assembler6502" test) due to 4 previous errors; 4 warnings emitted [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/main.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 108 | struct Label { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 109 | /// The string representation of a label [INFO] [stdout] 110 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Label` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:249:48 [INFO] [stdout] | [INFO] [stdout] 249 | machine_code.insert_byte(line_num, "*".parse().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `assembler6502` (bin "assembler6502") due to 4 previous errors; 4 warnings emitted [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:250:48 [INFO] [stdout] | [INFO] [stdout] 250 | machine_code.insert_byte(line_num, (&line[1]).parse().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:256:86 [INFO] [stdout] | [INFO] [stdout] 256 | let op = OPS.iter().position(|&s| s == op_name).unwrap_or_else(|| panic!(format!("Unknow opcode: {}", op_name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 256 - let op = OPS.iter().position(|&s| s == op_name).unwrap_or_else(|| panic!(format!("Unknow opcode: {}", op_name))); [INFO] [stdout] 256 + let op = OPS.iter().position(|&s| s == op_name).unwrap_or_else(|| panic!("Unknow opcode: {}", op_name)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:368:64 [INFO] [stdout] | [INFO] [stdout] 368 | ... machine_code.insert_byte(line_num, (&address_str).parse().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:369:64 [INFO] [stdout] | [INFO] [stdout] 369 | ... machine_code.insert_byte(line_num, "00".parse().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:375:32 [INFO] [stdout] | [INFO] [stdout] 375 | panic!(format!("Op: {} Addr: {}, Size: {:?}", &op_name, &address, &num_bit)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 375 - panic!(format!("Op: {} Addr: {}, Size: {:?}", &op_name, &address, &num_bit)) [INFO] [stdout] 375 + panic!("Op: {} Addr: {}, Size: {:?}", &op_name, &address, &num_bit) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:493:24 [INFO] [stdout] | [INFO] [stdout] 493 | panic!(format!("Unknown value: {}\n\ [INFO] [stdout] | ________________________^ [INFO] [stdout] 494 | | Perhaps you meant to define a value or are using the wrong prefix.", [INFO] [stdout] 495 | | num)) [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 493 ~ panic!("Unknown value: {}\n\ [INFO] [stdout] 494 | Perhaps you meant to define a value or are using the wrong prefix.", [INFO] [stdout] 495 ~ num) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5ff223fc6d2caa4c55d9d731690ed2b1d8e039f4475b8aa1cdfaa5d2ae481115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ff223fc6d2caa4c55d9d731690ed2b1d8e039f4475b8aa1cdfaa5d2ae481115", kill_on_drop: false }` [INFO] [stdout] 5ff223fc6d2caa4c55d9d731690ed2b1d8e039f4475b8aa1cdfaa5d2ae481115