[INFO] cloning repository https://github.com/jacobjonsson/hyper-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jacobjonsson/hyper-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobjonsson%2Fhyper-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobjonsson%2Fhyper-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f18f4342538df4c3f21e4b2943c585c54458c669 [INFO] testing jacobjonsson/hyper-lang against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobjonsson%2Fhyper-lang" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jacobjonsson/hyper-lang on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4/source/.cargo/config [INFO] started tweaking git repo https://github.com/jacobjonsson/hyper-lang [INFO] finished tweaking git repo https://github.com/jacobjonsson/hyper-lang [INFO] tweaked toml for git repo https://github.com/jacobjonsson/hyper-lang written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/jacobjonsson/hyper-lang already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6980e52f17ff993cf1b4c953661af387e8672d67f8c771ac868461464aabe4f [INFO] running `Command { std: "docker" "start" "-a" "d6980e52f17ff993cf1b4c953661af387e8672d67f8c771ac868461464aabe4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6980e52f17ff993cf1b4c953661af387e8672d67f8c771ac868461464aabe4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6980e52f17ff993cf1b4c953661af387e8672d67f8c771ac868461464aabe4f", kill_on_drop: false }` [INFO] [stdout] d6980e52f17ff993cf1b4c953661af387e8672d67f8c771ac868461464aabe4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cad68d86b88e38e0f33d58330c72f885e39b055f652829e177451f9cb52c035 [INFO] running `Command { std: "docker" "start" "-a" "7cad68d86b88e38e0f33d58330c72f885e39b055f652829e177451f9cb52c035", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling text-size v1.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling countme v2.0.4 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling dissimilar v1.0.3 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling drop_bomb v0.1.5 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling expect-test v1.2.1 [INFO] [stderr] Compiling rowan v0.15.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling syntax v0.1.0 (/opt/rustwide/workdir/crates/syntax) [INFO] [stderr] Compiling lexer v0.1.0 (/opt/rustwide/workdir/crates/lexer) [INFO] [stderr] Compiling ast v0.1.0 (/opt/rustwide/workdir/crates/ast) [INFO] [stderr] Compiling xtask v0.1.0 (/opt/rustwide/workdir/xtask) [INFO] [stderr] Compiling parser v0.1.0 (/opt/rustwide/workdir/crates/parser) [INFO] [stdout] warning: unused import: `Parse` [INFO] [stdout] --> crates/parser/src/grammar/xml.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{parser::Parser, Parse}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*parser` as immutable because it is also borrowed as mutable [INFO] [stdout] --> crates/parser/src/grammar/xml.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 11 | let (tag_name, self_closing) = xml_opening_element(parser); [INFO] [stdout] | ------ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 18 | if parser.at(SyntaxKind::EOF) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 31 | if !parser.text_matches(tag_name.unwrap_or("")) { [INFO] [stdout] | -------- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*parser` as immutable because it is also borrowed as mutable [INFO] [stdout] --> crates/parser/src/grammar/xml.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 11 | let (tag_name, self_closing) = xml_opening_element(parser); [INFO] [stdout] | ------ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 24 | if parser.at(T!['{']) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 31 | if !parser.text_matches(tag_name.unwrap_or("")) { [INFO] [stdout] | -------- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*parser` as mutable more than once at a time [INFO] [stdout] --> crates/parser/src/grammar/xml.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 11 | let (tag_name, self_closing) = xml_opening_element(parser); [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 25 | expr(parser); [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 31 | if !parser.text_matches(tag_name.unwrap_or("")) { [INFO] [stdout] | -------- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*parser` as immutable because it is also borrowed as mutable [INFO] [stdout] --> crates/parser/src/grammar/xml.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 11 | let (tag_name, self_closing) = xml_opening_element(parser); [INFO] [stdout] | ------ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 29 | if parser.at(T![ crates/parser/src/grammar/xml.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 11 | let (tag_name, self_closing) = xml_opening_element(parser); [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 30 | parser.bump(T![ crates/parser/src/grammar/xml.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 11 | let (tag_name, self_closing) = xml_opening_element(parser); [INFO] [stdout] | ------ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 31 | if !parser.text_matches(tag_name.unwrap_or("")) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow later used here [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*parser` as mutable more than once at a time [INFO] [stdout] --> crates/parser/src/grammar/xml.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 11 | let (tag_name, self_closing) = xml_opening_element(parser); [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 32 | parser.error(format!("expected closing tag to match {}", tag_name.unwrap_or(""))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | first borrow later used here [INFO] [stdout] | second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*parser` as immutable because it is also borrowed as mutable [INFO] [stdout] --> crates/parser/src/grammar/xml.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 11 | let (tag_name, self_closing) = xml_opening_element(parser); [INFO] [stdout] | ------ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 31 | if !parser.text_matches(tag_name.unwrap_or("")) { [INFO] [stdout] | -------- mutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 41 | if parser.at(T![<]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*parser` as mutable more than once at a time [INFO] [stdout] --> crates/parser/src/grammar/xml.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 11 | let (tag_name, self_closing) = xml_opening_element(parser); [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 31 | if !parser.text_matches(tag_name.unwrap_or("")) { [INFO] [stdout] | -------- first borrow later used here [INFO] [stdout] ... [INFO] [stdout] 42 | xml_element(parser); [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*parser` as mutable more than once at a time [INFO] [stdout] --> crates/parser/src/grammar/xml.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 11 | let (tag_name, self_closing) = xml_opening_element(parser); [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 31 | if !parser.text_matches(tag_name.unwrap_or("")) { [INFO] [stdout] | -------- first borrow later used here [INFO] [stdout] ... [INFO] [stdout] 47 | parser.bump_any(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 1 warning emitted [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 `parser` due to 11 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7cad68d86b88e38e0f33d58330c72f885e39b055f652829e177451f9cb52c035", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cad68d86b88e38e0f33d58330c72f885e39b055f652829e177451f9cb52c035", kill_on_drop: false }` [INFO] [stdout] 7cad68d86b88e38e0f33d58330c72f885e39b055f652829e177451f9cb52c035