[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] checking jacobjonsson/hyper-lang against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobjonsson%2Fhyper-lang" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jacobjonsson/hyper-lang on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/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-5-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded expect-test v1.2.1 [INFO] [stderr] Downloaded countme v2.0.4 [INFO] [stderr] Downloaded dissimilar v1.0.3 [INFO] [stderr] Downloaded drop_bomb v0.1.5 [INFO] [stderr] Downloaded text-size v1.1.0 [INFO] [stderr] Downloaded rowan v0.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8010b306fe39f3b6cc0ff4025e7a1f9611af5e04cff65299a5382c280b7c1082 [INFO] running `Command { std: "docker" "start" "-a" "8010b306fe39f3b6cc0ff4025e7a1f9611af5e04cff65299a5382c280b7c1082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8010b306fe39f3b6cc0ff4025e7a1f9611af5e04cff65299a5382c280b7c1082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8010b306fe39f3b6cc0ff4025e7a1f9611af5e04cff65299a5382c280b7c1082", kill_on_drop: false }` [INFO] [stdout] 8010b306fe39f3b6cc0ff4025e7a1f9611af5e04cff65299a5382c280b7c1082 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9734702b0a87a7b8b564cde19f6ffacf7542a9a231fbd5ce633780e5f1a9d5a0 [INFO] running `Command { std: "docker" "start" "-a" "9734702b0a87a7b8b564cde19f6ffacf7542a9a231fbd5ce633780e5f1a9d5a0", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking countme v2.0.4 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking text-size v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking dissimilar v1.0.3 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking drop_bomb v0.1.5 [INFO] [stderr] Checking expect-test v1.2.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Checking rowan v0.15.0 [INFO] [stderr] Checking quote v1.0.10 [INFO] [stderr] Checking xtask v0.1.0 (/opt/rustwide/workdir/xtask) [INFO] [stderr] Checking syntax v0.1.0 (/opt/rustwide/workdir/crates/syntax) [INFO] [stderr] Checking lexer v0.1.0 (/opt/rustwide/workdir/crates/lexer) [INFO] [stderr] Checking ast v0.1.0 (/opt/rustwide/workdir/crates/ast) [INFO] [stderr] Checking parser v0.1.0 (/opt/rustwide/workdir/crates/parser) [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] | ^^^^^^ -------- mutable borrow later used here [INFO] [stdout] | | [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] | ^^^^^^ second mutable borrow occurs here -------- 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: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[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] | ^^^^^^ -------- mutable borrow later used here [INFO] [stdout] | | [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] | ^^^^^^ second mutable borrow occurs here -------- 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: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 [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` (lib) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 10 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 `parser` (lib test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "9734702b0a87a7b8b564cde19f6ffacf7542a9a231fbd5ce633780e5f1a9d5a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9734702b0a87a7b8b564cde19f6ffacf7542a9a231fbd5ce633780e5f1a9d5a0", kill_on_drop: false }` [INFO] [stdout] 9734702b0a87a7b8b564cde19f6ffacf7542a9a231fbd5ce633780e5f1a9d5a0