[INFO] cloning repository https://github.com/RongDuJiKsp/Principles-and-Techniques-of-Compilers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RongDuJiKsp/Principles-and-Techniques-of-Compilers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRongDuJiKsp%2FPrinciples-and-Techniques-of-Compilers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRongDuJiKsp%2FPrinciples-and-Techniques-of-Compilers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7184bc88d9279de417339ca2d8313e9fc52baf8f [INFO] checking RongDuJiKsp/Principles-and-Techniques-of-Compilers/7184bc88d9279de417339ca2d8313e9fc52baf8f against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRongDuJiKsp%2FPrinciples-and-Techniques-of-Compilers" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RongDuJiKsp/Principles-and-Techniques-of-Compilers 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/RongDuJiKsp/Principles-and-Techniques-of-Compilers [INFO] finished tweaking git repo https://github.com/RongDuJiKsp/Principles-and-Techniques-of-Compilers [INFO] tweaked toml for git repo https://github.com/RongDuJiKsp/Principles-and-Techniques-of-Compilers written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/RongDuJiKsp/Principles-and-Techniques-of-Compilers 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d21e598bfd5624bdb5246a54a5b32325a2dc258e7a3a5f5ab0bb76cf97eeb16d [INFO] running `Command { std: "docker" "start" "-a" "d21e598bfd5624bdb5246a54a5b32325a2dc258e7a3a5f5ab0bb76cf97eeb16d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d21e598bfd5624bdb5246a54a5b32325a2dc258e7a3a5f5ab0bb76cf97eeb16d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d21e598bfd5624bdb5246a54a5b32325a2dc258e7a3a5f5ab0bb76cf97eeb16d", kill_on_drop: false }` [INFO] [stdout] d21e598bfd5624bdb5246a54a5b32325a2dc258e7a3a5f5ab0bb76cf97eeb16d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ace6a2972d5d69d0d850cf503c7e2f2d4afc4656468220775cd4f1325270ead [INFO] running `Command { std: "docker" "start" "-a" "6ace6a2972d5d69d0d850cf503c7e2f2d4afc4656468220775cd4f1325270ead", 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 Compiler v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/pushdown_automaton_grammar.rs (1 fix) [INFO] [stderr] Fixed src/living_dfa.rs (1 fix) [INFO] [stdout] warning: value assigned to `ended` is never read [INFO] [stdout] --> src/pushdown_automaton_grammar.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | ended = true;//不能推出空串 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ended` is never read [INFO] [stdout] --> src/pushdown_automaton_grammar.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | ended = true;//不能推出空串 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_dbg` is never read [INFO] [stdout] --> src/prediction_analyzer.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | is_dbg = true; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_dbg` is never read [INFO] [stdout] --> src/prediction_analyzer.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | is_dbg = false; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `alpha` and `state` are never used [INFO] [stdout] --> src/deterministic_finite_automaton.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl DeterministicFiniteAutomaton { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 278 | pub fn alpha(&self) -> &AlphaTable { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn state(&self) -> &StateSet { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/test.rs (5 fixes) [INFO] [stdout] warning: value assigned to `ended` is never read [INFO] [stdout] --> src/pushdown_automaton_grammar.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | ended = true;//不能推出空串 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ended` is never read [INFO] [stdout] --> src/pushdown_automaton_grammar.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | ended = true;//不能推出空串 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_dbg` is never read [INFO] [stdout] --> src/prediction_analyzer.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | is_dbg = true; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_dbg` is never read [INFO] [stdout] --> src/prediction_analyzer.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | is_dbg = false; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `alpha` and `state` are never used [INFO] [stdout] --> src/deterministic_finite_automaton.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl DeterministicFiniteAutomaton { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 278 | pub fn alpha(&self) -> &AlphaTable { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn state(&self) -> &StateSet { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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.52s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking Compiler v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0425]: cannot find function `main_application` in this scope [INFO] [stdout] --> src/test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | main_application(commands.into_iter()); [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] 3 + use crate::main_application; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EMPTY_SENTENCE` in this scope [INFO] [stdout] --> src/test.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | ('V', '+', EMPTY_SENTENCE), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 3 + use crate::statics::EMPTY_SENTENCE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EMPTY_SENTENCE` in this scope [INFO] [stdout] --> src/test.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | ('U', ')', EMPTY_SENTENCE), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 3 + use crate::statics::EMPTY_SENTENCE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EMPTY_SENTENCE` in this scope [INFO] [stdout] --> src/test.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | ('V', ')', EMPTY_SENTENCE), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 3 + use crate::statics::EMPTY_SENTENCE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EMPTY_SENTENCE` in this scope [INFO] [stdout] --> src/test.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | ('U', '#', EMPTY_SENTENCE), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 3 + use crate::statics::EMPTY_SENTENCE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EMPTY_SENTENCE` in this scope [INFO] [stdout] --> src/test.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | ('V', '#', EMPTY_SENTENCE), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 3 + use crate::statics::EMPTY_SENTENCE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PredictionAnalyzerInput` [INFO] [stdout] --> src/test.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | ].into_iter().map(|(v_n, v_t, tag)| (PredictionAnalyzerInput::new(v_n, v_t), tag.to_string())).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `PredictionAnalyzerInput` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::prediction_analyzer::PredictionAnalyzerInput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/test.rs:26:110 [INFO] [stdout] | [INFO] [stdout] 26 | ].into_iter().map(|(v_n, v_t, tag)| (PredictionAnalyzerInput::new(v_n, v_t), tag.to_string())).collect::>(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PredictionAnalyzer` [INFO] [stdout] --> src/test.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | let pa = PredictionAnalyzer::new(ll1_table, 'E'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `PredictionAnalyzer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::prediction_analyzer::PredictionAnalyzer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EMPTY_SENTENCE` in this scope [INFO] [stdout] --> src/test.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | ('V', '+', EMPTY_SENTENCE), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 3 + use crate::statics::EMPTY_SENTENCE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EMPTY_SENTENCE` in this scope [INFO] [stdout] --> src/test.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | ('U', ')', EMPTY_SENTENCE), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 3 + use crate::statics::EMPTY_SENTENCE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EMPTY_SENTENCE` in this scope [INFO] [stdout] --> src/test.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | ('V', ')', EMPTY_SENTENCE), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 3 + use crate::statics::EMPTY_SENTENCE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EMPTY_SENTENCE` in this scope [INFO] [stdout] --> src/test.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | ('U', '#', EMPTY_SENTENCE), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 3 + use crate::statics::EMPTY_SENTENCE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EMPTY_SENTENCE` in this scope [INFO] [stdout] --> src/test.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | ('V', '#', EMPTY_SENTENCE), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 3 + use crate::statics::EMPTY_SENTENCE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PredictionAnalyzerInput` [INFO] [stdout] --> src/test.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | ].into_iter().map(|(v_n, v_t, tag)| (PredictionAnalyzerInput::new(v_n, v_t), tag.to_string())).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `PredictionAnalyzerInput` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::prediction_analyzer::PredictionAnalyzerInput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/test.rs:57:110 [INFO] [stdout] | [INFO] [stdout] 57 | ].into_iter().map(|(v_n, v_t, tag)| (PredictionAnalyzerInput::new(v_n, v_t), tag.to_string())).collect::>(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PredictionAnalyzer` [INFO] [stdout] --> src/test.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | let pa = PredictionAnalyzer::new(ll1_table, 'E'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `PredictionAnalyzer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::prediction_analyzer::PredictionAnalyzer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PushDownAutomatonGrammar` [INFO] [stdout] --> src/test.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | let pd = PushDownAutomatonGrammar::build_with_case("E->TU,U->+TU|$,T->FV,V->*FV|$,F->(E)|i".to_string(), 'E').expect("err"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `PushDownAutomatonGrammar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::pushdown_automaton_grammar::PushDownAutomatonGrammar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ended` is never read [INFO] [stdout] --> src/pushdown_automaton_grammar.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | ended = true;//不能推出空串 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ended` is never read [INFO] [stdout] --> src/pushdown_automaton_grammar.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | ended = true;//不能推出空串 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_dbg` is never read [INFO] [stdout] --> src/prediction_analyzer.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | is_dbg = true; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_dbg` is never read [INFO] [stdout] --> src/prediction_analyzer.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | is_dbg = false; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `alpha` and `state` are never used [INFO] [stdout] --> src/deterministic_finite_automaton.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl DeterministicFiniteAutomaton { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 278 | pub fn alpha(&self) -> &AlphaTable { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn state(&self) -> &StateSet { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ended` is never read [INFO] [stdout] --> src/pushdown_automaton_grammar.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | ended = true;//不能推出空串 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ended` is never read [INFO] [stdout] --> src/pushdown_automaton_grammar.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | ended = true;//不能推出空串 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_dbg` is never read [INFO] [stdout] --> src/prediction_analyzer.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | is_dbg = true; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_dbg` is never read [INFO] [stdout] --> src/prediction_analyzer.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | is_dbg = false; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Compiler` (bin "Compiler" test) due to 19 previous errors; 4 warnings emitted [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" "6ace6a2972d5d69d0d850cf503c7e2f2d4afc4656468220775cd4f1325270ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ace6a2972d5d69d0d850cf503c7e2f2d4afc4656468220775cd4f1325270ead", kill_on_drop: false }` [INFO] [stdout] 6ace6a2972d5d69d0d850cf503c7e2f2d4afc4656468220775cd4f1325270ead