[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] testing jimoh-sodiq/crafting-interpreters against 1.95.0 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimoh-sodiq%2Fcrafting-interpreters" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[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-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jimoh-sodiq/crafting-interpreters on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b8647efdc2571908e68559b8bce57981ad3ef98e851dd8e049985cfe9c38918a
[INFO] running `Command { std: "docker" "start" "-a" "b8647efdc2571908e68559b8bce57981ad3ef98e851dd8e049985cfe9c38918a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b8647efdc2571908e68559b8bce57981ad3ef98e851dd8e049985cfe9c38918a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b8647efdc2571908e68559b8bce57981ad3ef98e851dd8e049985cfe9c38918a", kill_on_drop: false }`
[INFO] [stdout] b8647efdc2571908e68559b8bce57981ad3ef98e851dd8e049985cfe9c38918a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 78397f50c3bf5917f6ef4adab25dc5aed2dfdc9e46789e5131a3309da7cfca67
[INFO] running `Command { std: "docker" "start" "-a" "78397f50c3bf5917f6ef4adab25dc5aed2dfdc9e46789e5131a3309da7cfca67", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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)]` (part of `#[warn(unused)]`) 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: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] note: if `token::Token` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> src/token.rs:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct Token {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/parser.rs:23:28
[INFO] [stdout]    |
[INFO] [stdout] 23 |             let operator = *self.previous();
[INFO] [stdout]    |                            ---------------- you could clone this value
[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] note: if `token::Object` implemented `Clone`, you could clone the value
[INFO] [stdout]    --> src/token.rs:4:1
[INFO] [stdout]     |
[INFO] [stdout]   4 | pub enum Object {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/parser.rs:119:24
[INFO] [stdout]     |
[INFO] [stdout] 119 |                 value: self.previous().literal
[INFO] [stdout]     |                        ----------------------- you could clone this value
[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)]` (part of `#[warn(unused)]`) 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 it 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] [stderr] error: could not compile `crafting-interpreters` (bin "crafting-interpreters") due to 7 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "78397f50c3bf5917f6ef4adab25dc5aed2dfdc9e46789e5131a3309da7cfca67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "78397f50c3bf5917f6ef4adab25dc5aed2dfdc9e46789e5131a3309da7cfca67", kill_on_drop: false }`
[INFO] [stdout] 78397f50c3bf5917f6ef4adab25dc5aed2dfdc9e46789e5131a3309da7cfca67
