[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] checking genuinebnt/lox against try#863511eff87e66198b396935f3b5c8a543022f53 for pr-139493-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgenuinebnt%2Flox" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/genuinebnt/lox on toolchain 863511eff87e66198b396935f3b5c8a543022f53 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+863511eff87e66198b396935f3b5c8a543022f53" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6be6210e01c621dcab42563ea98644e7d635bad628e81f45b066a7bcf5ad01ef [INFO] running `Command { std: "docker" "start" "-a" "6be6210e01c621dcab42563ea98644e7d635bad628e81f45b066a7bcf5ad01ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6be6210e01c621dcab42563ea98644e7d635bad628e81f45b066a7bcf5ad01ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6be6210e01c621dcab42563ea98644e7d635bad628e81f45b066a7bcf5ad01ef", kill_on_drop: false }` [INFO] [stdout] 6be6210e01c621dcab42563ea98644e7d635bad628e81f45b066a7bcf5ad01ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e445fef37d1730b064ac520ce8f82213074d7d31c319ec1d7f92c39501aa845 [INFO] running `Command { std: "docker" "start" "-a" "8e445fef37d1730b064ac520ce8f82213074d7d31c319ec1d7f92c39501aa845", kill_on_drop: false }` [INFO] [stderr] Checking 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[E0599]: no method named `expr` found for mutable reference `&mut parser::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::Parser<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `std::result::Result, ParserError>` [INFO] [stdout] --> src/parser.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | assert_eq!(parser.parse(), 3.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | std::result::Result, ParserError> [INFO] [stdout] | {float} [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `std::result::Result, ParserError>` doesn't implement `PartialEq<{float}>` [INFO] [stdout] --> /rustc/863511eff87e66198b396935f3b5c8a543022f53/library/core/src/result.rs:550:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `PartialEq<{float}>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 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] [stdout] Some errors have detailed explanations: E0369, E0499, E0502, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lox` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lox` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "8e445fef37d1730b064ac520ce8f82213074d7d31c319ec1d7f92c39501aa845", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e445fef37d1730b064ac520ce8f82213074d7d31c319ec1d7f92c39501aa845", kill_on_drop: false }` [INFO] [stdout] 8e445fef37d1730b064ac520ce8f82213074d7d31c319ec1d7f92c39501aa845