[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 try#0c70cfbec949d241375e31c5a42066be70c720fc for pr-149681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimoh-sodiq%2Fcrafting-interpreters" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-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-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jimoh-sodiq/crafting-interpreters on toolchain 0c70cfbec949d241375e31c5a42066be70c720fc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "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" "+0c70cfbec949d241375e31c5a42066be70c720fc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking jimoh-sodiq/crafting-interpreters against try#0c70cfbec949d241375e31c5a42066be70c720fc for pr-149681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimoh-sodiq%2Fcrafting-interpreters" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-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-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jimoh-sodiq/crafting-interpreters on toolchain 0c70cfbec949d241375e31c5a42066be70c720fc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "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" "+0c70cfbec949d241375e31c5a42066be70c720fc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1f7bf9f37117f0103aadc62d88d4bec9722568aa1d2124bad68ec7131a6450f4
[INFO] running `Command { std: "docker" "start" "-a" "1f7bf9f37117f0103aadc62d88d4bec9722568aa1d2124bad68ec7131a6450f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1f7bf9f37117f0103aadc62d88d4bec9722568aa1d2124bad68ec7131a6450f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1f7bf9f37117f0103aadc62d88d4bec9722568aa1d2124bad68ec7131a6450f4", kill_on_drop: false }`
[INFO] [stdout] 1f7bf9f37117f0103aadc62d88d4bec9722568aa1d2124bad68ec7131a6450f4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5ea92178da4805b7748f50f760e0639a6333458d9125c8a139773ced52bca8ac
[INFO] running `Command { std: "docker" "start" "-a" "5ea92178da4805b7748f50f760e0639a6333458d9125c8a139773ced52bca8ac", 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)]` (part of `#[warn(unused)]`) 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)]` (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: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: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: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: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: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] 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] 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] 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] 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] 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" "5ea92178da4805b7748f50f760e0639a6333458d9125c8a139773ced52bca8ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ea92178da4805b7748f50f760e0639a6333458d9125c8a139773ced52bca8ac", kill_on_drop: false }`
[INFO] [stdout] 5ea92178da4805b7748f50f760e0639a6333458d9125c8a139773ced52bca8ac
