[INFO] cloning repository https://github.com/Equescript/state_machine_parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Equescript/state_machine_parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEquescript%2Fstate_machine_parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEquescript%2Fstate_machine_parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d2e2b7551826fd5bdf7437597001b165288c705 [INFO] checking Equescript/state_machine_parser/2d2e2b7551826fd5bdf7437597001b165288c705 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEquescript%2Fstate_machine_parser" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Equescript/state_machine_parser on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Equescript/state_machine_parser [INFO] finished tweaking git repo https://github.com/Equescript/state_machine_parser [INFO] tweaked toml for git repo https://github.com/Equescript/state_machine_parser written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Equescript/state_machine_parser 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a935d0f60da2920b00f93c50e88fadaf05d46cc25beb36802c174ff36626be0a [INFO] running `Command { std: "docker" "start" "-a" "a935d0f60da2920b00f93c50e88fadaf05d46cc25beb36802c174ff36626be0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a935d0f60da2920b00f93c50e88fadaf05d46cc25beb36802c174ff36626be0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a935d0f60da2920b00f93c50e88fadaf05d46cc25beb36802c174ff36626be0a", kill_on_drop: false }` [INFO] [stdout] a935d0f60da2920b00f93c50e88fadaf05d46cc25beb36802c174ff36626be0a [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6553fba73055ba417a5dee6828bc955fb674c2405d13562b5fd4e8146f90aa7 [INFO] running `Command { std: "docker" "start" "-a" "b6553fba73055ba417a5dee6828bc955fb674c2405d13562b5fd4e8146f90aa7", 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 state_machine_parser v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/state_machine.rs (1 fix) [INFO] [stderr] Fixed src/bnf_rules_compiler.rs (1 fix) [INFO] [stderr] Fixed src/lib.rs (1 fix) [INFO] [stdout] warning: unused variable: `start_rule` [INFO] [stdout] --> src/state_machine.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | let (start_rule, tokens, traceback_records, rule_call_record, match_record) = context; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_rule` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `traceback_records` [INFO] [stdout] --> src/state_machine.rs:83:34 [INFO] [stdout] | [INFO] [stdout] 83 | let (start_rule, tokens, traceback_records, rule_call_record, match_record) = context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_traceback_records` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rule_call_record` [INFO] [stdout] --> src/state_machine.rs:83:53 [INFO] [stdout] | [INFO] [stdout] 83 | let (start_rule, tokens, traceback_records, rule_call_record, match_record) = context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rule_call_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `match_record` [INFO] [stdout] --> src/state_machine.rs:83:71 [INFO] [stdout] | [INFO] [stdout] 83 | let (start_rule, tokens, traceback_records, rule_call_record, match_record) = context; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_match_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_rule` [INFO] [stdout] --> src/state_machine.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | let (start_rule, tokens, traceback_records, rule_call_records, match_records) = context; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/lib.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 62 | struct NumericExpressionToken { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 63 | token_type: NumericExpressionTokenType, [INFO] [stdout] 64 | value: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NumericExpressionToken` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/lib.rs (2 fixes) [INFO] [stdout] warning: unused variable: `start_rule` [INFO] [stdout] --> src/state_machine.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | let (start_rule, tokens, traceback_records, rule_call_record, match_record) = context; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_rule` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `traceback_records` [INFO] [stdout] --> src/state_machine.rs:83:34 [INFO] [stdout] | [INFO] [stdout] 83 | let (start_rule, tokens, traceback_records, rule_call_record, match_record) = context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_traceback_records` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rule_call_record` [INFO] [stdout] --> src/state_machine.rs:83:53 [INFO] [stdout] | [INFO] [stdout] 83 | let (start_rule, tokens, traceback_records, rule_call_record, match_record) = context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rule_call_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `match_record` [INFO] [stdout] --> src/state_machine.rs:83:71 [INFO] [stdout] | [INFO] [stdout] 83 | let (start_rule, tokens, traceback_records, rule_call_record, match_record) = context; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_match_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_rule` [INFO] [stdout] --> src/state_machine.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | let (start_rule, tokens, traceback_records, rule_call_records, match_records) = context; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking state_machine_parser v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0405]: cannot find trait `TokenType` in this scope [INFO] [stdout] --> src/lib.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | impl TokenType for NumericExpressionTokenType {} [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 25 + use crate::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/lib.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 42 | static mut TOKEN_TYPE_CONVERTER: Option, NumericExpressionTokenType>> = None; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 25 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/lib.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | TOKEN_TYPE_CONVERTER = Some(HashMap::from([ [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 25 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Token` in this scope [INFO] [stdout] --> src/lib.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | impl Token for NumericExpressionToken { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 25 + use crate::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `compile_bnf_rules` in this scope [INFO] [stdout] --> src/lib.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | let state_manager = compile_bnf_rules(RULE).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 25 + use crate::compile_bnf_rules; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StateMachineParser` [INFO] [stdout] --> src/lib.rs:95:35 [INFO] [stdout] | [INFO] [stdout] 95 | let match_records = match StateMachineParser::new(&state_manager).parse(&expression, start_rule) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `StateMachineParser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 25 + use crate::StateMachineParser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `debug_print_match_record` in this scope [INFO] [stdout] --> src/lib.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | debug_print_match_record(&expression, &match_records, &state_manager.rule_names); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 25 + use crate::debug_print_match_record; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `state_machine_parser` (lib test) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `start_rule` [INFO] [stdout] --> src/state_machine.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | let (start_rule, tokens, traceback_records, rule_call_record, match_record) = context; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_rule` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `traceback_records` [INFO] [stdout] --> src/state_machine.rs:83:34 [INFO] [stdout] | [INFO] [stdout] 83 | let (start_rule, tokens, traceback_records, rule_call_record, match_record) = context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_traceback_records` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rule_call_record` [INFO] [stdout] --> src/state_machine.rs:83:53 [INFO] [stdout] | [INFO] [stdout] 83 | let (start_rule, tokens, traceback_records, rule_call_record, match_record) = context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rule_call_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `match_record` [INFO] [stdout] --> src/state_machine.rs:83:71 [INFO] [stdout] | [INFO] [stdout] 83 | let (start_rule, tokens, traceback_records, rule_call_record, match_record) = context; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_match_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_rule` [INFO] [stdout] --> src/state_machine.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | let (start_rule, tokens, traceback_records, rule_call_records, match_records) = context; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [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" "b6553fba73055ba417a5dee6828bc955fb674c2405d13562b5fd4e8146f90aa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6553fba73055ba417a5dee6828bc955fb674c2405d13562b5fd4e8146f90aa7", kill_on_drop: false }` [INFO] [stdout] b6553fba73055ba417a5dee6828bc955fb674c2405d13562b5fd4e8146f90aa7