[INFO] cloning repository https://github.com/Jandhi/Hatchet
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jandhi/Hatchet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJandhi%2FHatchet", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJandhi%2FHatchet'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ce8c53b7f3f6a0d379e8352cf38ba4ccb2d56a07
[INFO] checking Jandhi/Hatchet against master#5a45ab9738330fb317d49e3594c2db5248b1e971 for pr-136303
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJandhi%2FHatchet" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Jandhi/Hatchet on toolchain 5a45ab9738330fb317d49e3594c2db5248b1e971
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Jandhi/Hatchet
[INFO] finished tweaking git repo https://github.com/Jandhi/Hatchet
[INFO] tweaked toml for git repo https://github.com/Jandhi/Hatchet written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Jandhi/Hatchet already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 18967c36612bc4494205ecb03719bf5afc436de2e4b5071dba2ec285e2a962b2
[INFO] running `Command { std: "docker" "start" "-a" "18967c36612bc4494205ecb03719bf5afc436de2e4b5071dba2ec285e2a962b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "18967c36612bc4494205ecb03719bf5afc436de2e4b5071dba2ec285e2a962b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "18967c36612bc4494205ecb03719bf5afc436de2e4b5071dba2ec285e2a962b2", kill_on_drop: false }`
[INFO] [stdout] 18967c36612bc4494205ecb03719bf5afc436de2e4b5071dba2ec285e2a962b2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1c2407a9025b678d530ed7c3515e67b6484b0ef90cba020acfa1bd00bbee3127
[INFO] running `Command { std: "docker" "start" "-a" "1c2407a9025b678d530ed7c3515e67b6484b0ef90cba020acfa1bd00bbee3127", kill_on_drop: false }`
[INFO] [stderr]     Checking hatchet v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `base_functions::load_base_scope`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use base_functions::load_base_scope;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `functions::function::Function`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use functions::function::Function;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `types::string::StringValue`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use types::string::StringValue;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `base_functions::load_base_scope`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use base_functions::load_base_scope;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `functions::function::Function`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use functions::function::Function;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `types::string::StringValue`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use types::string::StringValue;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `*self` which is behind a mutable reference
[INFO] [stdout]   --> src/value.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |         *self
[INFO] [stdout]    |         ^^^^^ move occurs because `*self` has type `Value`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line_num`
[INFO] [stdout]   --> src/lexer/lexer.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut line_num = 0;
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `character_num` is assigned to, but never used
[INFO] [stdout]   --> src/lexer/lexer.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut character_num = 0;
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_character_num` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lexer/lexer.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut line_num = 0;
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/parser/parse.rs:5:39
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn parse(mut tokens : Vec<Token>, mut localScope : &Scope, globalScope : &Scope) {
[INFO] [stdout]   |                                       ----^^^^^^^^^^
[INFO] [stdout]   |                                       |
[INFO] [stdout]   |                                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contents`
[INFO] [stdout]   --> src/parser/parse.rs:17:25
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn parse_identifier(contents : &String, mut tokens : Vec<Token>, mut localScope : &Scope, globalScope : &Scope) {
[INFO] [stdout]    |                         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `localScope`
[INFO] [stdout]   --> src/parser/parse.rs:17:74
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn parse_identifier(contents : &String, mut tokens : Vec<Token>, mut localScope : &Scope, globalScope : &Scope) {
[INFO] [stdout]    |                                                                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_localScope`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `globalScope`
[INFO] [stdout]   --> src/parser/parse.rs:17:95
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn parse_identifier(contents : &String, mut tokens : Vec<Token>, mut localScope : &Scope, globalScope : &Scope) {
[INFO] [stdout]    |                                                                                               ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_globalScope`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/parser/parse.rs:17:70
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn parse_identifier(contents : &String, mut tokens : Vec<Token>, mut localScope : &Scope, globalScope : &Scope) {
[INFO] [stdout]    |                                                                      ----^^^^^^^^^^
[INFO] [stdout]    |                                                                      |
[INFO] [stdout]    |                                                                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `*self` which is behind a mutable reference
[INFO] [stdout]   --> src/value.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |         *self
[INFO] [stdout]    |         ^^^^^ move occurs because `*self` has type `Value`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `**expr` as mutable, as it is behind a `&` reference
[INFO] [stdout]   --> src/block.rs:12:21
[INFO] [stdout]    |
[INFO] [stdout] 11 |         for expr in self.contents[1..].iter() {
[INFO] [stdout]    |                     -------------------------
[INFO] [stdout]    |                     |                  |
[INFO] [stdout]    |                     |                  help: use mutable method: `iter_mut()`
[INFO] [stdout]    |                     this iterator yields `&` references
[INFO] [stdout] 12 |             value = expr.evaluate();
[INFO] [stdout]    |                     ^^^^ `expr` is a `&` reference, so the data it refers to cannot be borrowed as mutable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0507, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0507`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line_num`
[INFO] [stdout]   --> src/lexer/lexer.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut line_num = 0;
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `character_num` is assigned to, but never used
[INFO] [stdout]   --> src/lexer/lexer.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut character_num = 0;
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_character_num` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lexer/lexer.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut line_num = 0;
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/parser/parse.rs:5:39
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn parse(mut tokens : Vec<Token>, mut localScope : &Scope, globalScope : &Scope) {
[INFO] [stdout]   |                                       ----^^^^^^^^^^
[INFO] [stdout]   |                                       |
[INFO] [stdout]   |                                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contents`
[INFO] [stdout]   --> src/parser/parse.rs:17:25
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn parse_identifier(contents : &String, mut tokens : Vec<Token>, mut localScope : &Scope, globalScope : &Scope) {
[INFO] [stdout]    |                         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `localScope`
[INFO] [stdout]   --> src/parser/parse.rs:17:74
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn parse_identifier(contents : &String, mut tokens : Vec<Token>, mut localScope : &Scope, globalScope : &Scope) {
[INFO] [stdout]    |                                                                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_localScope`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `globalScope`
[INFO] [stdout]   --> src/parser/parse.rs:17:95
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn parse_identifier(contents : &String, mut tokens : Vec<Token>, mut localScope : &Scope, globalScope : &Scope) {
[INFO] [stdout]    |                                                                                               ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_globalScope`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/parser/parse.rs:17:70
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn parse_identifier(contents : &String, mut tokens : Vec<Token>, mut localScope : &Scope, globalScope : &Scope) {
[INFO] [stdout]    |                                                                      ----^^^^^^^^^^
[INFO] [stdout]    |                                                                      |
[INFO] [stdout]    |                                                                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hatchet` (bin "hatchet") due to 2 previous errors; 11 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0596]: cannot borrow `**expr` as mutable, as it is behind a `&` reference
[INFO] [stdout]   --> src/block.rs:12:21
[INFO] [stdout]    |
[INFO] [stdout] 11 |         for expr in self.contents[1..].iter() {
[INFO] [stdout]    |                     -------------------------
[INFO] [stdout]    |                     |                  |
[INFO] [stdout]    |                     |                  help: use mutable method: `iter_mut()`
[INFO] [stdout]    |                     this iterator yields `&` references
[INFO] [stdout] 12 |             value = expr.evaluate();
[INFO] [stdout]    |                     ^^^^ `expr` is a `&` reference, so the data it refers to cannot be borrowed as mutable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0507, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0507`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hatchet` (bin "hatchet" test) due to 2 previous errors; 11 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "1c2407a9025b678d530ed7c3515e67b6484b0ef90cba020acfa1bd00bbee3127", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c2407a9025b678d530ed7c3515e67b6484b0ef90cba020acfa1bd00bbee3127", kill_on_drop: false }`
[INFO] [stdout] 1c2407a9025b678d530ed7c3515e67b6484b0ef90cba020acfa1bd00bbee3127
