[INFO] cloning repository https://github.com/jimoh-sodiq/crafting-interpreters
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jimoh-sodiq/crafting-interpreters" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimoh-sodiq%2Fcrafting-interpreters", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimoh-sodiq%2Fcrafting-interpreters'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 576752eb6041fcce78d625718e8238724296bccd
[INFO] checking jimoh-sodiq/crafting-interpreters against master#01706e1a34c87656fcbfce198608f4cd2ac6461a for pr-135272
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimoh-sodiq%2Fcrafting-interpreters" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jimoh-sodiq/crafting-interpreters on toolchain 01706e1a34c87656fcbfce198608f4cd2ac6461a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+01706e1a34c87656fcbfce198608f4cd2ac6461a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/jimoh-sodiq/crafting-interpreters
[INFO] finished tweaking git repo https://github.com/jimoh-sodiq/crafting-interpreters
[INFO] tweaked toml for git repo https://github.com/jimoh-sodiq/crafting-interpreters written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/jimoh-sodiq/crafting-interpreters 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" "+01706e1a34c87656fcbfce198608f4cd2ac6461a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+01706e1a34c87656fcbfce198608f4cd2ac6461a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 45a63b3756319f61d9914da4cef9e14342b8846007c95ad7825fddb2f5345bd6
[INFO] running `Command { std: "docker" "start" "-a" "45a63b3756319f61d9914da4cef9e14342b8846007c95ad7825fddb2f5345bd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "45a63b3756319f61d9914da4cef9e14342b8846007c95ad7825fddb2f5345bd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "45a63b3756319f61d9914da4cef9e14342b8846007c95ad7825fddb2f5345bd6", kill_on_drop: false }`
[INFO] [stdout] 45a63b3756319f61d9914da4cef9e14342b8846007c95ad7825fddb2f5345bd6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+01706e1a34c87656fcbfce198608f4cd2ac6461a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 564aa7d6ae00b850d994379b143c5144e85302c1d59170f16f090026d10de7d7
[INFO] running `Command { std: "docker" "start" "-a" "564aa7d6ae00b850d994379b143c5144e85302c1d59170f16f090026d10de7d7", kill_on_drop: false }`
[INFO] [stderr]     Checking crafting-interpreters v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fmt::write`
[INFO] [stdout]  --> src/bin/generate-ast.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::write`
[INFO] [stdout]  --> src/bin/generate-ast.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/parser.rs:47:17
[INFO] [stdout]    |
[INFO] [stdout] 47 |                 operator,
[INFO] [stdout]    |                 ^^^^^^^^ expected `Token`, found `&Token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/parser.rs:62:17
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 operator,
[INFO] [stdout]    |                 ^^^^^^^^ expected `Token`, found `&Token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/parser.rs:47:17
[INFO] [stdout]    |
[INFO] [stdout] 47 |                 operator,
[INFO] [stdout]    |                 ^^^^^^^^ expected `Token`, found `&Token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/parser.rs:77:17
[INFO] [stdout]    |
[INFO] [stdout] 77 |                 operator,
[INFO] [stdout]    |                 ^^^^^^^^ expected `Token`, found `&Token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/parser.rs:89:17
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 operator,
[INFO] [stdout]    |                 ^^^^^^^^ expected `Token`, found `&Token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/parser.rs:62:17
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 operator,
[INFO] [stdout]    |                 ^^^^^^^^ expected `Token`, found `&Token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/parser.rs:77:17
[INFO] [stdout]    |
[INFO] [stdout] 77 |                 operator,
[INFO] [stdout]    |                 ^^^^^^^^ expected `Token`, found `&Token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/parser.rs:89:17
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 operator,
[INFO] [stdout]    |                 ^^^^^^^^ expected `Token`, found `&Token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]   --> src/parser.rs:23:28
[INFO] [stdout]    |
[INFO] [stdout] 23 |             let operator = *self.previous();
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^ move occurs because value has type `token::Token`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] help: consider removing the dereference here
[INFO] [stdout]    |
[INFO] [stdout] 23 -             let operator = *self.previous();
[INFO] [stdout] 23 +             let operator = self.previous();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]   --> src/parser.rs:23:28
[INFO] [stdout]    |
[INFO] [stdout] 23 |             let operator = *self.previous();
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^ move occurs because value has type `token::Token`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] help: consider removing the dereference here
[INFO] [stdout]    |
[INFO] [stdout] 23 -             let operator = *self.previous();
[INFO] [stdout] 23 +             let operator = self.previous();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/parser.rs:119:24
[INFO] [stdout]     |
[INFO] [stdout] 119 |                 value: self.previous().literal
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `Option<token::Object>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `message`
[INFO] [stdout]    --> src/parser.rs:135:45
[INFO] [stdout]     |
[INFO] [stdout] 135 |     fn consume(&mut self, ttype: TokenType, message: String) -> Result<&Token, LoxError> {
[INFO] [stdout]     |                                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/parser.rs:119:24
[INFO] [stdout]     |
[INFO] [stdout] 119 |                 value: self.previous().literal
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `Option<token::Object>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `message`
[INFO] [stdout]    --> src/parser.rs:135:45
[INFO] [stdout]     |
[INFO] [stdout] 135 |     fn consume(&mut self, ttype: TokenType, message: String) -> Result<&Token, LoxError> {
[INFO] [stdout]     |                                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `*self` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/parser.rs:145:17
[INFO] [stdout]     |
[INFO] [stdout] 145 |                 self.advance();
[INFO] [stdout]     |                 ^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]     |
[INFO] [stdout] 142 |     fn is_match(&mut self, token_types: Vec<TokenType>) -> bool {
[INFO] [stdout]     |                 ~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `*self` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/parser.rs:145:17
[INFO] [stdout]     |
[INFO] [stdout] 145 |                 self.advance();
[INFO] [stdout]     |                 ^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]     |
[INFO] [stdout] 142 |     fn is_match(&mut self, token_types: Vec<TokenType>) -> bool {
[INFO] [stdout]     |                 ~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0507, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0507, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `crafting-interpreters` (bin "crafting-interpreters" test) due to 7 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `crafting-interpreters` (bin "crafting-interpreters") due to 7 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "564aa7d6ae00b850d994379b143c5144e85302c1d59170f16f090026d10de7d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "564aa7d6ae00b850d994379b143c5144e85302c1d59170f16f090026d10de7d7", kill_on_drop: false }`
[INFO] [stdout] 564aa7d6ae00b850d994379b143c5144e85302c1d59170f16f090026d10de7d7
