[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 beta-2026-04-21 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-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/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-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jimoh-sodiq/crafting-interpreters on toolchain beta-2026-04-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "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" "+beta-2026-04-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2c6c602164c8668bcaf6ec4ae1e01c4cd92e4c22a9fe3b0f9c7720d507962f6e
[INFO] running `Command { std: "docker" "start" "-a" "2c6c602164c8668bcaf6ec4ae1e01c4cd92e4c22a9fe3b0f9c7720d507962f6e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2c6c602164c8668bcaf6ec4ae1e01c4cd92e4c22a9fe3b0f9c7720d507962f6e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2c6c602164c8668bcaf6ec4ae1e01c4cd92e4c22a9fe3b0f9c7720d507962f6e", kill_on_drop: false }`
[INFO] [stdout] 2c6c602164c8668bcaf6ec4ae1e01c4cd92e4c22a9fe3b0f9c7720d507962f6e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f1c96caed8882f02d7ae9772b242bb0e1fb79eb6c9ca24febb436fa990f8d789
[INFO] running `Command { std: "docker" "start" "-a" "f1c96caed8882f02d7ae9772b242bb0e1fb79eb6c9ca24febb436fa990f8d789", 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" "f1c96caed8882f02d7ae9772b242bb0e1fb79eb6c9ca24febb436fa990f8d789", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f1c96caed8882f02d7ae9772b242bb0e1fb79eb6c9ca24febb436fa990f8d789", kill_on_drop: false }`
[INFO] [stdout] f1c96caed8882f02d7ae9772b242bb0e1fb79eb6c9ca24febb436fa990f8d789
