[INFO] cloning repository https://github.com/GyrosOfWar/rlox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GyrosOfWar/rlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGyrosOfWar%2Frlox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGyrosOfWar%2Frlox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 56360835dc0e7d13b0d5f03c2ff42b2d9e25e0a5 [INFO] checking GyrosOfWar/rlox/56360835dc0e7d13b0d5f03c2ff42b2d9e25e0a5 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGyrosOfWar%2Frlox" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GyrosOfWar/rlox on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GyrosOfWar/rlox [INFO] finished tweaking git repo https://github.com/GyrosOfWar/rlox [INFO] tweaked toml for git repo https://github.com/GyrosOfWar/rlox written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/GyrosOfWar/rlox 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a6e546d163d5c7ec72baa458d03efc8f81b742f5589495472a554d679d5357f [INFO] running `Command { std: "docker" "start" "-a" "6a6e546d163d5c7ec72baa458d03efc8f81b742f5589495472a554d679d5357f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a6e546d163d5c7ec72baa458d03efc8f81b742f5589495472a554d679d5357f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a6e546d163d5c7ec72baa458d03efc8f81b742f5589495472a554d679d5357f", kill_on_drop: false }` [INFO] [stdout] 6a6e546d163d5c7ec72baa458d03efc8f81b742f5589495472a554d679d5357f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b03de7b2b8ee154ec29df547e0676a6fd984745e6f985d2e478bd07eb0e7f211 [INFO] running `Command { std: "docker" "start" "-a" "b03de7b2b8ee154ec29df547e0676a6fd984745e6f985d2e478bd07eb0e7f211", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/parser.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> Parser<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 65 | while self.matches_any(&[TokenType::EqualEqual, TokenType::BangEqual]) { [INFO] [stdout] | ^^^^------------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `*self` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | argument requires that `*self` is borrowed for `'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:66:28 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> Parser<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 65 | while self.matches_any(&[TokenType::EqualEqual, TokenType::BangEqual]) { [INFO] [stdout] | ---------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | argument requires that `*self` is borrowed for `'a` [INFO] [stdout] 66 | let operator = self.previous(); [INFO] [stdout] | ^^^^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/parser.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> Parser<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 65 | while self.matches_any(&[TokenType::EqualEqual, TokenType::BangEqual]) { [INFO] [stdout] | ---------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*self` is borrowed for `'a` [INFO] [stdout] 66 | let operator = self.previous(); [INFO] [stdout] 67 | let right = self.comparison(); [INFO] [stdout] | ^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/parser.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> Parser<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 65 | while self.matches_any(&[TokenType::EqualEqual, TokenType::BangEqual]) { [INFO] [stdout] | ^^^^------------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `*self` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | argument requires that `*self` is borrowed for `'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:66:28 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> Parser<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 65 | while self.matches_any(&[TokenType::EqualEqual, TokenType::BangEqual]) { [INFO] [stdout] | ---------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | argument requires that `*self` is borrowed for `'a` [INFO] [stdout] 66 | let operator = self.previous(); [INFO] [stdout] | ^^^^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/parser.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> Parser<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 65 | while self.matches_any(&[TokenType::EqualEqual, TokenType::BangEqual]) { [INFO] [stdout] | ---------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*self` is borrowed for `'a` [INFO] [stdout] 66 | let operator = self.previous(); [INFO] [stdout] 67 | let right = self.comparison(); [INFO] [stdout] | ^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0502. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rlox` (bin "rlox") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0502. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rlox` (bin "rlox" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "b03de7b2b8ee154ec29df547e0676a6fd984745e6f985d2e478bd07eb0e7f211", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b03de7b2b8ee154ec29df547e0676a6fd984745e6f985d2e478bd07eb0e7f211", kill_on_drop: false }` [INFO] [stdout] b03de7b2b8ee154ec29df547e0676a6fd984745e6f985d2e478bd07eb0e7f211