[INFO] cloning repository https://github.com/aos/luxor
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aos/luxor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faos%2Fluxor", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faos%2Fluxor'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6e43bde3fbb4315d97f2a48000f1b70c119a7c72
[INFO] checking aos/luxor against 0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0 for pr-158915-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faos%2Fluxor" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/aos/luxor
[INFO] finished tweaking git repo https://github.com/aos/luxor
[INFO] tweaked toml for git repo https://github.com/aos/luxor written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/aos/luxor on toolchain 0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/aos/luxor 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" "+0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0" "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 aos/luxor against 0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0 for pr-158915-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faos%2Fluxor" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/aos/luxor
[INFO] finished tweaking git repo https://github.com/aos/luxor
[INFO] tweaked toml for git repo https://github.com/aos/luxor written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/aos/luxor on toolchain 0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/aos/luxor 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" "+0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0" "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-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 08d41a514cb2508b782b06d6c2dc1e4f62048a820a6ae0e0f9048a1fc2b7f6d6
[INFO] running `Command { std: "docker" "start" "08d41a514cb2508b782b06d6c2dc1e4f62048a820a6ae0e0f9048a1fc2b7f6d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "08d41a514cb2508b782b06d6c2dc1e4f62048a820a6ae0e0f9048a1fc2b7f6d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "08d41a514cb2508b782b06d6c2dc1e4f62048a820a6ae0e0f9048a1fc2b7f6d6" "/opt/rustwide/cargo-home/bin/cargo" "+0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "08d41a514cb2508b782b06d6c2dc1e4f62048a820a6ae0e0f9048a1fc2b7f6d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "08d41a514cb2508b782b06d6c2dc1e4f62048a820a6ae0e0f9048a1fc2b7f6d6" "/opt/rustwide/cargo-home/bin/cargo" "+0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking luxor v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0317]: `if` may be missing an `else` clause
[INFO] [stdout]    --> src/parser.rs:119:9
[INFO] [stdout]     |
[INFO] [stdout] 119 | /         if self.is_literal() {
[INFO] [stdout] 120 | |             self.advance();
[INFO] [stdout] 121 | |             return Box::new(Expr::Lit(*self.previous().clone()))
[INFO] [stdout]     | |             ---------------------------------------------------- found here
[INFO] [stdout] 122 | |         }
[INFO] [stdout]     | |_________^ expected `Box<Expr>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Box<ast::Expr>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = note: `if` expressions without `else` evaluate to `()`
[INFO] [stdout]     = help: consider adding an `else` block that evaluates to the expected type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0317]: `if` may be missing an `else` clause
[INFO] [stdout]    --> src/parser.rs:119:9
[INFO] [stdout]     |
[INFO] [stdout] 119 | /         if self.is_literal() {
[INFO] [stdout] 120 | |             self.advance();
[INFO] [stdout] 121 | |             return Box::new(Expr::Lit(*self.previous().clone()))
[INFO] [stdout]     | |             ---------------------------------------------------- found here
[INFO] [stdout] 122 | |         }
[INFO] [stdout]     | |_________^ expected `Box<Expr>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Box<ast::Expr>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = note: `if` expressions without `else` evaluate to `()`
[INFO] [stdout]     = help: consider adding an `else` block that evaluates to the expected type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]   --> src/parser.rs:27:25
[INFO] [stdout]    |
[INFO] [stdout] 26 |             let operator = self.previous();
[INFO] [stdout]    |                            ---- immutable borrow occurs here
[INFO] [stdout] 27 |             let right = self.comparison();
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 30 |                 operator: *operator.clone(),
[INFO] [stdout]    |                            -------- immutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0384]: cannot assign twice to immutable variable `expr`
[INFO] [stdout]   --> src/parser.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let expr = self.comparison();
[INFO] [stdout]    |             ---- first assignment to `expr`
[INFO] [stdout] ...
[INFO] [stdout] 28 |             expr = Box::new(Expr::Binary {
[INFO] [stdout]    |             ^^^^ cannot assign twice to immutable variable
[INFO] [stdout]    |
[INFO] [stdout] help: consider making this binding mutable
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let mut expr = self.comparison();
[INFO] [stdout]    |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]   --> src/parser.rs:30:27
[INFO] [stdout]    |
[INFO] [stdout] 30 |                 operator: *operator.clone(),
[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:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct Token {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/parser.rs:30:27
[INFO] [stdout]    |
[INFO] [stdout] 30 |                 operator: *operator.clone(),
[INFO] [stdout]    |                           ----------------- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]   --> src/parser.rs:49:25
[INFO] [stdout]    |
[INFO] [stdout] 48 |             let operator = self.previous();
[INFO] [stdout]    |                            ---- immutable borrow occurs here
[INFO] [stdout] 49 |             let right = self.term();
[INFO] [stdout]    |                         ^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 52 |                 operator: *operator.clone(),
[INFO] [stdout]    |                            -------- immutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0384]: cannot assign twice to immutable variable `expr`
[INFO] [stdout]   --> src/parser.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let expr = self.term();
[INFO] [stdout]    |             ---- first assignment to `expr`
[INFO] [stdout] ...
[INFO] [stdout] 50 |             expr = Box::new(Expr::Binary {
[INFO] [stdout]    |             ^^^^ cannot assign twice to immutable variable
[INFO] [stdout]    |
[INFO] [stdout] help: consider making this binding mutable
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let mut expr = self.term();
[INFO] [stdout]    |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]   --> src/parser.rs:52:27
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 operator: *operator.clone(),
[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:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct Token {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/parser.rs:52:27
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 operator: *operator.clone(),
[INFO] [stdout]    |                           ----------------- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0384]: cannot assign twice to immutable variable `expr`
[INFO] [stdout]   --> src/parser.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let expr = self.factor();
[INFO] [stdout]    |             ---- first assignment to `expr`
[INFO] [stdout] ...
[INFO] [stdout] 67 |             expr = Box::new(Expr::Binary {
[INFO] [stdout]    |             ^^^^ cannot assign twice to immutable variable
[INFO] [stdout]    |
[INFO] [stdout] help: consider making this binding mutable
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let mut expr = self.factor();
[INFO] [stdout]    |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]   --> src/parser.rs:69:27
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 operator: *operator.clone(),
[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:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct Token {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/parser.rs:69:27
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 operator: *operator.clone(),
[INFO] [stdout]    |                           ----------------- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `*self` as mutable, as it is behind a `&` reference
[INFO] [stdout]   --> src/parser.rs:81:15
[INFO] [stdout]    |
[INFO] [stdout] 81 |         while self.match_tokens(&[TokenType::Slash, TokenType::Star]) {
[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] 78 |     fn factor(&mut self) -> Box<Expr> {
[INFO] [stdout]    |                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0384]: cannot assign twice to immutable variable `expr`
[INFO] [stdout]   --> src/parser.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let expr = self.unary();
[INFO] [stdout]    |             ---- first assignment to `expr`
[INFO] [stdout] ...
[INFO] [stdout] 84 |             expr = Box::new(Expr::Binary {
[INFO] [stdout]    |             ^^^^ cannot assign twice to immutable variable
[INFO] [stdout]    |
[INFO] [stdout] help: consider making this binding mutable
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let mut expr = self.unary();
[INFO] [stdout]    |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]   --> src/parser.rs:86:27
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 operator: *operator.clone(),
[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:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct Token {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/parser.rs:86:27
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 operator: *operator.clone(),
[INFO] [stdout]    |                           ----------------- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `*self` as mutable, as it is behind a `&` reference
[INFO] [stdout]   --> src/parser.rs:96:12
[INFO] [stdout]    |
[INFO] [stdout] 96 |         if self.match_tokens(&[TokenType::Bang, TokenType::Minus]) {
[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] 95 |     fn unary(&mut self) -> Box<Expr> {
[INFO] [stdout]    |               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/parser.rs:100:27
[INFO] [stdout]     |
[INFO] [stdout] 100 |                 operator: *operator.clone(),
[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:35:1
[INFO] [stdout]     |
[INFO] [stdout]  35 | pub struct Token {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/parser.rs:100:27
[INFO] [stdout]     |
[INFO] [stdout] 100 |                 operator: *operator.clone(),
[INFO] [stdout]     |                           ----------------- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `*self` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/parser.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |         self.primary()
[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]  95 |     fn unary(&mut self) -> Box<Expr> {
[INFO] [stdout]     |               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]   --> src/parser.rs:27:25
[INFO] [stdout]    |
[INFO] [stdout] 26 |             let operator = self.previous();
[INFO] [stdout]    |                            ---- immutable borrow occurs here
[INFO] [stdout] 27 |             let right = self.comparison();
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 30 |                 operator: *operator.clone(),
[INFO] [stdout]    |                            -------- immutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0384]: cannot assign twice to immutable variable `expr`
[INFO] [stdout]   --> src/parser.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let expr = self.comparison();
[INFO] [stdout]    |             ---- first assignment to `expr`
[INFO] [stdout] ...
[INFO] [stdout] 28 |             expr = Box::new(Expr::Binary {
[INFO] [stdout]    |             ^^^^ cannot assign twice to immutable variable
[INFO] [stdout]    |
[INFO] [stdout] help: consider making this binding mutable
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let mut expr = self.comparison();
[INFO] [stdout]    |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]   --> src/parser.rs:30:27
[INFO] [stdout]    |
[INFO] [stdout] 30 |                 operator: *operator.clone(),
[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:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct Token {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/parser.rs:30:27
[INFO] [stdout]    |
[INFO] [stdout] 30 |                 operator: *operator.clone(),
[INFO] [stdout]    |                           ----------------- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]   --> src/parser.rs:49:25
[INFO] [stdout]    |
[INFO] [stdout] 48 |             let operator = self.previous();
[INFO] [stdout]    |                            ---- immutable borrow occurs here
[INFO] [stdout] 49 |             let right = self.term();
[INFO] [stdout]    |                         ^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 52 |                 operator: *operator.clone(),
[INFO] [stdout]    |                            -------- immutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0384]: cannot assign twice to immutable variable `expr`
[INFO] [stdout]   --> src/parser.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let expr = self.term();
[INFO] [stdout]    |             ---- first assignment to `expr`
[INFO] [stdout] ...
[INFO] [stdout] 50 |             expr = Box::new(Expr::Binary {
[INFO] [stdout]    |             ^^^^ cannot assign twice to immutable variable
[INFO] [stdout]    |
[INFO] [stdout] help: consider making this binding mutable
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let mut expr = self.term();
[INFO] [stdout]    |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]   --> src/parser.rs:52:27
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 operator: *operator.clone(),
[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:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct Token {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/parser.rs:52:27
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 operator: *operator.clone(),
[INFO] [stdout]    |                           ----------------- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0384]: cannot assign twice to immutable variable `expr`
[INFO] [stdout]   --> src/parser.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let expr = self.factor();
[INFO] [stdout]    |             ---- first assignment to `expr`
[INFO] [stdout] ...
[INFO] [stdout] 67 |             expr = Box::new(Expr::Binary {
[INFO] [stdout]    |             ^^^^ cannot assign twice to immutable variable
[INFO] [stdout]    |
[INFO] [stdout] help: consider making this binding mutable
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let mut expr = self.factor();
[INFO] [stdout]    |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]   --> src/parser.rs:69:27
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 operator: *operator.clone(),
[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:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct Token {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/parser.rs:69:27
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 operator: *operator.clone(),
[INFO] [stdout]    |                           ----------------- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `*self` as mutable, as it is behind a `&` reference
[INFO] [stdout]   --> src/parser.rs:81:15
[INFO] [stdout]    |
[INFO] [stdout] 81 |         while self.match_tokens(&[TokenType::Slash, TokenType::Star]) {
[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] 78 |     fn factor(&mut self) -> Box<Expr> {
[INFO] [stdout]    |                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0384]: cannot assign twice to immutable variable `expr`
[INFO] [stdout]   --> src/parser.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let expr = self.unary();
[INFO] [stdout]    |             ---- first assignment to `expr`
[INFO] [stdout] ...
[INFO] [stdout] 84 |             expr = Box::new(Expr::Binary {
[INFO] [stdout]    |             ^^^^ cannot assign twice to immutable variable
[INFO] [stdout]    |
[INFO] [stdout] help: consider making this binding mutable
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let mut expr = self.unary();
[INFO] [stdout]    |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]   --> src/parser.rs:86:27
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 operator: *operator.clone(),
[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:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct Token {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/parser.rs:86:27
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 operator: *operator.clone(),
[INFO] [stdout]    |                           ----------------- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `*self` as mutable, as it is behind a `&` reference
[INFO] [stdout]   --> src/parser.rs:96:12
[INFO] [stdout]    |
[INFO] [stdout] 96 |         if self.match_tokens(&[TokenType::Bang, TokenType::Minus]) {
[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] 95 |     fn unary(&mut self) -> Box<Expr> {
[INFO] [stdout]    |               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> src/parser.rs:100:27
[INFO] [stdout]     |
[INFO] [stdout] 100 |                 operator: *operator.clone(),
[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:35:1
[INFO] [stdout]     |
[INFO] [stdout]  35 | pub struct Token {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/parser.rs:100:27
[INFO] [stdout]     |
[INFO] [stdout] 100 |                 operator: *operator.clone(),
[INFO] [stdout]     |                           ----------------- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `*self` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/parser.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |         self.primary()
[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]  95 |     fn unary(&mut self) -> Box<Expr> {
[INFO] [stdout]     |               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0317, E0384, E0502, E0507, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0317`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0317, E0384, E0502, E0507, E0596.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `luxor` (bin "luxor") due to 15 previous errors
[INFO] [stdout] For more information about an error, try `rustc --explain E0317`.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `luxor` (bin "luxor" test) due to 15 previous errors
[INFO] running `Command { std: "docker" "inspect" "08d41a514cb2508b782b06d6c2dc1e4f62048a820a6ae0e0f9048a1fc2b7f6d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "08d41a514cb2508b782b06d6c2dc1e4f62048a820a6ae0e0f9048a1fc2b7f6d6", kill_on_drop: false }`
[INFO] [stdout] 08d41a514cb2508b782b06d6c2dc1e4f62048a820a6ae0e0f9048a1fc2b7f6d6
