[INFO] fetching crate ielr 0.1.1... [INFO] checking ielr-0.1.1 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate ielr 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate ielr 0.1.1 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-4-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate ielr 0.1.1 [INFO] finished tweaking crates.io crate ielr 0.1.1 [INFO] tweaked toml for crates.io crate ielr 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate ielr 0.1.1 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] Downloading crates ... [INFO] [stderr] Downloaded fnv v1.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05d51963a66cd6cef8d6d33e3e9f763964cf659f4017a3d0c4261a3f43153b8c [INFO] running `Command { std: "docker" "start" "-a" "05d51963a66cd6cef8d6d33e3e9f763964cf659f4017a3d0c4261a3f43153b8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05d51963a66cd6cef8d6d33e3e9f763964cf659f4017a3d0c4261a3f43153b8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05d51963a66cd6cef8d6d33e3e9f763964cf659f4017a3d0c4261a3f43153b8c", kill_on_drop: false }` [INFO] [stdout] 05d51963a66cd6cef8d6d33e3e9f763964cf659f4017a3d0c4261a3f43153b8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6acdac39d182f4ed4abf0a9a8ecaa12be4e2a7f78d3dd4f466d0b36a344ab563 [INFO] running `Command { std: "docker" "start" "-a" "6acdac39d182f4ed4abf0a9a8ecaa12be4e2a7f78d3dd4f466d0b36a344ab563", kill_on_drop: false }` [INFO] [stderr] Checking fnv v1.0.5 [INFO] [stderr] Checking ielr v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.66s [INFO] running `Command { std: "docker" "inspect" "6acdac39d182f4ed4abf0a9a8ecaa12be4e2a7f78d3dd4f466d0b36a344ab563", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6acdac39d182f4ed4abf0a9a8ecaa12be4e2a7f78d3dd4f466d0b36a344ab563", kill_on_drop: false }` [INFO] [stdout] 6acdac39d182f4ed4abf0a9a8ecaa12be4e2a7f78d3dd4f466d0b36a344ab563 [INFO] checking ielr-0.1.1 against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] extracting crate ielr 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate ielr 0.1.1 on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate ielr 0.1.1 [INFO] finished tweaking crates.io crate ielr 0.1.1 [INFO] tweaked toml for crates.io crate ielr 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate ielr 0.1.1 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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1ad79b7b0b87ef00f157a5362fee74f2f35bc572e92e51d6a52ec5862198465 [INFO] running `Command { std: "docker" "start" "-a" "e1ad79b7b0b87ef00f157a5362fee74f2f35bc572e92e51d6a52ec5862198465", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1ad79b7b0b87ef00f157a5362fee74f2f35bc572e92e51d6a52ec5862198465", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1ad79b7b0b87ef00f157a5362fee74f2f35bc572e92e51d6a52ec5862198465", kill_on_drop: false }` [INFO] [stdout] e1ad79b7b0b87ef00f157a5362fee74f2f35bc572e92e51d6a52ec5862198465 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ecc601eb2ec81c031c2516063fca702d8e4204b466724b1d97235b96fe3cabc5 [INFO] running `Command { std: "docker" "start" "-a" "ecc601eb2ec81c031c2516063fca702d8e4204b466724b1d97235b96fe3cabc5", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Checking fnv v1.0.5 [INFO] [stderr] Checking ielr v0.1.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/grammar_with_precedence.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/integration/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/grammar_with_conflicts.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.22s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking ielr v0.1.1 (/tmp/fixit) [INFO] [stdout] error[E0502]: cannot borrow `this.states` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/lr.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 97 | let state = match this.states.get_mut(index) { [INFO] [stdout] | ----------- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 101 | 'transition: for (transition_symbol, new_items) in state.successors(grammar_data) { [INFO] [stdout] | ------------------------------ mutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 104 | let state = &this.states[potential_state]; [INFO] [stdout] | ^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `this.states` as mutable more than once at a time [INFO] [stdout] --> src/lr.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 97 | let state = match this.states.get_mut(index) { [INFO] [stdout] | ----------- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 101 | 'transition: for (transition_symbol, new_items) in state.successors(grammar_data) { [INFO] [stdout] | ------------------------------ first borrow later used here [INFO] [stdout] ... [INFO] [stdout] 106 | this.states[index] [INFO] [stdout] | ^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `this.states` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/lr.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 97 | let state = match this.states.get_mut(index) { [INFO] [stdout] | ----------- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 101 | 'transition: for (transition_symbol, new_items) in state.successors(grammar_data) { [INFO] [stdout] | ------------------------------ a temporary with access to the mutable borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 112 | if this.states.len() > StateIdxRaw::MAX as usize { [INFO] [stdout] | ^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 123 | } [INFO] [stdout] | - ... and the mutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `this.states` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/lr.rs:115:53 [INFO] [stdout] | [INFO] [stdout] 97 | let state = match this.states.get_mut(index) { [INFO] [stdout] | ----------- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 101 | 'transition: for (transition_symbol, new_items) in state.successors(grammar_data) { [INFO] [stdout] | ------------------------------ mutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 115 | let new_state_index = StateIdx::new(this.states.len() as StateIdxRaw); [INFO] [stdout] | ^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `this.states` as mutable more than once at a time [INFO] [stdout] --> src/lr.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 97 | let state = match this.states.get_mut(index) { [INFO] [stdout] | ----------- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 101 | 'transition: for (transition_symbol, new_items) in state.successors(grammar_data) { [INFO] [stdout] | ------------------------------ first borrow later used here [INFO] [stdout] ... [INFO] [stdout] 118 | this.states.push(new_state); [INFO] [stdout] | ^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `this.states` as mutable more than once at a time [INFO] [stdout] --> src/lr.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 97 | let state = match this.states.get_mut(index) { [INFO] [stdout] | ----------- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 101 | 'transition: for (transition_symbol, new_items) in state.successors(grammar_data) { [INFO] [stdout] | ------------------------------ first borrow later used here [INFO] [stdout] ... [INFO] [stdout] 119 | this.states[index] [INFO] [stdout] | ^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 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 `ielr` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0502]: cannot borrow `this.states` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/lr.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 97 | let state = match this.states.get_mut(index) { [INFO] [stdout] | ----------- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 101 | 'transition: for (transition_symbol, new_items) in state.successors(grammar_data) { [INFO] [stdout] | ------------------------------ mutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 104 | let state = &this.states[potential_state]; [INFO] [stdout] | ^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `this.states` as mutable more than once at a time [INFO] [stdout] --> src/lr.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 97 | let state = match this.states.get_mut(index) { [INFO] [stdout] | ----------- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 101 | 'transition: for (transition_symbol, new_items) in state.successors(grammar_data) { [INFO] [stdout] | ------------------------------ first borrow later used here [INFO] [stdout] ... [INFO] [stdout] 106 | this.states[index] [INFO] [stdout] | ^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `this.states` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/lr.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 97 | let state = match this.states.get_mut(index) { [INFO] [stdout] | ----------- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 101 | 'transition: for (transition_symbol, new_items) in state.successors(grammar_data) { [INFO] [stdout] | ------------------------------ a temporary with access to the mutable borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 112 | if this.states.len() > StateIdxRaw::MAX as usize { [INFO] [stdout] | ^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 123 | } [INFO] [stdout] | - ... and the mutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `this.states` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/lr.rs:115:53 [INFO] [stdout] | [INFO] [stdout] 97 | let state = match this.states.get_mut(index) { [INFO] [stdout] | ----------- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 101 | 'transition: for (transition_symbol, new_items) in state.successors(grammar_data) { [INFO] [stdout] | ------------------------------ mutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 115 | let new_state_index = StateIdx::new(this.states.len() as StateIdxRaw); [INFO] [stdout] | ^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `this.states` as mutable more than once at a time [INFO] [stdout] --> src/lr.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 97 | let state = match this.states.get_mut(index) { [INFO] [stdout] | ----------- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 101 | 'transition: for (transition_symbol, new_items) in state.successors(grammar_data) { [INFO] [stdout] | ------------------------------ first borrow later used here [INFO] [stdout] ... [INFO] [stdout] 118 | this.states.push(new_state); [INFO] [stdout] | ^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `this.states` as mutable more than once at a time [INFO] [stdout] --> src/lr.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 97 | let state = match this.states.get_mut(index) { [INFO] [stdout] | ----------- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 101 | 'transition: for (transition_symbol, new_items) in state.successors(grammar_data) { [INFO] [stdout] | ------------------------------ first borrow later used here [INFO] [stdout] ... [INFO] [stdout] 119 | this.states[index] [INFO] [stdout] | ^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 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 `ielr` (lib test) due to 7 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "ecc601eb2ec81c031c2516063fca702d8e4204b466724b1d97235b96fe3cabc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecc601eb2ec81c031c2516063fca702d8e4204b466724b1d97235b96fe3cabc5", kill_on_drop: false }` [INFO] [stdout] ecc601eb2ec81c031c2516063fca702d8e4204b466724b1d97235b96fe3cabc5