[INFO] cloning repository https://github.com/pupbrained/pulsar [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pupbrained/pulsar" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpupbrained%2Fpulsar", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpupbrained%2Fpulsar'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c051e6f16d1bc15a247c4fe635da7af3a72304a2 [INFO] checking pupbrained/pulsar against master#426a60abc213b28a7c7198e475476b6e650d871f for pr-129199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpupbrained%2Fpulsar" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pupbrained/pulsar on toolchain 426a60abc213b28a7c7198e475476b6e650d871f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+426a60abc213b28a7c7198e475476b6e650d871f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pupbrained/pulsar [INFO] finished tweaking git repo https://github.com/pupbrained/pulsar [INFO] tweaked toml for git repo https://github.com/pupbrained/pulsar written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pupbrained/pulsar 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" "+426a60abc213b28a7c7198e475476b6e650d871f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking pupbrained/pulsar against try#2c70eb47850052381670935f807d41647a7dc992 for pr-129199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpupbrained%2Fpulsar" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pupbrained/pulsar on toolchain 2c70eb47850052381670935f807d41647a7dc992 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pupbrained/pulsar [INFO] finished tweaking git repo https://github.com/pupbrained/pulsar [INFO] tweaked toml for git repo https://github.com/pupbrained/pulsar written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pupbrained/pulsar 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" "+2c70eb47850052381670935f807d41647a7dc992" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0e2892ccd64ef3c473839f844cfdb73cd7170b8949e13d8b7c155fd2257c31f [INFO] running `Command { std: "docker" "start" "-a" "f0e2892ccd64ef3c473839f844cfdb73cd7170b8949e13d8b7c155fd2257c31f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0e2892ccd64ef3c473839f844cfdb73cd7170b8949e13d8b7c155fd2257c31f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0e2892ccd64ef3c473839f844cfdb73cd7170b8949e13d8b7c155fd2257c31f", kill_on_drop: false }` [INFO] [stdout] f0e2892ccd64ef3c473839f844cfdb73cd7170b8949e13d8b7c155fd2257c31f [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75ef8f694af9c7e1402ca2579fc15409619a1618f8486d73c783d3066d293ef6 [INFO] running `Command { std: "docker" "start" "-a" "75ef8f694af9c7e1402ca2579fc15409619a1618f8486d73c783d3066d293ef6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking ariadne v0.1.5 [INFO] [stderr] Compiling quote v1.0.19 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling clap_derive v3.2.7 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Checking clap v3.2.8 [INFO] [stderr] Checking pulsar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0506]: cannot assign to `self.tokens` because it is borrowed [INFO] [stdout] --> src/parser.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 122 | impl<'b> Parser<'b> { [INFO] [stdout] | -- lifetime `'b` defined here [INFO] [stdout] ... [INFO] [stdout] 130 | let (expr, tokens_new) = Self::parse_expr(&mut self.tokens, true)?; [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `self.tokens` is borrowed here [INFO] [stdout] | argument requires that `self.tokens` is borrowed for `'b` [INFO] [stdout] 131 | self.tokens = tokens_new; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ `self.tokens` is assigned to here but it was already borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0506]: cannot assign to `self.tokens` because it is borrowed [INFO] [stdout] --> src/parser.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 122 | impl<'b> Parser<'b> { [INFO] [stdout] | -- lifetime `'b` defined here [INFO] [stdout] ... [INFO] [stdout] 130 | let (expr, tokens_new) = Self::parse_expr(&mut self.tokens, true)?; [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `self.tokens` is borrowed here [INFO] [stdout] | argument requires that `self.tokens` is borrowed for `'b` [INFO] [stdout] 131 | self.tokens = tokens_new; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ `self.tokens` is assigned to here but it was already borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*tokens` as mutable more than once at a time [INFO] [stdout] --> src/parser.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 151 | Some(Token::Identifier(ident)) => match tokens.peek() { [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 169 | tokens.next(); [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 173 | op: Operator::from_str(op), [INFO] [stdout] | -- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*tokens` as mutable more than once at a time [INFO] [stdout] --> src/parser.rs:170:63 [INFO] [stdout] | [INFO] [stdout] 151 | Some(Token::Identifier(ident)) => match tokens.peek() { [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 170 | let (expr, tokens_new) = Self::parse_expr(tokens, false)?; [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 173 | op: Operator::from_str(op), [INFO] [stdout] | -- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*tokens` as mutable more than once at a time [INFO] [stdout] --> src/parser.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 182 | Some(Token::Int(i)) => match tokens.peek() { [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] 183 | Some(Token::Operator(op)) => { [INFO] [stdout] 184 | tokens.next(); [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 188 | op: Operator::from_str(op), [INFO] [stdout] | -- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*tokens` as mutable more than once at a time [INFO] [stdout] --> src/parser.rs:185:63 [INFO] [stdout] | [INFO] [stdout] 182 | Some(Token::Int(i)) => match tokens.peek() { [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 185 | let (expr, tokens_new) = Self::parse_expr(tokens, false)?; [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 188 | op: Operator::from_str(op), [INFO] [stdout] | -- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*tokens` as mutable more than once at a time [INFO] [stdout] --> src/parser.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 197 | Some(Token::Float(f)) => match tokens.peek() { [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] 198 | Some(Token::Operator(op)) => { [INFO] [stdout] 199 | tokens.next(); [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 203 | op: Operator::from_str(op), [INFO] [stdout] | -- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*tokens` as mutable more than once at a time [INFO] [stdout] --> src/parser.rs:200:63 [INFO] [stdout] | [INFO] [stdout] 197 | Some(Token::Float(f)) => match tokens.peek() { [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 200 | let (expr, tokens_new) = Self::parse_expr(tokens, false)?; [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 203 | op: Operator::from_str(op), [INFO] [stdout] | -- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*tokens` as mutable more than once at a time [INFO] [stdout] --> src/parser.rs:215:21 [INFO] [stdout] | [INFO] [stdout] 213 | Some(Token::String(string)) => match tokens.peek() { [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] 214 | Some(Token::Operator(op)) => { [INFO] [stdout] 215 | tokens.next(); [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 219 | op: Operator::from_str(op), [INFO] [stdout] | -- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*tokens` as mutable more than once at a time [INFO] [stdout] --> src/parser.rs:216:63 [INFO] [stdout] | [INFO] [stdout] 213 | Some(Token::String(string)) => match tokens.peek() { [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 216 | let (expr, tokens_new) = Self::parse_expr(tokens, false)?; [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 219 | op: Operator::from_str(op), [INFO] [stdout] | -- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*tokens` as mutable more than once at a time [INFO] [stdout] --> src/parser.rs:295:37 [INFO] [stdout] | [INFO] [stdout] 293 | ... match tokens.peek() { [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] 294 | ... Some(Token::Type(t)) => { [INFO] [stdout] 295 | ... tokens.next(); [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 301 | ... Expr::Token(Token::Type(t.clone())), [INFO] [stdout] | - first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*tokens` as mutable more than once at a time [INFO] [stdout] --> src/parser.rs:296:43 [INFO] [stdout] | [INFO] [stdout] 293 | ... match tokens.peek() { [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 296 | ... match tokens.peek() { [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 301 | ... Expr::Token(Token::Type(t.clone())), [INFO] [stdout] | - first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*tokens` as mutable more than once at a time [INFO] [stdout] --> src/parser.rs:298:45 [INFO] [stdout] | [INFO] [stdout] 293 | ... match tokens.peek() { [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 298 | ... tokens.next(); [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 301 | ... Expr::Token(Token::Type(t.clone())), [INFO] [stdout] | - first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*tokens` as mutable more than once at a time [INFO] [stdout] --> src/parser.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 151 | Some(Token::Identifier(ident)) => match tokens.peek() { [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 169 | tokens.next(); [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 173 | op: Operator::from_str(op), [INFO] [stdout] | -- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*tokens` as mutable more than once at a time [INFO] [stdout] --> src/parser.rs:170:63 [INFO] [stdout] | [INFO] [stdout] 151 | Some(Token::Identifier(ident)) => match tokens.peek() { [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 170 | let (expr, tokens_new) = Self::parse_expr(tokens, false)?; [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 173 | op: Operator::from_str(op), [INFO] [stdout] | -- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*tokens` as mutable more than once at a time [INFO] [stdout] --> src/parser.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 182 | Some(Token::Int(i)) => match tokens.peek() { [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] 183 | Some(Token::Operator(op)) => { [INFO] [stdout] 184 | tokens.next(); [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 188 | op: Operator::from_str(op), [INFO] [stdout] | -- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*tokens` as mutable more than once at a time [INFO] [stdout] --> src/parser.rs:185:63 [INFO] [stdout] | [INFO] [stdout] 182 | Some(Token::Int(i)) => match tokens.peek() { [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 185 | let (expr, tokens_new) = Self::parse_expr(tokens, false)?; [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 188 | op: Operator::from_str(op), [INFO] [stdout] | -- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*tokens` as mutable more than once at a time [INFO] [stdout] --> src/parser.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 197 | Some(Token::Float(f)) => match tokens.peek() { [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] 198 | Some(Token::Operator(op)) => { [INFO] [stdout] 199 | tokens.next(); [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 203 | op: Operator::from_str(op), [INFO] [stdout] | -- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*tokens` as mutable more than once at a time [INFO] [stdout] --> src/parser.rs:200:63 [INFO] [stdout] | [INFO] [stdout] 197 | Some(Token::Float(f)) => match tokens.peek() { [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 200 | let (expr, tokens_new) = Self::parse_expr(tokens, false)?; [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 203 | op: Operator::from_str(op), [INFO] [stdout] | -- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*tokens` as mutable more than once at a time [INFO] [stdout] --> src/parser.rs:215:21 [INFO] [stdout] | [INFO] [stdout] 213 | Some(Token::String(string)) => match tokens.peek() { [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] 214 | Some(Token::Operator(op)) => { [INFO] [stdout] 215 | tokens.next(); [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 219 | op: Operator::from_str(op), [INFO] [stdout] | -- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*tokens` as mutable more than once at a time [INFO] [stdout] --> src/parser.rs:216:63 [INFO] [stdout] | [INFO] [stdout] 213 | Some(Token::String(string)) => match tokens.peek() { [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 216 | let (expr, tokens_new) = Self::parse_expr(tokens, false)?; [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 219 | op: Operator::from_str(op), [INFO] [stdout] | -- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*tokens` as mutable more than once at a time [INFO] [stdout] --> src/parser.rs:295:37 [INFO] [stdout] | [INFO] [stdout] 293 | ... match tokens.peek() { [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] 294 | ... Some(Token::Type(t)) => { [INFO] [stdout] 295 | ... tokens.next(); [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 301 | ... Expr::Token(Token::Type(t.clone())), [INFO] [stdout] | - first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*tokens` as mutable more than once at a time [INFO] [stdout] --> src/parser.rs:296:43 [INFO] [stdout] | [INFO] [stdout] 293 | ... match tokens.peek() { [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 296 | ... match tokens.peek() { [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 301 | ... Expr::Token(Token::Type(t.clone())), [INFO] [stdout] | - first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*tokens` as mutable more than once at a time [INFO] [stdout] --> src/parser.rs:298:45 [INFO] [stdout] | [INFO] [stdout] 293 | ... match tokens.peek() { [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 298 | ... tokens.next(); [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 301 | ... Expr::Token(Token::Type(t.clone())), [INFO] [stdout] | - first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0506. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0506. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pulsar` (bin "pulsar") due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `pulsar` (bin "pulsar" test) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "75ef8f694af9c7e1402ca2579fc15409619a1618f8486d73c783d3066d293ef6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75ef8f694af9c7e1402ca2579fc15409619a1618f8486d73c783d3066d293ef6", kill_on_drop: false }` [INFO] [stdout] 75ef8f694af9c7e1402ca2579fc15409619a1618f8486d73c783d3066d293ef6