[INFO] cloning repository https://github.com/DuskyElf/rpg-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DuskyElf/rpg-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDuskyElf%2Frpg-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDuskyElf%2Frpg-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 17ffcaa91e2395b17539d9f08eec5018d05aa9b2
[INFO] checking DuskyElf/rpg-rs against try#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDuskyElf%2Frpg-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/DuskyElf/rpg-rs
[INFO] finished tweaking git repo https://github.com/DuskyElf/rpg-rs
[INFO] tweaked toml for git repo https://github.com/DuskyElf/rpg-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DuskyElf/rpg-rs on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/DuskyElf/rpg-rs 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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e7f842dc2d0c20328767007f37bb392db4790ba79fd35995c7a4a00adda27221
[INFO] running `Command { std: "docker" "start" "-a" "e7f842dc2d0c20328767007f37bb392db4790ba79fd35995c7a4a00adda27221", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e7f842dc2d0c20328767007f37bb392db4790ba79fd35995c7a4a00adda27221", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7f842dc2d0c20328767007f37bb392db4790ba79fd35995c7a4a00adda27221", kill_on_drop: false }`
[INFO] [stdout] e7f842dc2d0c20328767007f37bb392db4790ba79fd35995c7a4a00adda27221
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6b6118f0bd38650eae0ed5c5692d23798dafaff9b9e897ca64c0dc415e26989c
[INFO] running `Command { std: "docker" "start" "-a" "6b6118f0bd38650eae0ed5c5692d23798dafaff9b9e897ca64c0dc415e26989c", kill_on_drop: false }`
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling libc v0.2.133
[INFO] [stderr]    Compiling ncurses v5.101.0
[INFO] [stderr]     Checking pancurses v0.17.0
[INFO] [stderr]     Checking rpg-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]    --> src/lang.rs:467:19
[INFO] [stdout]     |
[INFO] [stdout] 467 |                 ))
[INFO] [stdout]     |                   ^ help: add `;` here
[INFO] [stdout] 468 |
[INFO] [stdout] 469 |             let node_starting = if let Some(token) = self.tokens.next() {
[INFO] [stdout]     |             --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]    --> src/lang.rs:467:19
[INFO] [stdout]     |
[INFO] [stdout] 467 |                 ))
[INFO] [stdout]     |                   ^ help: add `;` here
[INFO] [stdout] 468 |
[INFO] [stdout] 469 |             let node_starting = if let Some(token) = self.tokens.next() {
[INFO] [stdout]     |             --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lang.rs:505:52
[INFO] [stdout]     |
[INFO] [stdout] 505 |             branches.push(Branch::new(branch_name, branch_node_block))
[INFO] [stdout]     |                           -----------              ^^^^^^^^^^^^^^^^^ expected `OpCode`, found `Vec<OpCode>`
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `models::OpCode`
[INFO] [stdout]              found struct `Vec<models::OpCode>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/models.rs:42:12
[INFO] [stdout]     |
[INFO] [stdout]  42 |     pub fn new(option: String, handler: OpCode) -> Self {
[INFO] [stdout]     |            ^^^                 ---------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lang.rs:505:52
[INFO] [stdout]     |
[INFO] [stdout] 505 |             branches.push(Branch::new(branch_name, branch_node_block))
[INFO] [stdout]     |                           -----------              ^^^^^^^^^^^^^^^^^ expected `OpCode`, found `Vec<OpCode>`
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `models::OpCode`
[INFO] [stdout]              found struct `Vec<models::OpCode>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/models.rs:42:12
[INFO] [stdout]     |
[INFO] [stdout]  42 |     pub fn new(option: String, handler: OpCode) -> Self {
[INFO] [stdout]     |            ^^^                 ---------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `new_branch` found for enum `models::OpCode` in the current scope
[INFO] [stdout]    --> src/lang.rs:508:20
[INFO] [stdout]     |
[INFO] [stdout] 508 |         Ok(OpCode::new_branch(question, branches))
[INFO] [stdout]     |                    ^^^^^^^^^^ variant or associated item not found in `models::OpCode`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/models.rs:26:1
[INFO] [stdout]     |
[INFO] [stdout]  26 | pub enum OpCode {
[INFO] [stdout]     | --------------- variant or associated item `new_branch` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `new_branch` found for enum `models::OpCode` in the current scope
[INFO] [stdout]    --> src/lang.rs:508:20
[INFO] [stdout]     |
[INFO] [stdout] 508 |         Ok(OpCode::new_branch(question, branches))
[INFO] [stdout]     |                    ^^^^^^^^^^ variant or associated item not found in `models::OpCode`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/models.rs:26:1
[INFO] [stdout]     |
[INFO] [stdout]  26 | pub enum OpCode {
[INFO] [stdout]     | --------------- variant or associated item `new_branch` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `contains` found for struct `HashMap<K, V, S>` in the current scope
[INFO] [stdout]    --> src/lang.rs:535:48
[INFO] [stdout]     |
[INFO] [stdout] 535 |                     if !self.value_identifiers.contains(&number) {
[INFO] [stdout]     |                                                ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `contains_key` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 535 |                     if !self.value_identifiers.contains_key(&number) {
[INFO] [stdout]     |                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `contains` found for struct `HashMap<K, V, S>` in the current scope
[INFO] [stdout]    --> src/lang.rs:535:48
[INFO] [stdout]     |
[INFO] [stdout] 535 |                     if !self.value_identifiers.contains(&number) {
[INFO] [stdout]     |                                                ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `contains_key` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 535 |                     if !self.value_identifiers.contains_key(&number) {
[INFO] [stdout]     |                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of index of `Vec<models::OpCode>`
[INFO] [stdout]  --> src/runtime.rs:8:26
[INFO] [stdout]   |
[INFO] [stdout] 8 |         let is_end = run(byte_code[iptr], &mut iptr, game);
[INFO] [stdout]   |                          ^^^^^^^^^^^^^^^ move occurs because value has type `models::OpCode`, which does not implement the `Copy` trait
[INFO] [stdout]   |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]   |
[INFO] [stdout] 8 |         let is_end = run(byte_code[iptr].clone(), &mut iptr, game);
[INFO] [stdout]   |                                         ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of index of `Vec<models::OpCode>`
[INFO] [stdout]  --> src/runtime.rs:8:26
[INFO] [stdout]   |
[INFO] [stdout] 8 |         let is_end = run(byte_code[iptr], &mut iptr, game);
[INFO] [stdout]   |                          ^^^^^^^^^^^^^^^ move occurs because value has type `models::OpCode`, which does not implement the `Copy` trait
[INFO] [stdout]   |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]   |
[INFO] [stdout] 8 |         let is_end = run(byte_code[iptr].clone(), &mut iptr, game);
[INFO] [stdout]   |                                         ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `branch.handler` which is behind a shared reference
[INFO] [stdout]   --> src/runtime.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 64 |     branch.handler
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ move occurs because `branch.handler` has type `models::OpCode`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 64 |     branch.handler.clone()
[INFO] [stdout]    |                   ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `branch.handler` which is behind a shared reference
[INFO] [stdout]   --> src/runtime.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 64 |     branch.handler
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ move occurs because `branch.handler` has type `models::OpCode`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 64 |     branch.handler.clone()
[INFO] [stdout]    |                   ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `info`
[INFO] [stdout]   --> src/runtime.rs:84:15
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn parse(info: String, game: &Game) -> String {
[INFO] [stdout]    |          ---- move occurs because `info` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 84 |     while i < info.len() {
[INFO] [stdout]    |     ----------^^^^------
[INFO] [stdout]    |     |         |
[INFO] [stdout]    |     |         value borrowed here after move
[INFO] [stdout]    |     inside of this loop
[INFO] [stdout] ...
[INFO] [stdout] 87 |             result += &handle_states(&mut i, info, game);
[INFO] [stdout]    |                                              ---- value moved here, in previous iteration of loop
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `handle_states` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> src/runtime.rs:99:39
[INFO] [stdout]    |
[INFO] [stdout] 99 | fn handle_states(i: &mut usize, info: String, game: &Game) -> String {
[INFO] [stdout]    |    ------------- in this function     ^^^^^^ this parameter takes ownership of the value
[INFO] [stdout] help: consider moving the expression out of the loop so it is only moved once
[INFO] [stdout]    |
[INFO] [stdout] 84 ~     let mut value = handle_states(&mut i, info, game);
[INFO] [stdout] 85 ~     while i < info.len() {
[INFO] [stdout] 86 |         let letter = info.chars().nth(i).unwrap();
[INFO] [stdout] 87 |         if letter == '$' {
[INFO] [stdout] 88 ~             result += &value;
[INFO] [stdout]    |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 87 |             result += &handle_states(&mut i, info.clone(), game);
[INFO] [stdout]    |                                                  ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `info`
[INFO] [stdout]   --> src/runtime.rs:84:15
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn parse(info: String, game: &Game) -> String {
[INFO] [stdout]    |          ---- move occurs because `info` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 84 |     while i < info.len() {
[INFO] [stdout]    |     ----------^^^^------
[INFO] [stdout]    |     |         |
[INFO] [stdout]    |     |         value borrowed here after move
[INFO] [stdout]    |     inside of this loop
[INFO] [stdout] ...
[INFO] [stdout] 87 |             result += &handle_states(&mut i, info, game);
[INFO] [stdout]    |                                              ---- value moved here, in previous iteration of loop
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `handle_states` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> src/runtime.rs:99:39
[INFO] [stdout]    |
[INFO] [stdout] 99 | fn handle_states(i: &mut usize, info: String, game: &Game) -> String {
[INFO] [stdout]    |    ------------- in this function     ^^^^^^ this parameter takes ownership of the value
[INFO] [stdout] help: consider moving the expression out of the loop so it is only moved once
[INFO] [stdout]    |
[INFO] [stdout] 84 ~     let mut value = handle_states(&mut i, info, game);
[INFO] [stdout] 85 ~     while i < info.len() {
[INFO] [stdout] 86 |         let letter = info.chars().nth(i).unwrap();
[INFO] [stdout] 87 |         if letter == '$' {
[INFO] [stdout] 88 ~             result += &value;
[INFO] [stdout]    |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 87 |             result += &handle_states(&mut i, info.clone(), game);
[INFO] [stdout]    |                                                  ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing function parameter `branches`
[INFO] [stdout]    --> src/runtime.rs:162:5
[INFO] [stdout]     |
[INFO] [stdout] 162 |     branches.get(selection).unwrap()
[INFO] [stdout]     |     --------^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     returns a value referencing data owned by the current function
[INFO] [stdout]     |     `branches` is borrowed here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing function parameter `branches`
[INFO] [stdout]    --> src/runtime.rs:162:5
[INFO] [stdout]     |
[INFO] [stdout] 162 |     branches.get(selection).unwrap()
[INFO] [stdout]     |     --------^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     returns a value referencing data owned by the current function
[INFO] [stdout]     |     `branches` is borrowed here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lang.rs:157:13
[INFO] [stdout]     |
[INFO] [stdout] 157 |         let mut letter = self.source.chars().nth(self.index).unwrap();
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lang.rs:157:13
[INFO] [stdout]     |
[INFO] [stdout] 157 |         let mut letter = self.source.chars().nth(self.index).unwrap();
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lang.rs:168:17
[INFO] [stdout]     |
[INFO] [stdout] 168 |             let mut letter = self.source.chars().nth(self.index).unwrap();
[INFO] [stdout]     |                 ----^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `identifier` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/lang.rs:163:13
[INFO] [stdout]     |
[INFO] [stdout] 163 |             identifier.write_char(letter).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let mut identifier = String::new();
[INFO] [stdout]     |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `letter`
[INFO] [stdout]    --> src/lang.rs:168:17
[INFO] [stdout]     |
[INFO] [stdout] 168 |             let mut letter = self.source.chars().nth(self.index).unwrap();
[INFO] [stdout]     |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_letter`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lang.rs:168:17
[INFO] [stdout]     |
[INFO] [stdout] 168 |             let mut letter = self.source.chars().nth(self.index).unwrap();
[INFO] [stdout]     |                 ----^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `identifier` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/lang.rs:163:13
[INFO] [stdout]     |
[INFO] [stdout] 163 |             identifier.write_char(letter).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let mut identifier = String::new();
[INFO] [stdout]     |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `letter`
[INFO] [stdout]    --> src/lang.rs:168:17
[INFO] [stdout]     |
[INFO] [stdout] 168 |             let mut letter = self.source.chars().nth(self.index).unwrap();
[INFO] [stdout]     |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_letter`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.curr_token.token_type` as enum variant `Identifier` which is behind a mutable reference
[INFO] [stdout]    --> src/lang.rs:288:52
[INFO] [stdout]     |
[INFO] [stdout] 288 |         if let TokenType::Identifier(identifier) = self.curr_token.token_type {
[INFO] [stdout]     |                                      ----------    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                      |
[INFO] [stdout]     |                                      data moved here
[INFO] [stdout]     |                                      move occurs because `identifier` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 288 |         if let TokenType::Identifier(identifier) = &self.curr_token.token_type {
[INFO] [stdout]     |                                                    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.curr_token.token_type` as enum variant `Identifier` which is behind a mutable reference
[INFO] [stdout]    --> src/lang.rs:335:52
[INFO] [stdout]     |
[INFO] [stdout] 335 |         if let TokenType::Identifier(identifier) = self.curr_token.token_type {
[INFO] [stdout]     |                                      ----------    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                      |
[INFO] [stdout]     |                                      data moved here
[INFO] [stdout]     |                                      move occurs because `identifier` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 335 |         if let TokenType::Identifier(identifier) = &self.curr_token.token_type {
[INFO] [stdout]     |                                                    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block_spot`
[INFO] [stdout]    --> src/lang.rs:329:43
[INFO] [stdout]     |
[INFO] [stdout] 329 |     fn expr(&mut self, value_spot: usize, block_spot: usize) -> Result<ExprType, Error> {
[INFO] [stdout]     |                                           ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_spot`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `identifier`
[INFO] [stdout]    --> src/lang.rs:335:38
[INFO] [stdout]     |
[INFO] [stdout] 335 |         if let TokenType::Identifier(identifier) = self.curr_token.token_type {
[INFO] [stdout]     |                                      ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value_spot`
[INFO] [stdout]    --> src/lang.rs:346:24
[INFO] [stdout]     |
[INFO] [stdout] 346 |     fn tell(&mut self, value_spot: usize) -> Result<(), Error> {
[INFO] [stdout]     |                        ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_spot`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.curr_token.token_type` as enum variant `Identifier` which is behind a mutable reference
[INFO] [stdout]    --> src/lang.rs:288:52
[INFO] [stdout]     |
[INFO] [stdout] 288 |         if let TokenType::Identifier(identifier) = self.curr_token.token_type {
[INFO] [stdout]     |                                      ----------    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                      |
[INFO] [stdout]     |                                      data moved here
[INFO] [stdout]     |                                      move occurs because `identifier` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 288 |         if let TokenType::Identifier(identifier) = &self.curr_token.token_type {
[INFO] [stdout]     |                                                    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.curr_token.token_type` as enum variant `Identifier` which is behind a mutable reference
[INFO] [stdout]    --> src/lang.rs:335:52
[INFO] [stdout]     |
[INFO] [stdout] 335 |         if let TokenType::Identifier(identifier) = self.curr_token.token_type {
[INFO] [stdout]     |                                      ----------    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                      |
[INFO] [stdout]     |                                      data moved here
[INFO] [stdout]     |                                      move occurs because `identifier` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 335 |         if let TokenType::Identifier(identifier) = &self.curr_token.token_type {
[INFO] [stdout]     |                                                    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block_spot`
[INFO] [stdout]    --> src/lang.rs:329:43
[INFO] [stdout]     |
[INFO] [stdout] 329 |     fn expr(&mut self, value_spot: usize, block_spot: usize) -> Result<ExprType, Error> {
[INFO] [stdout]     |                                           ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_spot`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `identifier`
[INFO] [stdout]    --> src/lang.rs:335:38
[INFO] [stdout]     |
[INFO] [stdout] 335 |         if let TokenType::Identifier(identifier) = self.curr_token.token_type {
[INFO] [stdout]     |                                      ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value_spot`
[INFO] [stdout]    --> src/lang.rs:346:24
[INFO] [stdout]     |
[INFO] [stdout] 346 |     fn tell(&mut self, value_spot: usize) -> Result<(), Error> {
[INFO] [stdout]     |                        ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_spot`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.curr_token.token_type` as enum variant `Identifier` which is behind a mutable reference
[INFO] [stdout]    --> src/lang.rs:402:29
[INFO] [stdout]     |
[INFO] [stdout] 402 |         let save_id = match self.curr_token.token_type {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 403 |             Identifier(m) => m,
[INFO] [stdout]     |                        -
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        data moved here
[INFO] [stdout]     |                        move occurs because `m` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 402 |         let save_id = match &self.curr_token.token_type {
[INFO] [stdout]     |                             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.curr_token.token_type` as enum variant `Identifier` which is behind a mutable reference
[INFO] [stdout]    --> src/lang.rs:402:29
[INFO] [stdout]     |
[INFO] [stdout] 402 |         let save_id = match self.curr_token.token_type {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 403 |             Identifier(m) => m,
[INFO] [stdout]     |                        -
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        data moved here
[INFO] [stdout]     |                        move occurs because `m` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 402 |         let save_id = match &self.curr_token.token_type {
[INFO] [stdout]     |                             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `save_id`
[INFO] [stdout]    --> src/lang.rs:402:13
[INFO] [stdout]     |
[INFO] [stdout] 402 |         let save_id = match self.curr_token.token_type {
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_save_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `question`
[INFO] [stdout]    --> src/lang.rs:416:13
[INFO] [stdout]     |
[INFO] [stdout] 416 |         let question = if let StringLiteral(question) = question_token.token_type {
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_question`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `save_id`
[INFO] [stdout]    --> src/lang.rs:402:13
[INFO] [stdout]     |
[INFO] [stdout] 402 |         let save_id = match self.curr_token.token_type {
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_save_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `question`
[INFO] [stdout]    --> src/lang.rs:416:13
[INFO] [stdout]     |
[INFO] [stdout] 416 |         let question = if let StringLiteral(question) = question_token.token_type {
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_question`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rpg-rs` (lib) due to 12 previous errors; 8 warnings emitted
[INFO] [stdout] Some errors have detailed explanations: E0308, E0382, E0507, E0515, E0596, E0599.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0308, E0382, E0507, E0515, E0596, E0599.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rpg-rs` (lib test) due to 12 previous errors; 8 warnings emitted
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "6b6118f0bd38650eae0ed5c5692d23798dafaff9b9e897ca64c0dc415e26989c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b6118f0bd38650eae0ed5c5692d23798dafaff9b9e897ca64c0dc415e26989c", kill_on_drop: false }`
[INFO] [stdout] 6b6118f0bd38650eae0ed5c5692d23798dafaff9b9e897ca64c0dc415e26989c
