[INFO] cloning repository https://github.com/0xcxdxxr/lalalere [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xcxdxxr/lalalere" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xcxdxxr%2Flalalere", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xcxdxxr%2Flalalere'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95ba2a46e61f822f53a7c74b56b682ff3e2e814e [INFO] testing 0xcxdxxr/lalalere against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xcxdxxr%2Flalalere" "/workspace/builds/worker-50/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-50/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/0xcxdxxr/lalalere on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/0xcxdxxr/lalalere [INFO] finished tweaking git repo https://github.com/0xcxdxxr/lalalere [INFO] tweaked toml for git repo https://github.com/0xcxdxxr/lalalere written to /workspace/builds/worker-50/source/Cargo.toml [INFO] crate git repo https://github.com/0xcxdxxr/lalalere already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `rename-dependency` has been stabilized in the 1.31 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#renaming-dependencies-in-cargotoml for more information about using this feature. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-value v0.5.3 [INFO] [stderr] Downloaded config v0.9.3 [INFO] [stderr] Downloaded pretty v0.5.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.4 [INFO] [stderr] Downloaded tint v1.0.1 [INFO] [stderr] Downloaded ptree v0.2.1 [INFO] [stderr] Downloaded ref_thread_local v0.0.0 [INFO] [stderr] Downloaded serde-hjson v0.8.2 [INFO] [stderr] Downloaded isatty v0.1.9 [INFO] [stderr] Downloaded typed-arena v1.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b38f9db8fc159f00f2b6b949f98085ece1b151814c27bf6cac3c35868c6f0f3 [INFO] running `Command { std: "docker" "start" "-a" "7b38f9db8fc159f00f2b6b949f98085ece1b151814c27bf6cac3c35868c6f0f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b38f9db8fc159f00f2b6b949f98085ece1b151814c27bf6cac3c35868c6f0f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b38f9db8fc159f00f2b6b949f98085ece1b151814c27bf6cac3c35868c6f0f3", kill_on_drop: false }` [INFO] [stdout] 7b38f9db8fc159f00f2b6b949f98085ece1b151814c27bf6cac3c35868c6f0f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1df2d28cb46ca96637967434db206d7fd72981b95bcb0e9b558dbb6600898d0 [INFO] running `Command { std: "docker" "start" "-a" "c1df2d28cb46ca96637967434db206d7fd72981b95bcb0e9b558dbb6600898d0", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `rename-dependency` has been stabilized in the 1.31 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#renaming-dependencies-in-cargotoml for more information about using this feature. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling proc-macro2 v1.0.4 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rgb v0.8.14 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling typed-arena v1.6.1 [INFO] [stderr] Compiling ref_thread_local v0.0.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling tint v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling pretty v0.5.2 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling serde_test v0.8.23 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling directories v1.0.2 [INFO] [stderr] Compiling isatty v0.1.9 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling serde-hjson v0.8.2 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling serde-value v0.5.3 [INFO] [stderr] Compiling winconsole v0.10.0 [INFO] [stderr] Compiling colored v1.8.0 [INFO] [stderr] Compiling config v0.9.3 [INFO] [stderr] Compiling ptree v0.2.1 [INFO] [stderr] Compiling lalr_utils v0.1.0 (/opt/rustwide/workdir/src/lalr_utils) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lalr_utils/src/log.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | writer: &'a mut Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 - writer: &'a mut Write, [INFO] [stdout] 85 + writer: &'a mut dyn Write, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lalr_utils/src/rule.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | pub handle_reduce: Option) -> ()>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 - pub handle_reduce: Option) -> ()>>, [INFO] [stdout] 15 + pub handle_reduce: Option) -> ()>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lalr_utils/src/rule.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | pub handle_exec: Box) -> Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 - pub handle_exec: Box) -> Option>, [INFO] [stdout] 16 + pub handle_exec: Box) -> Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lalr_utils/src/log.rs:89:33 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn from(writer: &'a mut Write) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 - pub fn from(writer: &'a mut Write) -> Self { [INFO] [stdout] 89 + pub fn from(writer: &'a mut dyn Write) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/lalr_utils/src/ast.rs:171:43 [INFO] [stdout] | [INFO] [stdout] 171 | serde_json::Value::Object(ref map) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lalr_utils/src/rule.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | panic!(format!("Use of undeclared rule set: {:?}", src)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 146 - panic!(format!("Use of undeclared rule set: {:?}", src)); [INFO] [stdout] 146 + panic!("Use of undeclared rule set: {:?}", src); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling proc_callback v0.1.0 (/opt/rustwide/workdir/src/proc_callback) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lalr_util` [INFO] [stdout] --> src/proc_callback/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use lalr_util::{parse_util::*, rule::*, symbol::*}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `lalr_util` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use lalr_utils::{parse_util::*, rule::*, symbol::*}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lalr_util` [INFO] [stdout] --> src/proc_callback/src/comp.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use lalr_util::{parse_util::*, rule::*, symbol::*}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `lalr_util` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use lalr_utils::{parse_util::*, rule::*, symbol::*}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `lalr_util::parse_util::*`, `lalr_util::rule::*`, `lalr_util::symbol::*`, `lalr_util::parse_util::*`, `lalr_util::rule::*`, `lalr_util::symbol::*` [INFO] [stdout] --> src/proc_callback/src/lib.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use lalr_util::{parse_util::*, rule::*, symbol::*}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/proc_callback/src/comp.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use lalr_util::{parse_util::*, rule::*, symbol::*}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/proc_callback/src/lib.rs:394:29 [INFO] [stdout] | [INFO] [stdout] 394 | ... Action::Shift(new_state) => { [INFO] [stdout] | ^^^^^^ use of undeclared type `Action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/proc_callback/src/lib.rs:406:29 [INFO] [stdout] | [INFO] [stdout] 406 | ... Action::Reduce(rule) => { [INFO] [stdout] | ^^^^^^ use of undeclared type `Action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/proc_callback/src/lib.rs:418:41 [INFO] [stdout] | [INFO] [stdout] 418 | ... Action::Accept [INFO] [stdout] | ^^^^^^ use of undeclared type `Action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/proc_callback/src/lib.rs:426:33 [INFO] [stdout] | [INFO] [stdout] 426 | ... Action::Shift(new_state) => { [INFO] [stdout] | ^^^^^^ use of undeclared type `Action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/proc_callback/src/lib.rs:429:33 [INFO] [stdout] | [INFO] [stdout] 429 | ... Action::Reduce(rule) => format!("Reducing {:?}", rule), [INFO] [stdout] | ^^^^^^ use of undeclared type `Action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/proc_callback/src/lib.rs:430:33 [INFO] [stdout] | [INFO] [stdout] 430 | ... Action::Accept => format!("Accept"), [INFO] [stdout] | ^^^^^^ use of undeclared type `Action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/proc_callback/src/lib.rs:443:33 [INFO] [stdout] | [INFO] [stdout] 443 | ... Action::Accept [INFO] [stdout] | ^^^^^^ use of undeclared type `Action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/proc_callback/src/lib.rs:493:17 [INFO] [stdout] | [INFO] [stdout] 493 | Action::Accept => quote! {CompactAction::Accept}, [INFO] [stdout] | ^^^^^^ use of undeclared type `Action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/proc_callback/src/lib.rs:494:17 [INFO] [stdout] | [INFO] [stdout] 494 | Action::Reduce(rule) => { [INFO] [stdout] | ^^^^^^ use of undeclared type `Action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/proc_callback/src/lib.rs:498:17 [INFO] [stdout] | [INFO] [stdout] 498 | Action::Shift(new_state) => quote! {CompactAction::Shift(#new_state)}, [INFO] [stdout] | ^^^^^^ use of undeclared type `Action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/proc_callback/src/comp.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn make_first(first: &mut HashMap>, grammar: &Grammar) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use lalr_utils::symbol::Symbol; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/proc_callback/src/comp.rs:5:58 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn make_first(first: &mut HashMap>, grammar: &Grammar) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use lalr_utils::symbol::Symbol; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Grammar` in this scope [INFO] [stdout] --> src/proc_callback/src/comp.rs:5:78 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn make_first(first: &mut HashMap>, grammar: &Grammar) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use lalr_utils::rule::Grammar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BOTTOM` in this scope [INFO] [stdout] --> src/proc_callback/src/comp.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | if *first_elem == BOTTOM { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 | use lalr_utils::symbol::BOTTOM; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BOTTOM` in this scope [INFO] [stdout] --> src/proc_callback/src/comp.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | if has_empty && !my_firsts.contains(&BOTTOM) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 | use lalr_utils::symbol::BOTTOM; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BOTTOM` in this scope [INFO] [stdout] --> src/proc_callback/src/comp.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | new_firsts.push(BOTTOM); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 | use lalr_utils::symbol::BOTTOM; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Closure` in this scope [INFO] [stdout] --> src/proc_callback/src/comp.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | closures: &mut Vec>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use lalr_utils::parse_util::Closure; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/proc_callback/src/comp.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | goto: &mut Vec>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use lalr_utils::symbol::Symbol; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/proc_callback/src/comp.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | first: &HashMap>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use lalr_utils::symbol::Symbol; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/proc_callback/src/comp.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | first: &HashMap>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use lalr_utils::symbol::Symbol; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Grammar` in this scope [INFO] [stdout] --> src/proc_callback/src/comp.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | grammar: &'a Grammar, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use lalr_utils::rule::Grammar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Closure` [INFO] [stdout] --> src/proc_callback/src/comp.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | let mut origin = Closure::new(grammar); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use lalr_utils::parse_util::Closure; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BOTTOM` in this scope [INFO] [stdout] --> src/proc_callback/src/comp.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | la.insert(BOTTOM); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 | use lalr_utils::symbol::BOTTOM; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Item` in this scope [INFO] [stdout] --> src/proc_callback/src/comp.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | origin.insert(Item { rule, pos: 0, la }); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use lalr_utils::parse_util::Item; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/proc_callback/src/comp.rs:73:33 [INFO] [stdout] | [INFO] [stdout] 73 | let mut following = HashMap::>::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use lalr_utils::symbol::Symbol; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Closure` in this scope [INFO] [stdout] --> src/proc_callback/src/comp.rs:73:41 [INFO] [stdout] | [INFO] [stdout] 73 | let mut following = HashMap::>::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use lalr_utils::parse_util::Closure; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Closure` [INFO] [stdout] --> src/proc_callback/src/comp.rs:80:28 [INFO] [stdout] | [INFO] [stdout] 80 | let mut new_closure = Closure::new(grammar); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use lalr_utils::parse_util::Closure; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol` [INFO] [stdout] --> src/proc_callback/src/lib.rs:297:18 [INFO] [stdout] | [INFO] [stdout] 297 | .map(|x| Symbol::from(x.as_str()).as_terminal()) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use lalr_utils::symbol::Symbol; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/proc_callback/src/lib.rs:300:28 [INFO] [stdout] | [INFO] [stdout] 300 | let terms_set: HashSet = symbols.iter().map(|x| *x).collect(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use lalr_utils::symbol::Symbol; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grammar` [INFO] [stdout] --> src/proc_callback/src/lib.rs:304:23 [INFO] [stdout] | [INFO] [stdout] 304 | let mut grammar = Grammar::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use lalr_utils::rule::Grammar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol` [INFO] [stdout] --> src/proc_callback/src/lib.rs:306:19 [INFO] [stdout] | [INFO] [stdout] 306 | let src = Symbol::from(lang_item.as_str()).as_non_terminal(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use lalr_utils::symbol::Symbol; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> src/proc_callback/src/lib.rs:310:24 [INFO] [stdout] | [INFO] [stdout] 310 | let rule = Rule::from(rule_id, src, &ss, &terms_set); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use lalr_utils::rule::Rule; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RuleSet` in this scope [INFO] [stdout] --> src/proc_callback/src/lib.rs:314:24 [INFO] [stdout] | [INFO] [stdout] 314 | grammar.insert(RuleSet { rules, src }); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use lalr_utils::rule::RuleSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/proc_callback/src/lib.rs:317:28 [INFO] [stdout] | [INFO] [stdout] 317 | let mut first: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use lalr_utils::symbol::Symbol; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/proc_callback/src/lib.rs:317:44 [INFO] [stdout] | [INFO] [stdout] 317 | let mut first: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use lalr_utils::symbol::Symbol; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Closure` in this scope [INFO] [stdout] --> src/proc_callback/src/lib.rs:338:27 [INFO] [stdout] | [INFO] [stdout] 338 | let mut closures: Vec> = vec![]; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use lalr_utils::parse_util::Closure; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Grammar` in this scope [INFO] [stdout] --> src/proc_callback/src/lib.rs:343:31 [INFO] [stdout] | [INFO] [stdout] 343 | &*(&grammar as *const Grammar<()>) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use lalr_utils::rule::Grammar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/proc_callback/src/lib.rs:375:33 [INFO] [stdout] | [INFO] [stdout] 375 | let mut action: Vec>> = vec![]; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use lalr_utils::symbol::Symbol; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Action` in this scope [INFO] [stdout] --> src/proc_callback/src/lib.rs:375:41 [INFO] [stdout] | [INFO] [stdout] 375 | let mut action: Vec>> = vec![]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 375 | let mut action: Vec>> = vec![]; [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use lalr_utils::parse_util::Action; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/proc_callback/src/lib.rs:382:43 [INFO] [stdout] | [INFO] [stdout] 382 | action[state].insert(*symbol, Action::Shift(*next_state)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 382 | action[state].insert(*symbol, Option::Shift(*next_state)); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use lalr_utils::parse_util::Action; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/proc_callback/src/lib.rs:420:41 [INFO] [stdout] | [INFO] [stdout] 420 | ... Action::Reduce(item.rule) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 420 | Option::Reduce(item.rule) [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use lalr_utils::parse_util::Action; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/proc_callback/src/lib.rs:445:33 [INFO] [stdout] | [INFO] [stdout] 445 | ... Action::Reduce(item.rule) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 445 | Option::Reduce(item.rule) [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use lalr_utils::parse_util::Action; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index` [INFO] [stdout] --> src/proc_callback/src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use index::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 45 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `proc_callback` due to 46 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c1df2d28cb46ca96637967434db206d7fd72981b95bcb0e9b558dbb6600898d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1df2d28cb46ca96637967434db206d7fd72981b95bcb0e9b558dbb6600898d0", kill_on_drop: false }` [INFO] [stdout] c1df2d28cb46ca96637967434db206d7fd72981b95bcb0e9b558dbb6600898d0