[INFO] cloning repository https://github.com/McArthur-Alford/PL0
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/McArthur-Alford/PL0" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMcArthur-Alford%2FPL0", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMcArthur-Alford%2FPL0'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 901d09061a260ebaaeee854653258e952295b87f
[INFO] testing McArthur-Alford/PL0 against 1.75.0 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMcArthur-Alford%2FPL0" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/McArthur-Alford/PL0 on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/McArthur-Alford/PL0
[INFO] finished tweaking git repo https://github.com/McArthur-Alford/PL0
[INFO] tweaked toml for git repo https://github.com/McArthur-Alford/PL0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/McArthur-Alford/PL0 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" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 37e1fd7a29ca9b2f5b49acaae58bfe8a31d595e9c8a42c3b4332682c33acb5a5
[INFO] running `Command { std: "docker" "start" "-a" "37e1fd7a29ca9b2f5b49acaae58bfe8a31d595e9c8a42c3b4332682c33acb5a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "37e1fd7a29ca9b2f5b49acaae58bfe8a31d595e9c8a42c3b4332682c33acb5a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "37e1fd7a29ca9b2f5b49acaae58bfe8a31d595e9c8a42c3b4332682c33acb5a5", kill_on_drop: false }`
[INFO] [stdout] 37e1fd7a29ca9b2f5b49acaae58bfe8a31d595e9c8a42c3b4332682c33acb5a5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e97ab9cf8466d220c192b20b8ff82fd631231bf0d7029fff7967f0120d82a662
[INFO] running `Command { std: "docker" "start" "-a" "e97ab9cf8466d220c192b20b8ff82fd631231bf0d7029fff7967f0120d82a662", kill_on_drop: false }`
[INFO] [stderr]    Compiling PL0 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/main.rs:82:29
[INFO] [stdout]    |
[INFO] [stdout] 82 |                 let newPC = (self.PC as i32 + offset);
[INFO] [stdout]    |                             ^                       ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 82 -                 let newPC = (self.PC as i32 + offset);
[INFO] [stdout] 82 +                 let newPC = self.PC as i32 + offset;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:112:33
[INFO] [stdout]     |
[INFO] [stdout] 112 |                     let newPC = (self.PC as i32 + offset);
[INFO] [stdout]     |                                 ^                       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 112 -                     let newPC = (self.PC as i32 + offset);
[INFO] [stdout] 112 +                     let newPC = self.PC as i32 + offset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:126:33
[INFO] [stdout]     |
[INFO] [stdout] 126 |                     let newPC = (self.PC as i32 + offset);
[INFO] [stdout]     |                                 ^                       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 126 -                     let newPC = (self.PC as i32 + offset);
[INFO] [stdout] 126 +                     let newPC = self.PC as i32 + offset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/main.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout] 7  | enum OPCODE {
[INFO] [stdout]    |      ------ variants in this enum
[INFO] [stdout] 8  |     ADD,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 9  |     SUB,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 10 |     MUL,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 11 |     POP,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 12 |     JMP,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 13 |     LDC(i32),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 14 |     STF, // Store Frame
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 15 |     LDF, // Load Frame
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 16 |     BRT, // Branch True
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 17 |     BRF, // Branch False
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 18 |     WRT, // Write
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 19 |     HALT
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OPCODE` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StackMachine` is never constructed
[INFO] [stdout]   --> src/main.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct StackMachine {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `Location`, `OpCode`, and `Result` are never read
[INFO] [stdout]   --> src/main.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct StepResult {
[INFO] [stdout]    |        ---------- fields in this struct
[INFO] [stdout] 31 |     Location: usize,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 32 |     OpCode: OPCODE,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 33 |     Result: Result<Option<i32>, String>
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StepResult` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `load`, `step`, and `run` are never used
[INFO] [stdout]    --> src/main.rs:37:8
[INFO] [stdout]     |
[INFO] [stdout] 36  | impl StackMachine {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] 37  |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 46  |     fn load(&mut self, program: Vec<OPCODE>) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52  |     fn step(&mut self) -> Result<Option<i32>, String> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     fn run(&mut self) -> Vec<StepResult> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_results` is never used
[INFO] [stdout]    --> src/main.rs:168:4
[INFO] [stdout]     |
[INFO] [stdout] 168 | fn print_results(results: Vec<StepResult>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/token.rs:3:5
[INFO] [stdout]    |
[INFO] [stdout] 2  | enum Token {
[INFO] [stdout]    |      ----- variants in this enum
[INFO] [stdout] 3  |     PERIOD,                        // .
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 4  |     SEMICOLON,                     // ;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 5  |     COMMA,                         // ,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 6  |     ASSIGN,                        // :=
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 7  |     LPAREN,                        // (
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 8  |     RPAREN,                        // )
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 9  |     PLUS,                          // +
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 10 |     MINUS,                         // -
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 11 |     TIMES,                         // *
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 12 |     SLASH,                         // /
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 13 |     EQUAL,                         // =
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 14 |     EQUIV,                         // ==
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 15 |     NEQUAL,                        // <>
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 16 |     LESS,                          // <
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 17 |     LEQUAL,                        // <=
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 18 |     GREATER,                       // >
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 19 |     GEQUAL,                        // >=
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 20 |     WHILE,                         // while
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 21 |     THEN,                          // then
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 22 |     ELSE,                          // else
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 23 |     END,                           // end
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 24 |     IF,                            // if
[INFO] [stdout]    |     ^^
[INFO] [stdout] 25 |     IDENTIFIER(String),            // [a-zA-Z][a-zA-Z0-9]*
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 26 |     NUMBER(i32),                   // [0-9]+
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 27 |     INVALID(String, usize, usize), // Anything Else
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Token` 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: associated function `read_token` is never used
[INFO] [stdout]   --> src/token.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl Token {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 31 |     fn read_token(text: &String, a: usize, b: usize) -> (Token, usize) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read` is never used
[INFO] [stdout]   --> src/token.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn read(text: String) -> Vec<Token> {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `PL0` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `pl0`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Stack` should have a snake case name
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     Stack: Vec<i32>,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to snake case (notice the capitalization): `stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Variables` should have a snake case name
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     Variables: HashMap<i32, i32>,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `variables`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Program` should have a snake case name
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     Program: Vec<OPCODE>,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to snake case: `program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `PC` should have a snake case name
[INFO] [stdout]   --> src/main.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     PC: usize
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case: `pc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Location` should have a snake case name
[INFO] [stdout]   --> src/main.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     Location: usize,
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to snake case: `location`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `OpCode` should have a snake case name
[INFO] [stdout]   --> src/main.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     OpCode: OPCODE,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to snake case: `op_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Result` should have a snake case name
[INFO] [stdout]   --> src/main.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     Result: Result<Option<i32>, String>
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to snake case: `result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newPC` should have a snake case name
[INFO] [stdout]   --> src/main.rs:82:21
[INFO] [stdout]    |
[INFO] [stdout] 82 |                 let newPC = (self.PC as i32 + offset);
[INFO] [stdout]    |                     ^^^^^ help: convert the identifier to snake case: `new_pc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newPC` should have a snake case name
[INFO] [stdout]    --> src/main.rs:112:25
[INFO] [stdout]     |
[INFO] [stdout] 112 |                     let newPC = (self.PC as i32 + offset);
[INFO] [stdout]     |                         ^^^^^ help: convert the identifier to snake case: `new_pc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newPC` should have a snake case name
[INFO] [stdout]    --> src/main.rs:126:25
[INFO] [stdout]     |
[INFO] [stdout] 126 |                     let newPC = (self.PC as i32 + offset);
[INFO] [stdout]     |                         ^^^^^ help: convert the identifier to snake case: `new_pc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 22 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.15s
[INFO] running `Command { std: "docker" "inspect" "e97ab9cf8466d220c192b20b8ff82fd631231bf0d7029fff7967f0120d82a662", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e97ab9cf8466d220c192b20b8ff82fd631231bf0d7029fff7967f0120d82a662", kill_on_drop: false }`
[INFO] [stdout] e97ab9cf8466d220c192b20b8ff82fd631231bf0d7029fff7967f0120d82a662
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ab365b42bf54352785992678fd828d1bb5bc6d4eba5f7ec4896b78421f1e6e0a
[INFO] running `Command { std: "docker" "start" "-a" "ab365b42bf54352785992678fd828d1bb5bc6d4eba5f7ec4896b78421f1e6e0a", kill_on_drop: false }`
[INFO] [stderr]    Compiling PL0 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/main.rs:82:29
[INFO] [stdout]    |
[INFO] [stdout] 82 |                 let newPC = (self.PC as i32 + offset);
[INFO] [stdout]    |                             ^                       ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 82 -                 let newPC = (self.PC as i32 + offset);
[INFO] [stdout] 82 +                 let newPC = self.PC as i32 + offset;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:112:33
[INFO] [stdout]     |
[INFO] [stdout] 112 |                     let newPC = (self.PC as i32 + offset);
[INFO] [stdout]     |                                 ^                       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 112 -                     let newPC = (self.PC as i32 + offset);
[INFO] [stdout] 112 +                     let newPC = self.PC as i32 + offset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:126:33
[INFO] [stdout]     |
[INFO] [stdout] 126 |                     let newPC = (self.PC as i32 + offset);
[INFO] [stdout]     |                                 ^                       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 126 -                     let newPC = (self.PC as i32 + offset);
[INFO] [stdout] 126 +                     let newPC = self.PC as i32 + offset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/main.rs:231:9
[INFO] [stdout]     |
[INFO] [stdout] 231 | /         /**
[INFO] [stdout] 232 | |          * var
[INFO] [stdout] 233 | |          *  x: int; i: int;
[INFO] [stdout] 234 | |          * begin
[INFO] [stdout] ...   |
[INFO] [stdout] 242 | |          * end
[INFO] [stdout] 243 | |          */
[INFO] [stdout]     | |___________^
[INFO] [stdout] 244 |           let mut machine = StackMachine::new();
[INFO] [stdout]     |           -------------------------------------- rustdoc does not generate documentation for statements
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `/* */` for a plain comment
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `JMP`, `LDF`, `BRT`, `BRF`, and `WRT` are never constructed
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 7  | enum OPCODE {
[INFO] [stdout]    |      ------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 12 |     JMP,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     LDF, // Load Frame
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 16 |     BRT, // Branch True
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 17 |     BRF, // Branch False
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 18 |     WRT, // Write
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OPCODE` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `PL0` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `pl0`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Stack` should have a snake case name
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     Stack: Vec<i32>,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to snake case (notice the capitalization): `stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Variables` should have a snake case name
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     Variables: HashMap<i32, i32>,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `variables`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Program` should have a snake case name
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     Program: Vec<OPCODE>,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to snake case: `program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `PC` should have a snake case name
[INFO] [stdout]   --> src/main.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     PC: usize
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case: `pc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Location` should have a snake case name
[INFO] [stdout]   --> src/main.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     Location: usize,
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to snake case: `location`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `OpCode` should have a snake case name
[INFO] [stdout]   --> src/main.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     OpCode: OPCODE,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to snake case: `op_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Result` should have a snake case name
[INFO] [stdout]   --> src/main.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     Result: Result<Option<i32>, String>
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to snake case: `result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newPC` should have a snake case name
[INFO] [stdout]   --> src/main.rs:82:21
[INFO] [stdout]    |
[INFO] [stdout] 82 |                 let newPC = (self.PC as i32 + offset);
[INFO] [stdout]    |                     ^^^^^ help: convert the identifier to snake case: `new_pc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newPC` should have a snake case name
[INFO] [stdout]    --> src/main.rs:112:25
[INFO] [stdout]     |
[INFO] [stdout] 112 |                     let newPC = (self.PC as i32 + offset);
[INFO] [stdout]     |                         ^^^^^ help: convert the identifier to snake case: `new_pc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newPC` should have a snake case name
[INFO] [stdout]    --> src/main.rs:126:25
[INFO] [stdout]     |
[INFO] [stdout] 126 |                     let newPC = (self.PC as i32 + offset);
[INFO] [stdout]     |                         ^^^^^ help: convert the identifier to snake case: `new_pc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Tests` should have a snake case name
[INFO] [stdout]    --> src/token.rs:104:5
[INFO] [stdout]     |
[INFO] [stdout] 104 | mod Tests {
[INFO] [stdout]     |     ^^^^^ help: convert the identifier to snake case: `tests`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.34s
[INFO] running `Command { std: "docker" "inspect" "ab365b42bf54352785992678fd828d1bb5bc6d4eba5f7ec4896b78421f1e6e0a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ab365b42bf54352785992678fd828d1bb5bc6d4eba5f7ec4896b78421f1e6e0a", kill_on_drop: false }`
[INFO] [stdout] ab365b42bf54352785992678fd828d1bb5bc6d4eba5f7ec4896b78421f1e6e0a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f83ccd9f30f30d0137a316d248a364cb4ae7af3605269400a5b91c84466a7c93
[INFO] running `Command { std: "docker" "start" "-a" "f83ccd9f30f30d0137a316d248a364cb4ae7af3605269400a5b91c84466a7c93", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/main.rs:82:29
[INFO] [stderr]    |
[INFO] [stderr] 82 |                 let newPC = (self.PC as i32 + offset);
[INFO] [stderr]    |                             ^                       ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 82 -                 let newPC = (self.PC as i32 + offset);
[INFO] [stderr] 82 +                 let newPC = self.PC as i32 + offset;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]    --> src/main.rs:112:33
[INFO] [stderr]     |
[INFO] [stderr] 112 |                     let newPC = (self.PC as i32 + offset);
[INFO] [stderr]     |                                 ^                       ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 112 -                     let newPC = (self.PC as i32 + offset);
[INFO] [stderr] 112 +                     let newPC = self.PC as i32 + offset;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]    --> src/main.rs:126:33
[INFO] [stderr]     |
[INFO] [stderr] 126 |                     let newPC = (self.PC as i32 + offset);
[INFO] [stderr]     |                                 ^                       ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 126 -                     let newPC = (self.PC as i32 + offset);
[INFO] [stderr] 126 +                     let newPC = self.PC as i32 + offset;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> src/main.rs:231:9
[INFO] [stderr]     |
[INFO] [stderr] 231 | /         /**
[INFO] [stderr] 232 | |          * var
[INFO] [stderr] 233 | |          *  x: int; i: int;
[INFO] [stderr] 234 | |          * begin
[INFO] [stderr] ...   |
[INFO] [stderr] 242 | |          * end
[INFO] [stderr] 243 | |          */
[INFO] [stderr]     | |___________^
[INFO] [stderr] 244 |           let mut machine = StackMachine::new();
[INFO] [stderr]     |           -------------------------------------- rustdoc does not generate documentation for statements
[INFO] [stderr]     |
[INFO] [stderr]     = help: use `/* */` for a plain comment
[INFO] [stderr]     = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variants `JMP`, `LDF`, `BRT`, `BRF`, and `WRT` are never constructed
[INFO] [stderr]   --> src/main.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 7  | enum OPCODE {
[INFO] [stderr]    |      ------ variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 12 |     JMP,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] ...
[INFO] [stderr] 15 |     LDF, // Load Frame
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 16 |     BRT, // Branch True
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 17 |     BRF, // Branch False
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 18 |     WRT, // Write
[INFO] [stderr]    |     ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `OPCODE` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: crate `PL0` should have a snake case name
[INFO] [stderr]   |
[INFO] [stderr]   = help: convert the identifier to snake case: `pl0`
[INFO] [stderr]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `Stack` should have a snake case name
[INFO] [stderr]   --> src/main.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 23 |     Stack: Vec<i32>,
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to snake case (notice the capitalization): `stack`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `Variables` should have a snake case name
[INFO] [stderr]   --> src/main.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 |     Variables: HashMap<i32, i32>,
[INFO] [stderr]    |     ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `variables`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `Program` should have a snake case name
[INFO] [stderr]   --> src/main.rs:25:5
[INFO] [stderr]    |
[INFO] [stderr] 25 |     Program: Vec<OPCODE>,
[INFO] [stderr]    |     ^^^^^^^ help: convert the identifier to snake case: `program`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `PC` should have a snake case name
[INFO] [stderr]   --> src/main.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 |     PC: usize
[INFO] [stderr]    |     ^^ help: convert the identifier to snake case: `pc`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `Location` should have a snake case name
[INFO] [stderr]   --> src/main.rs:31:5
[INFO] [stderr]    |
[INFO] [stderr] 31 |     Location: usize,
[INFO] [stderr]    |     ^^^^^^^^ help: convert the identifier to snake case: `location`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `OpCode` should have a snake case name
[INFO] [stderr]   --> src/main.rs:32:5
[INFO] [stderr]    |
[INFO] [stderr] 32 |     OpCode: OPCODE,
[INFO] [stderr]    |     ^^^^^^ help: convert the identifier to snake case: `op_code`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `Result` should have a snake case name
[INFO] [stderr]   --> src/main.rs:33:5
[INFO] [stderr]    |
[INFO] [stderr] 33 |     Result: Result<Option<i32>, String>
[INFO] [stderr]    |     ^^^^^^ help: convert the identifier to snake case: `result`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `newPC` should have a snake case name
[INFO] [stderr]   --> src/main.rs:82:21
[INFO] [stderr]    |
[INFO] [stderr] 82 |                 let newPC = (self.PC as i32 + offset);
[INFO] [stderr]    |                     ^^^^^ help: convert the identifier to snake case: `new_pc`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `newPC` should have a snake case name
[INFO] [stderr]    --> src/main.rs:112:25
[INFO] [stderr]     |
[INFO] [stderr] 112 |                     let newPC = (self.PC as i32 + offset);
[INFO] [stderr]     |                         ^^^^^ help: convert the identifier to snake case: `new_pc`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `newPC` should have a snake case name
[INFO] [stderr]    --> src/main.rs:126:25
[INFO] [stderr]     |
[INFO] [stderr] 126 |                     let newPC = (self.PC as i32 + offset);
[INFO] [stderr]     |                         ^^^^^ help: convert the identifier to snake case: `new_pc`
[INFO] [stderr] 
[INFO] [stderr] warning: module `Tests` should have a snake case name
[INFO] [stderr]    --> src/token.rs:104:5
[INFO] [stderr]     |
[INFO] [stderr] 104 | mod Tests {
[INFO] [stderr]     |     ^^^^^ help: convert the identifier to snake case: `tests`
[INFO] [stderr] 
[INFO] [stderr] warning: `PL0` (bin "PL0" test) generated 17 warnings (run `cargo fix --bin "PL0" --tests` to apply 3 suggestions)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.00s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/PL0-fb4a551f3be26938)
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test tests::test_add ... ok
[INFO] [stdout] test tests::test_sub ... ok
[INFO] [stdout] test tests::test_mul ... ok
[INFO] [stdout] test token::Tests::test_read_token ... ok
[INFO] [stdout] test token::Tests::test_read_token_2 ... ok
[INFO] [stdout] test token::Tests::test_read_program ... FAILED
[INFO] [stdout] test tests::test_q2 ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- token::Tests::test_read_program stdout ----
[INFO] [stdout] IF =?= IF
[INFO] [stdout] IDENTIFIER("x") =?= IDENTIFIER("x")
[INFO] [stdout] EQUIV =?= IDENTIFIER("x")
[INFO] [stdout] thread 'token::Tests::test_read_program' panicked at src/token.rs:159:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: [IF, IDENTIFIER("x"), EQUIV, NUMBER(1), THEN, IDENTIFIER("x"), ASSIGN, IDENTIFIER("y"), PLUS, NUMBER(2), ELSE, IDENTIFIER("x"), ASSIGN, NUMBER(0), END, IDENTIFIER("x"), ASSIGN, IDENTIFIER("x"), PLUS, NUMBER(1), SEMICOLON]
[INFO] [stdout]  right: [IF, IDENTIFIER("x"), IDENTIFIER("x")]
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5615d6b1043c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x5615d6b1043c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5615d6b1043c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x5615d6b1043c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x5615d6b3a2c0 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x5615d6b3a2c0 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x5615d6b0ddef - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x5615d6b10224 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x5615d6b10224 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x5615d6b11ee7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x5615d6b11bd3 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x5615d6ae25e7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x5615d6ae25e7 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x5615d6b124f8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x5615d6b124f8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x5615d6b1224e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x5615d6b10906 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x5615d6b11fb2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x5615d6a92cf5 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x5615d6a9310b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x5615d6a9f2ae - core::panicking::assert_failed::h862259c5e08ef2aa
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x5615d6aa1a6c - PL0::token::Tests::test_read_program::h9d7609c78d66a557
[INFO] [stdout]                                at /opt/rustwide/workdir/src/token.rs:159:9
[INFO] [stdout]   22:     0x5615d6aa0fc7 - PL0::token::Tests::test_read_program::{{closure}}::h3e31897e3b9bde9b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/token.rs:126:27
[INFO] [stdout]   23:     0x5615d6a9d3d6 - core::ops::function::FnOnce::call_once::h5001c90047907c62
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5615d6ae7c3f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5615d6ae7c3f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   26:     0x5615d6ae6c55 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   27:     0x5615d6ae6c55 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5615d6ae6c55 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   29:     0x5615d6ae6c55 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   30:     0x5615d6ae6c55 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   31:     0x5615d6ae6c55 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   32:     0x5615d6ae6c55 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   33:     0x5615d6aaef16 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   34:     0x5615d6aaef16 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   35:     0x5615d6ab3fc7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   36:     0x5615d6ab3fc7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5615d6ab3fc7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   38:     0x5615d6ab3fc7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   39:     0x5615d6ab3fc7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   40:     0x5615d6ab3fc7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   41:     0x5615d6ab3fc7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5615d6b16f85 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   43:     0x5615d6b16f85 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x5615d6b16f85 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   45:     0x7f191d632ac3 - <unknown>
[INFO] [stdout]   46:     0x7f191d6c3bf4 - __clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- tests::test_q2 stdout ----
[INFO] [stdout] thread 'tests::test_q2' panicked at src/main.rs:153:38:
[INFO] [stdout] index out of bounds: the len is 6 but the index is 6
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5615d6b1043c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x5615d6b1043c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5615d6b1043c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x5615d6b1043c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x5615d6b3a2c0 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x5615d6b3a2c0 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x5615d6b0ddef - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x5615d6b10224 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x5615d6b10224 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x5615d6b11ee7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x5615d6b11bd3 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x5615d6ae25e7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x5615d6ae25e7 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x5615d6b124f8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x5615d6b124f8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x5615d6b1224e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x5615d6b10906 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x5615d6b11fb2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x5615d6a92cf5 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x5615d6a92eb2 - core::panicking::panic_bounds_check::h326a19b32dc06d6d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:190:5
[INFO] [stdout]   20:     0x5615d6aab0fe - <usize as core::slice::index::SliceIndex<[T]>>::index::haca1b58728e6c55b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/slice/index.rs:258:10
[INFO] [stdout]   21:     0x5615d6aa4700 - core::slice::index::<impl core::ops::index::Index<I> for [T]>::index::h9014f9948616b5c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/slice/index.rs:18:9
[INFO] [stdout]   22:     0x5615d6aa4700 - <alloc::vec::Vec<T,A> as core::ops::index::Index<I>>::index::h164b7a5e4ea7241d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/vec/mod.rs:2732:9
[INFO] [stdout]   23:     0x5615d6aa64fe - PL0::StackMachine::run::h35fde9345c2ff447
[INFO] [stdout]                                at /opt/rustwide/workdir/src/main.rs:153:38
[INFO] [stdout]   24:     0x5615d6aa2f1b - PL0::tests::test_q2::h27ab28b3fca13f70
[INFO] [stdout]                                at /opt/rustwide/workdir/src/main.rs:250:23
[INFO] [stdout]   25:     0x5615d6aa2d67 - PL0::tests::test_q2::{{closure}}::h4128c6d1a5796c73
[INFO] [stdout]                                at /opt/rustwide/workdir/src/main.rs:230:17
[INFO] [stdout]   26:     0x5615d6a9d5f6 - core::ops::function::FnOnce::call_once::he2588e4a93e1a947
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   27:     0x5615d6ae7c3f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x5615d6ae7c3f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   29:     0x5615d6ae6c55 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   30:     0x5615d6ae6c55 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   31:     0x5615d6ae6c55 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   32:     0x5615d6ae6c55 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   33:     0x5615d6ae6c55 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   34:     0x5615d6ae6c55 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   35:     0x5615d6ae6c55 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   36:     0x5615d6aaef16 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   37:     0x5615d6aaef16 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   38:     0x5615d6ab3fc7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   39:     0x5615d6ab3fc7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   40:     0x5615d6ab3fc7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   41:     0x5615d6ab3fc7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   42:     0x5615d6ab3fc7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   43:     0x5615d6ab3fc7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   44:     0x5615d6ab3fc7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x5615d6b16f85 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   46:     0x5615d6b16f85 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   47:     0x5615d6b16f85 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   48:     0x7f191d632ac3 - <unknown>
[INFO] [stdout]   49:     0x7f191d6c3bf4 - __clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tests::test_q2
[INFO] [stdout]     token::Tests::test_read_program
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 5 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin PL0`
[INFO] running `Command { std: "docker" "inspect" "f83ccd9f30f30d0137a316d248a364cb4ae7af3605269400a5b91c84466a7c93", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f83ccd9f30f30d0137a316d248a364cb4ae7af3605269400a5b91c84466a7c93", kill_on_drop: false }`
[INFO] [stdout] f83ccd9f30f30d0137a316d248a364cb4ae7af3605269400a5b91c84466a7c93
