[INFO] cloning repository https://github.com/debris/dcpu16 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/debris/dcpu16" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdebris%2Fdcpu16", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdebris%2Fdcpu16'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a16bdc305c292f9856c868b1770a89280c75ead3 [INFO] testing debris/dcpu16 against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdebris%2Fdcpu16" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/debris/dcpu16 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/debris/dcpu16 [INFO] finished tweaking git repo https://github.com/debris/dcpu16 [INFO] tweaked toml for git repo https://github.com/debris/dcpu16 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/debris/dcpu16 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7eb04bb760fa8dc1ffe9ea11cbfd170fc98938962ff07722302a27affd31419c [INFO] running `Command { std: "docker" "start" "-a" "7eb04bb760fa8dc1ffe9ea11cbfd170fc98938962ff07722302a27affd31419c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7eb04bb760fa8dc1ffe9ea11cbfd170fc98938962ff07722302a27affd31419c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7eb04bb760fa8dc1ffe9ea11cbfd170fc98938962ff07722302a27affd31419c", kill_on_drop: false }` [INFO] [stdout] 7eb04bb760fa8dc1ffe9ea11cbfd170fc98938962ff07722302a27affd31419c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8432a2b6c6891fe237560c58f450d96d570973c42efa92abcad2aef723360016 [INFO] running `Command { std: "docker" "start" "-a" "8432a2b6c6891fe237560c58f450d96d570973c42efa92abcad2aef723360016", kill_on_drop: false }` [INFO] [stderr] Compiling matches v0.1.2 [INFO] [stderr] Compiling dcpu16 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Formatter` [INFO] [stdout] --> src/dcpu/cpu/instruction.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{self, Formatter, Display}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/dcpu/cpu/cpu.rs:321:21 [INFO] [stdout] | [INFO] [stdout] 321 | n @ 0x0 ... 0x7 => self.registers[n as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/dcpu/cpu/cpu.rs:322:21 [INFO] [stdout] | [INFO] [stdout] 322 | n @ 0x8 ... 0xf => self.memory.get(self.registers[(n - 0x8) as usize] as usize), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/dcpu/cpu/cpu.rs:323:22 [INFO] [stdout] | [INFO] [stdout] 323 | n @ 0x10 ... 0x17 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/dcpu/cpu/cpu.rs:343:22 [INFO] [stdout] | [INFO] [stdout] 343 | n @ 0x20 ... 0x3f => ((n as u16).wrapping_sub(0x21)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/dcpu/cpu/cpu.rs:350:21 [INFO] [stdout] | [INFO] [stdout] 350 | n @ 0x0 ... 0x7 => self.registers[n as usize] = value, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/dcpu/assembly/tokenizer.rs:180:16 [INFO] [stdout] | [INFO] [stdout] 180 | '0'...'9' => Some(self.consume_number(10)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/dcpu/assembly/tokenizer.rs:181:16 [INFO] [stdout] | [INFO] [stdout] 181 | 'a'...'z' | 'A'...'Z' => Some(self.consume_word()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/dcpu/assembly/tokenizer.rs:181:28 [INFO] [stdout] | [INFO] [stdout] 181 | 'a'...'z' | 'A'...'Z' => Some(self.consume_word()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/dcpu/assembly/tokenizer.rs:232:20 [INFO] [stdout] | [INFO] [stdout] 232 | '0'...'9' => self.advance(1), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/dcpu/assembly/tokenizer.rs:248:20 [INFO] [stdout] | [INFO] [stdout] 248 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '_' => self.advance(1), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/dcpu/assembly/tokenizer.rs:248:32 [INFO] [stdout] | [INFO] [stdout] 248 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '_' => self.advance(1), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/dcpu/assembly/tokenizer.rs:248:44 [INFO] [stdout] | [INFO] [stdout] 248 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '_' => self.advance(1), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Opcode` in public interface (error E0446) [INFO] [stdout] --> src/dcpu/assembly/tokenizer.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | Opcode(Opcode), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Value<'a>` in public interface (error E0446) [INFO] [stdout] --> src/dcpu/assembly/tokenizer.rs:130:11 [INFO] [stdout] | [INFO] [stdout] 130 | Value(Value<'a>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `Opcode` is private [INFO] [stdout] --> src/dcpu/assembly/parser.rs:24:65 [INFO] [stdout] | [INFO] [stdout] 24 | matches!(self.tokenizer.token_at(n), Some(Token::Opcode(ref _op))) [INFO] [stdout] | ^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `Value` is private [INFO] [stdout] --> src/dcpu/assembly/parser.rs:32:64 [INFO] [stdout] | [INFO] [stdout] 32 | matches!(self.tokenizer.token_at(n), Some(Token::Value(ref _a))) [INFO] [stdout] | ^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dcpu16` due to 3 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8432a2b6c6891fe237560c58f450d96d570973c42efa92abcad2aef723360016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8432a2b6c6891fe237560c58f450d96d570973c42efa92abcad2aef723360016", kill_on_drop: false }` [INFO] [stdout] 8432a2b6c6891fe237560c58f450d96d570973c42efa92abcad2aef723360016