[INFO] cloning repository https://github.com/genuinebnt/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/genuinebnt/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgenuinebnt%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgenuinebnt%2Flox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82493aeea88b253dc2fd0e46c42a9327c20843b2 [INFO] testing genuinebnt/lox against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgenuinebnt%2Flox" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/genuinebnt/lox on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/genuinebnt/lox [INFO] finished tweaking git repo https://github.com/genuinebnt/lox [INFO] tweaked toml for git repo https://github.com/genuinebnt/lox written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/genuinebnt/lox 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.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2666f6c890dfd0fe7f815dc632fb3bce028f15f61ec18e6d739ad162398d9363 [INFO] running `Command { std: "docker" "start" "-a" "2666f6c890dfd0fe7f815dc632fb3bce028f15f61ec18e6d739ad162398d9363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2666f6c890dfd0fe7f815dc632fb3bce028f15f61ec18e6d739ad162398d9363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2666f6c890dfd0fe7f815dc632fb3bce028f15f61ec18e6d739ad162398d9363", kill_on_drop: false }` [INFO] [stdout] 2666f6c890dfd0fe7f815dc632fb3bce028f15f61ec18e6d739ad162398d9363 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 082df8ac2277e9c23e0aff95a3e28f1669dba39529ceccd82c56b19b0c35d241 [INFO] running `Command { std: "docker" "start" "-a" "082df8ac2277e9c23e0aff95a3e28f1669dba39529ceccd82c56b19b0c35d241", kill_on_drop: false }` [INFO] [stderr] Compiling lox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `expr` found for mutable reference `&mut Parser<'a>` in the current scope [INFO] [stdout] --> src/parser.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | self.expr() [INFO] [stdout] | ^^^^ method not found in `&mut Parser<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/parser.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 50 | fn factor(&mut self) -> Result { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 51 | let mut expr = self.primary()?; [INFO] [stdout] | ---- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 54 | let kind = self.peek().map(|t| t.kind); [INFO] [stdout] | ^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 62 | Ok(expr) [INFO] [stdout] | -------- returning this value requires that `*self` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/parser.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 50 | fn factor(&mut self) -> Result { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 51 | let mut expr = self.primary()?; [INFO] [stdout] | ---- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 57 | let op = self.advance().unwrap(); [INFO] [stdout] | ^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 62 | Ok(expr) [INFO] [stdout] | -------- returning this value requires that `*self` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/parser.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 50 | fn factor(&mut self) -> Result { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 51 | let mut expr = self.primary()?; [INFO] [stdout] | ---- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 58 | let right = self.primary()?; [INFO] [stdout] | ^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 62 | Ok(expr) [INFO] [stdout] | -------- returning this value requires that `*self` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0502, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lox` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "082df8ac2277e9c23e0aff95a3e28f1669dba39529ceccd82c56b19b0c35d241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "082df8ac2277e9c23e0aff95a3e28f1669dba39529ceccd82c56b19b0c35d241", kill_on_drop: false }` [INFO] [stdout] 082df8ac2277e9c23e0aff95a3e28f1669dba39529ceccd82c56b19b0c35d241