[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-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobjonsson%2Fhyper-lang" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jacobjonsson/hyper-lang on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-21/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-21/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-02-22" "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-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47c2c19a0033fa78f78add70258d3d8f21cd22327ce34a903db3e0152a230421 [INFO] running `Command { std: "docker" "start" "-a" "47c2c19a0033fa78f78add70258d3d8f21cd22327ce34a903db3e0152a230421", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47c2c19a0033fa78f78add70258d3d8f21cd22327ce34a903db3e0152a230421", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47c2c19a0033fa78f78add70258d3d8f21cd22327ce34a903db3e0152a230421", kill_on_drop: false }` [INFO] [stdout] 47c2c19a0033fa78f78add70258d3d8f21cd22327ce34a903db3e0152a230421 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 230ec0279a6e6b7abf9662eb18f9a3d3949cccb57426bf494bdf89671853c2e3 [INFO] running `Command { std: "docker" "start" "-a" "230ec0279a6e6b7abf9662eb18f9a3d3949cccb57426bf494bdf89671853c2e3", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling countme v2.0.4 [INFO] [stderr] Compiling text-size v1.1.0 [INFO] [stderr] Compiling dissimilar v1.0.3 [INFO] [stderr] Compiling drop_bomb v0.1.5 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling xtask v0.1.0 (/opt/rustwide/workdir/xtask) [INFO] [stderr] Compiling expect-test v1.2.1 [INFO] [stderr] Compiling rowan v0.15.0 [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 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] running `Command { std: "docker" "inspect" "230ec0279a6e6b7abf9662eb18f9a3d3949cccb57426bf494bdf89671853c2e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "230ec0279a6e6b7abf9662eb18f9a3d3949cccb57426bf494bdf89671853c2e3", kill_on_drop: false }` [INFO] [stdout] 230ec0279a6e6b7abf9662eb18f9a3d3949cccb57426bf494bdf89671853c2e3