[INFO] cloning repository https://github.com/5cw/6502
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/5cw/6502" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F5cw%2F6502", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F5cw%2F6502'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b5cd9d1155a64026074e04f3c77b84b9581cf7f9
[INFO] checking 5cw/6502 against master#5a45ab9738330fb317d49e3594c2db5248b1e971 for pr-136303
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F5cw%2F6502" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/5cw/6502 on toolchain 5a45ab9738330fb317d49e3594c2db5248b1e971
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/5cw/6502
[INFO] finished tweaking git repo https://github.com/5cw/6502
[INFO] tweaked toml for git repo https://github.com/5cw/6502 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/5cw/6502 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" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded aho-corasick v1.0.2
[INFO] [stderr]   Downloaded regex v1.9.0
[INFO] [stderr]   Downloaded regex-syntax v0.7.3
[INFO] [stderr]   Downloaded regex-automata v0.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 650e0a0a877fb572265fab49169dbd9943d77a825e3d098047433c3a09152f8a
[INFO] running `Command { std: "docker" "start" "-a" "650e0a0a877fb572265fab49169dbd9943d77a825e3d098047433c3a09152f8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "650e0a0a877fb572265fab49169dbd9943d77a825e3d098047433c3a09152f8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "650e0a0a877fb572265fab49169dbd9943d77a825e3d098047433c3a09152f8a", kill_on_drop: false }`
[INFO] [stdout] 650e0a0a877fb572265fab49169dbd9943d77a825e3d098047433c3a09152f8a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] be33e301385a1dea026432bd7f2d2e7d1f49c1581c19462bad4eca9b9d4b651c
[INFO] running `Command { std: "docker" "start" "-a" "be33e301385a1dea026432bd7f2d2e7d1f49c1581c19462bad4eca9b9d4b651c", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking regex-syntax v0.7.3
[INFO] [stderr]     Checking aho-corasick v1.0.2
[INFO] [stderr]     Checking regex-automata v0.3.0
[INFO] [stderr]     Checking regex v1.9.0
[INFO] [stderr]     Checking sixtyfiveohtwo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `IdxReg::*`
[INFO] [stdout]   --> src/assembler.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |     use IdxReg::*;
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::atomic::Ordering::Acquire`
[INFO] [stdout]  --> src/cpu.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::atomic::Ordering::Acquire;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IdxReg::*`
[INFO] [stdout]   --> src/assembler.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |     use IdxReg::*;
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::atomic::Ordering::Acquire`
[INFO] [stdout]  --> src/cpu.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::atomic::Ordering::Acquire;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/main.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let result = assembler::assemble(code.to_string());
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^------------------ argument #2 of type `bool` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/assembler.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub fn assemble(s: String, redux: bool) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^ ---------  -----------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let result = assembler::assemble(code.to_string(), /* bool */);
[INFO] [stdout]    |                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/main.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let result = assembler::assemble(code.to_string());
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^------------------ argument #2 of type `bool` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/assembler.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub fn assemble(s: String, redux: bool) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^ ---------  -----------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let result = assembler::assemble(code.to_string(), /* bool */);
[INFO] [stdout]    |                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/assembler.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let mut lines = s.lines()
[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/assembler.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let mut lines = s.lines()
[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] error[E0597]: `s` does not live long enough
[INFO] [stdout]   --> src/assembler.rs:64:55
[INFO] [stdout]    |
[INFO] [stdout] 64 |             Directive::LabelDir(s) => { labels.insert(s.as_str(), pc); },
[INFO] [stdout]    |                                 -       ------        ^                - `s` dropped here while still borrowed
[INFO] [stdout]    |                                 |       |             |
[INFO] [stdout]    |                                 |       |             borrowed value does not live long enough
[INFO] [stdout]    |                                 |       borrow later used here
[INFO] [stdout]    |                                 binding `s` declared here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `s` does not live long enough
[INFO] [stdout]   --> src/assembler.rs:64:55
[INFO] [stdout]    |
[INFO] [stdout] 64 |             Directive::LabelDir(s) => { labels.insert(s.as_str(), pc); },
[INFO] [stdout]    |                                 -       ------        ^                - `s` dropped here while still borrowed
[INFO] [stdout]    |                                 |       |             |
[INFO] [stdout]    |                                 |       |             borrowed value does not live long enough
[INFO] [stdout]    |                                 |       borrow later used here
[INFO] [stdout]    |                                 binding `s` declared here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/assembler.rs:193:15
[INFO] [stdout]     |
[INFO] [stdout] 193 |     let num = num.to_uppercase().as_str();
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^         - temporary value is freed at the end of this statement
[INFO] [stdout]     |               |
[INFO] [stdout]     |               creates a temporary value which is freed while still in use
[INFO] [stdout] ...
[INFO] [stdout] 196 |         = re.captures(num)?.extract();
[INFO] [stdout]     |                       --- borrow later used here
[INFO] [stdout]     |
[INFO] [stdout] help: consider using a `let` binding to create a longer lived value
[INFO] [stdout]     |
[INFO] [stdout] 193 ~     let binding = num.to_uppercase();
[INFO] [stdout] 194 ~     let num = binding.as_str();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/assembler.rs:193:15
[INFO] [stdout]     |
[INFO] [stdout] 193 |     let num = num.to_uppercase().as_str();
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^         - temporary value is freed at the end of this statement
[INFO] [stdout]     |               |
[INFO] [stdout]     |               creates a temporary value which is freed while still in use
[INFO] [stdout] ...
[INFO] [stdout] 196 |         = re.captures(num)?.extract();
[INFO] [stdout]     |                       --- borrow later used here
[INFO] [stdout]     |
[INFO] [stdout] help: consider using a `let` binding to create a longer lived value
[INFO] [stdout]     |
[INFO] [stdout] 193 ~     let binding = num.to_uppercase();
[INFO] [stdout] 194 ~     let num = binding.as_str();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/assembler.rs:329:33
[INFO] [stdout]     |
[INFO] [stdout] 329 |             (Indexed(X, true) | Indexed(X, true), "LDX" | "STX") =>
[INFO] [stdout]     |              ----------------   ^^^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout]     |              |
[INFO] [stdout]     |              matches all the relevant values
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/assembler.rs:329:33
[INFO] [stdout]     |
[INFO] [stdout] 329 |             (Indexed(X, true) | Indexed(X, true), "LDX" | "STX") =>
[INFO] [stdout]     |              ----------------   ^^^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout]     |              |
[INFO] [stdout]     |              matches all the relevant values
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/cpu.rs:465:13
[INFO] [stdout]     |
[INFO] [stdout] 464 |             P => self.proc_flags,
[INFO] [stdout]     |             - matches any value
[INFO] [stdout] 465 |             Accumulator => self.accumulator,
[INFO] [stdout]     |             ^^^^^^^^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/cpu.rs:466:13
[INFO] [stdout]     |
[INFO] [stdout] 464 |             P => self.proc_flags,
[INFO] [stdout]     |             - matches any value
[INFO] [stdout] 465 |             Accumulator => self.accumulator,
[INFO] [stdout] 466 |             Stack => self.pop_byte(),
[INFO] [stdout]     |             ^^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/cpu.rs:465:13
[INFO] [stdout]     |
[INFO] [stdout] 464 |             P => self.proc_flags,
[INFO] [stdout]     |             - matches any value
[INFO] [stdout] 465 |             Accumulator => self.accumulator,
[INFO] [stdout]     |             ^^^^^^^^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/cpu.rs:466:13
[INFO] [stdout]     |
[INFO] [stdout] 464 |             P => self.proc_flags,
[INFO] [stdout]     |             - matches any value
[INFO] [stdout] 465 |             Accumulator => self.accumulator,
[INFO] [stdout] 466 |             Stack => self.pop_byte(),
[INFO] [stdout]     |             ^^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/cpu.rs:467:13
[INFO] [stdout]     |
[INFO] [stdout] 467 |             _ => 0
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/cpu.rs:467:13
[INFO] [stdout]     |
[INFO] [stdout] 459 |             Address(address) => self.fetch_byte(*address),
[INFO] [stdout]     |             ---------------- matches some of the same values
[INFO] [stdout] 460 |             Immediate | Relative => byte as u8,
[INFO] [stdout]     |             -------------------- matches some of the same values
[INFO] [stdout] 461 |             X => self.x,
[INFO] [stdout]     |             - matches some of the same values
[INFO] [stdout] 462 |             Y => self.y,
[INFO] [stdout]     |             - matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 467 |             _ => 0
[INFO] [stdout]     |             ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/cpu.rs:467:13
[INFO] [stdout]     |
[INFO] [stdout] 467 |             _ => 0
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/cpu.rs:467:13
[INFO] [stdout]     |
[INFO] [stdout] 459 |             Address(address) => self.fetch_byte(*address),
[INFO] [stdout]     |             ---------------- matches some of the same values
[INFO] [stdout] 460 |             Immediate | Relative => byte as u8,
[INFO] [stdout]     |             -------------------- matches some of the same values
[INFO] [stdout] 461 |             X => self.x,
[INFO] [stdout]     |             - matches some of the same values
[INFO] [stdout] 462 |             Y => self.y,
[INFO] [stdout]     |             - matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 467 |             _ => 0
[INFO] [stdout]     |             ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `P`
[INFO] [stdout]    --> src/cpu.rs:464:13
[INFO] [stdout]     |
[INFO] [stdout] 464 |             P => self.proc_flags,
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_P`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `P`
[INFO] [stdout]    --> src/cpu.rs:464:13
[INFO] [stdout]     |
[INFO] [stdout] 464 |             P => self.proc_flags,
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_P`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0597, E0716.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0597, E0716.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sixtyfiveohtwo` (bin "sixtyfiveohtwo") due to 3 previous errors; 8 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `sixtyfiveohtwo` (bin "sixtyfiveohtwo" test) due to 3 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "be33e301385a1dea026432bd7f2d2e7d1f49c1581c19462bad4eca9b9d4b651c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be33e301385a1dea026432bd7f2d2e7d1f49c1581c19462bad4eca9b9d4b651c", kill_on_drop: false }`
[INFO] [stdout] be33e301385a1dea026432bd7f2d2e7d1f49c1581c19462bad4eca9b9d4b651c
