[INFO] fetching crate ielr 0.1.1... [INFO] checking ielr-0.1.1 against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] extracting crate ielr 0.1.1 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate ielr 0.1.1 on toolchain 91c0823ee63e793d990bb9fed898dc95b5d6db51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-7-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-7-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" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47df2ae5ed5bf28c01d59fdd5de3fa879f5953c10df1afd2cde72fd361ee10c6 [INFO] running `Command { std: "docker" "start" "-a" "47df2ae5ed5bf28c01d59fdd5de3fa879f5953c10df1afd2cde72fd361ee10c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47df2ae5ed5bf28c01d59fdd5de3fa879f5953c10df1afd2cde72fd361ee10c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47df2ae5ed5bf28c01d59fdd5de3fa879f5953c10df1afd2cde72fd361ee10c6", kill_on_drop: false }` [INFO] [stdout] 47df2ae5ed5bf28c01d59fdd5de3fa879f5953c10df1afd2cde72fd361ee10c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11fb6da0ee72a9675d0846007ae20b63faa352f7e252eb4fcadba550c956187b [INFO] running `Command { std: "docker" "start" "-a" "11fb6da0ee72a9675d0846007ae20b63faa352f7e252eb4fcadba550c956187b", 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.41s [INFO] running `Command { std: "docker" "inspect" "11fb6da0ee72a9675d0846007ae20b63faa352f7e252eb4fcadba550c956187b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11fb6da0ee72a9675d0846007ae20b63faa352f7e252eb4fcadba550c956187b", kill_on_drop: false }` [INFO] [stdout] 11fb6da0ee72a9675d0846007ae20b63faa352f7e252eb4fcadba550c956187b [INFO] checking ielr-0.1.1 against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] extracting crate ielr 0.1.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate ielr 0.1.1 on toolchain 519d6e23a6cb73c4d0f295f71ad37db8e95c54ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-7-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-7-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" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9fa21ea40bb0319e480858b5f924bb7c24bb878a790c14f5f16c059ffefe416 [INFO] running `Command { std: "docker" "start" "-a" "d9fa21ea40bb0319e480858b5f924bb7c24bb878a790c14f5f16c059ffefe416", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9fa21ea40bb0319e480858b5f924bb7c24bb878a790c14f5f16c059ffefe416", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9fa21ea40bb0319e480858b5f924bb7c24bb878a790c14f5f16c059ffefe416", kill_on_drop: false }` [INFO] [stdout] d9fa21ea40bb0319e480858b5f924bb7c24bb878a790c14f5f16c059ffefe416 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 770693520dba0634f7157adb49d75df1938890215bcb058da73305588635dac6 [INFO] running `Command { std: "docker" "start" "-a" "770693520dba0634f7157adb49d75df1938890215bcb058da73305588635dac6", 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.32s [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" "770693520dba0634f7157adb49d75df1938890215bcb058da73305588635dac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "770693520dba0634f7157adb49d75df1938890215bcb058da73305588635dac6", kill_on_drop: false }` [INFO] [stdout] 770693520dba0634f7157adb49d75df1938890215bcb058da73305588635dac6