[INFO] cloning repository https://github.com/lovebaihezi/llsyntax [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lovebaihezi/llsyntax" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flovebaihezi%2Fllsyntax", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flovebaihezi%2Fllsyntax'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9167bb2ddc6d41d19044202e9673f30707429555 [INFO] checking lovebaihezi/llsyntax against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flovebaihezi%2Fllsyntax" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lovebaihezi/llsyntax on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/lovebaihezi/llsyntax [INFO] finished tweaking git repo https://github.com/lovebaihezi/llsyntax [INFO] tweaked toml for git repo https://github.com/lovebaihezi/llsyntax written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lovebaihezi/llsyntax 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-queue v0.3.2 [INFO] [stderr] Downloaded crossbeam v0.8.1 [INFO] [stderr] Downloaded tracing-subscriber v0.3.2 [INFO] [stderr] Downloaded libc v0.2.108 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31effaf03a020a1ce3fd10df1fd1f073e1796c2c2b2d17e11f9da453cce98d49 [INFO] running `Command { std: "docker" "start" "-a" "31effaf03a020a1ce3fd10df1fd1f073e1796c2c2b2d17e11f9da453cce98d49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31effaf03a020a1ce3fd10df1fd1f073e1796c2c2b2d17e11f9da453cce98d49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31effaf03a020a1ce3fd10df1fd1f073e1796c2c2b2d17e11f9da453cce98d49", kill_on_drop: false }` [INFO] [stdout] 31effaf03a020a1ce3fd10df1fd1f073e1796c2c2b2d17e11f9da453cce98d49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf6240ef12c579b3ac9fa178629b281315f79e2a3c942d7ed2b57dd451ec04a4 [INFO] running `Command { std: "docker" "start" "-a" "bf6240ef12c579b3ac9fa178629b281315f79e2a3c942d7ed2b57dd451ec04a4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking tracing-subscriber v0.3.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking syntax v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `implement::*` [INFO] [stdout] --> src/grammar/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use implement::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `operator::*` [INFO] [stdout] --> src/grammar/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use operator::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/grammar/mod.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `implement::*` [INFO] [stdout] --> src/syntax/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use implement::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `derive_default_enum` has been stable since 1.62.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(derive_default_enum)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `implement::*` [INFO] [stdout] --> src/grammar/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use implement::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `operator::*` [INFO] [stdout] --> src/grammar/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use operator::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/grammar/mod.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `implement::*` [INFO] [stdout] --> src/syntax/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use implement::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `derive_default_enum` has been stable since 1.62.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(derive_default_enum)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/grammar/implement.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 117 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 118 | s [INFO] [stdout] | ^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/grammar/implement.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 117 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 118 | s [INFO] [stdout] | ^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/grammar/implement.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/grammar/implement.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | let mut s = G::new(State::NonTerminal(0)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/grammar/implement.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let map: HashMap<&T, usize> = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/grammar/implement.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let mut s = G::new(State::NonTerminal(0)); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start` is never read [INFO] [stdout] --> src/grammar/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct G [INFO] [stdout] | - field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | start: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `G` 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: associated items `is_epsilon`, `epsilon`, `is_terminal`, `is_nonterminal`, `is_dollar`, and `dollar` are never used [INFO] [stdout] --> src/grammar/mod.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub trait Symbols { [INFO] [stdout] | ------- associated items in this trait [INFO] [stdout] 95 | fn is_epsilon(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 96 | fn epsilon() -> Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 97 | fn is_terminal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn is_nonterminal(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 101 | fn is_dollar(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 102 | fn dollar() -> Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EliminationLeftRecursion` is never used [INFO] [stdout] --> src/grammar/implement.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum EliminationLeftRecursion { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EliminationLeftRecursion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NonTerminal` and `Terminal` are never constructed [INFO] [stdout] --> src/grammar/implement.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum State { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 20 | NonTerminal(usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | Terminal(usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/grammar/implement.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 46 | / impl G [INFO] [stdout] 47 | | where [INFO] [stdout] 48 | | T: std::fmt::Debug + PartialEq + Hash + Eq + Symbols + Default + Clone, [INFO] [stdout] | |___________________________________________________________________________- associated items in this implementation [INFO] [stdout] 49 | { [INFO] [stdout] 50 | pub fn new(start: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn is_left_recursion(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn elimination_left_recursion(&self) -> G { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn is_cycle(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn is_epsilon_product(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn first(&self, sign: T) -> HashSet { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn will_product_epslion(&self, sign: &T) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn follow(&self, sign: T) -> HashSet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub fn generate_predictive_parsing(&self) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | fn check(&self, iter: &mut impl Iterator) -> Result, String> [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/grammar/implement.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/grammar/implement.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | let mut s = G::new(State::NonTerminal(0)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/grammar/implement.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let map: HashMap<&T, usize> = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/grammar/implement.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let mut s = G::new(State::NonTerminal(0)); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/grammar/implement.rs:666:13 [INFO] [stdout] | [INFO] [stdout] 666 | for i in &all_keys { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_dollar` is never used [INFO] [stdout] --> src/grammar/mod.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub trait Symbols { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 101 | fn is_dollar(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EliminationLeftRecursion` is never used [INFO] [stdout] --> src/grammar/implement.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum EliminationLeftRecursion { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EliminationLeftRecursion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Terminal` is never constructed [INFO] [stdout] --> src/grammar/implement.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum State { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | Terminal(usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.83s [INFO] running `Command { std: "docker" "inspect" "bf6240ef12c579b3ac9fa178629b281315f79e2a3c942d7ed2b57dd451ec04a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf6240ef12c579b3ac9fa178629b281315f79e2a3c942d7ed2b57dd451ec04a4", kill_on_drop: false }` [INFO] [stdout] bf6240ef12c579b3ac9fa178629b281315f79e2a3c942d7ed2b57dd451ec04a4