[INFO] fetching crate racc 0.0.4... [INFO] checking racc-0.0.4 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate racc 0.0.4 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate racc 0.0.4 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate racc 0.0.4 [INFO] finished tweaking crates.io crate racc 0.0.4 [INFO] tweaked toml for crates.io crate racc 0.0.4 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate crates.io crate racc 0.0.4 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ramp_table v0.1.0 [INFO] [stderr] Downloaded quote v1.0.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df8b6e69c898cfe231d55de09119267a32994ba84a5b66ba2775f34ac8aeb3d7 [INFO] running `Command { std: "docker" "start" "-a" "df8b6e69c898cfe231d55de09119267a32994ba84a5b66ba2775f34ac8aeb3d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df8b6e69c898cfe231d55de09119267a32994ba84a5b66ba2775f34ac8aeb3d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df8b6e69c898cfe231d55de09119267a32994ba84a5b66ba2775f34ac8aeb3d7", kill_on_drop: false }` [INFO] [stdout] df8b6e69c898cfe231d55de09119267a32994ba84a5b66ba2775f34ac8aeb3d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db334c93b5155d923424f82c3dd12291cd0418b6b977e81a77e4cd17b3dcbd7a [INFO] running `Command { std: "docker" "start" "-a" "db334c93b5155d923424f82c3dd12291cd0418b6b977e81a77e4cd17b3dcbd7a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling quote v1.0.22 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.105 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking ramp_table v0.1.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling static_init_macro v1.0.2 [INFO] [stderr] Compiling static_init v1.0.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking racc v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `nope` [INFO] [stdout] --> src/lib.rs:404:7 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(nope)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nope)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nope)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ty` is never read [INFO] [stdout] --> src/grammar.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct RhsBinding { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 84 | pub ident: syn::Ident, [INFO] [stdout] 85 | pub ty: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `RhsBinding` has a derived impl for the trait `Clone`, 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nope` [INFO] [stdout] --> src/lib.rs:404:7 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(nope)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nope)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nope)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ty` is never read [INFO] [stdout] --> src/grammar.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct RhsBinding { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 84 | pub ident: syn::Ident, [INFO] [stdout] 85 | pub ty: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `RhsBinding` has a derived impl for the trait `Clone`, 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nope` [INFO] [stdout] --> tests/calc3.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(nope)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nope)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nope)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `racc_runtime` [INFO] [stdout] --> tests/tokens_some_values.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `racc::grammar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `racc_runtime` [INFO] [stdout] --> tests/tokens_with_lifetimes.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `racc::grammar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `racc_runtime` [INFO] [stdout] --> tests/tokens_no_values.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `racc::grammar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `racc_runtime` [INFO] [stdout] --> tests/tokens_all_values.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `racc::grammar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nope` [INFO] [stdout] --> tests/simple.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(nope)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nope)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nope)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> tests/tokens_some_values.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `racc::grammar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 15+ use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 15+ use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 15+ use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 15+ use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `racc_runtime` [INFO] [stdout] --> examples/math.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `racc::grammar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> tests/tokens_no_values.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `racc::grammar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 15+ use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 15+ use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 15+ use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 15+ use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `racc_runtime` [INFO] [stdout] --> tests/json.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `racc::grammar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> tests/tokens_all_values.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `racc::grammar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 15+ use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 15+ use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 15+ use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 15+ use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> tests/tokens_with_lifetimes.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `racc::grammar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 16+ use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 16+ use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 16+ use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 16+ use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> tests/tokens_all_values.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `racc::grammar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> tests/tokens_no_values.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `racc::grammar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> tests/tokens_some_values.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `racc::grammar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> tests/tokens_all_values.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | Top : A B C {println!("... wait, what?")}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `racc` (test "tokens_no_values") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `racc` (test "tokens_some_values") due to 4 previous errors [INFO] [stdout] error[E0432]: unresolved import `racc_runtime` [INFO] [stdout] --> examples/program.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `racc::grammar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> tests/tokens_with_lifetimes.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `racc::grammar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `racc` (test "tokens_all_values") due to 5 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> tests/json.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `racc::grammar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 59+ use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 59+ use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 59+ use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 59+ use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `racc` (test "tokens_with_lifetimes") due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/math.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `racc::grammar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/math.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | return Err(racc_runtime::Error::AppError); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 33 - return Err(racc_runtime::Error::AppError); [INFO] [stdout] 33 + return Err(Error::AppError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> tests/json.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `racc::grammar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `racc` (test "json") due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/math.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `racc::grammar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/math.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | Expr -> i32 : NUM(x) { x } [INFO] [stdout] | ^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/math.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | | Expr(a) PLUS Expr(b) { a + b } [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/math.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | | Expr(a) MINUS Expr(b) { a - b } [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/math.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | | Expr(a) MUL Expr(b) { a * b } [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/math.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | | Expr(a) DIV Expr(b) { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 32 | | if b == 0 { [INFO] [stdout] 33 | | return Err(racc_runtime::Error::AppError); [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | a / b [INFO] [stdout] 36 | | } [INFO] [stdout] | |_________^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/math.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 37 | | LPAREN Expr(inner) RPAREN { inner } [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/math.rs:38:52 [INFO] [stdout] | [INFO] [stdout] 38 | | IF Expr(predicate) THEN Expr(true_value) { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 39 | | if predicate != 0 { [INFO] [stdout] 40 | | true_value [INFO] [stdout] 41 | | } else { [INFO] [stdout] 42 | | 0 [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | } [INFO] [stdout] | |_________^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/math.rs:45:75 [INFO] [stdout] | [INFO] [stdout] 45 | | IF Expr(predicate) THEN Expr(true_value) ELSE Expr(false_value) { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 46 | | if predicate != 0 { [INFO] [stdout] 47 | | true_value [INFO] [stdout] 48 | | } else { [INFO] [stdout] 49 | | false_value [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | }; [INFO] [stdout] | |_________^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `racc` (example "math") due to 13 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/program.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `racc::grammar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 18 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 18 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 18 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 18 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/program.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | return Err(racc_runtime::Error::AppError); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 18 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 18 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 18 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 18 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 101 - return Err(racc_runtime::Error::AppError); [INFO] [stdout] 101 + return Err(Error::AppError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nope` [INFO] [stdout] --> examples/program.rs:145:7 [INFO] [stdout] | [INFO] [stdout] 145 | #[cfg(nope)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nope)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nope)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nope` [INFO] [stdout] --> src/lib.rs:404:7 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(nope)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nope)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nope)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/program.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `racc::grammar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/program.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | : DefList(defs) { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 50 | | Program { defs } [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____________^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/program.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | : Expr(e) SEMI { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 56 | | Def::Expr(e) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____________^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/program.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | | FuncDef(f) { [INFO] [stdout] | __________________________^ [INFO] [stdout] 59 | | Def::Func(f) [INFO] [stdout] 60 | | } [INFO] [stdout] | |_____________^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/program.rs:70:39 [INFO] [stdout] | [INFO] [stdout] 70 | : DefList(list) Def(item) { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 71 | | list.push(item); [INFO] [stdout] 72 | | list [INFO] [stdout] 73 | | } [INFO] [stdout] | |_____________^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/program.rs:75:34 [INFO] [stdout] | [INFO] [stdout] 75 | | CommentList Def(d) { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 76 | | println!("DefList: from single def"); [INFO] [stdout] 77 | | vec![d] [INFO] [stdout] 78 | | } [INFO] [stdout] | |_____________^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/program.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | | nil { [INFO] [stdout] | ___________________^ [INFO] [stdout] 81 | | println!("DefList: from empty"); [INFO] [stdout] 82 | | Vec::new() [INFO] [stdout] 83 | | } [INFO] [stdout] | |_____________^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/program.rs:88:30 [INFO] [stdout] | [INFO] [stdout] 88 | Expr -> i32 : NUM(x) { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 89 | | println!("NUM={:?}", x); [INFO] [stdout] 90 | | x [INFO] [stdout] 91 | | } [INFO] [stdout] | |_________^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/program.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | | Expr(a) PLUS Expr(b) { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 93 | | a + b [INFO] [stdout] 94 | | } [INFO] [stdout] | |_________^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/program.rs:95:33 [INFO] [stdout] | [INFO] [stdout] 95 | | Expr(a) MINUS Expr(b) { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 96 | | a - b [INFO] [stdout] 97 | | } [INFO] [stdout] | |_________^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/program.rs:98:34 [INFO] [stdout] | [INFO] [stdout] 98 | | Expr(a) DIVIDE Expr(b) { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 99 | | println!("{} / {}", a, b); [INFO] [stdout] 100 | | if b == 0 { [INFO] [stdout] 101 | | return Err(racc_runtime::Error::AppError); [INFO] [stdout] 102 | | } [INFO] [stdout] 103 | | a / b [INFO] [stdout] 104 | | } [INFO] [stdout] | |_________^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/program.rs:105:37 [INFO] [stdout] | [INFO] [stdout] 105 | | LPAREN Expr(inner) RPAREN { inner } [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/program.rs:106:52 [INFO] [stdout] | [INFO] [stdout] 106 | | IF Expr(predicate) THEN Expr(true_value) { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 107 | | if predicate != 0 { [INFO] [stdout] 108 | | true_value [INFO] [stdout] 109 | | } else { [INFO] [stdout] 110 | | 0 [INFO] [stdout] 111 | | } [INFO] [stdout] 112 | | } [INFO] [stdout] | |_________^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/program.rs:113:75 [INFO] [stdout] | [INFO] [stdout] 113 | | IF Expr(predicate) THEN Expr(true_value) ELSE Expr(false_value) { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 114 | | if predicate != 0 { [INFO] [stdout] 115 | | true_value [INFO] [stdout] 116 | | } else { [INFO] [stdout] 117 | | false_value [INFO] [stdout] 118 | | } [INFO] [stdout] 119 | | } [INFO] [stdout] | |_________^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/program.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | | Let(e) { e } [INFO] [stdout] | ^^^^^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/program.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | IN Expr(_f) { [INFO] [stdout] | _____________________^ [INFO] [stdout] 130 | | println!("popping {:?}", e); [INFO] [stdout] 131 | | 0 [INFO] [stdout] 132 | | }; [INFO] [stdout] | |_________^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `racc_runtime` [INFO] [stdout] --> examples/program.rs:134:84 [INFO] [stdout] | [INFO] [stdout] 134 | FuncDef -> FuncDef : FN IDENT(name) LPAREN RPAREN LBRACE Expr(body) RBRACE { [INFO] [stdout] | ____________________________________________________________________________________^ [INFO] [stdout] 135 | | FuncDef { [INFO] [stdout] 136 | | name, [INFO] [stdout] 137 | | body, [INFO] [stdout] 138 | | } [INFO] [stdout] 139 | | }; [INFO] [stdout] | |_________^ use of undeclared crate or module `racc_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `racc` (example "program") due to 21 previous errors; 1 warning emitted [INFO] [stdout] warning: field `ty` is never read [INFO] [stdout] --> src/grammar.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct RhsBinding { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 84 | pub ident: syn::Ident, [INFO] [stdout] 85 | pub ty: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `RhsBinding` has a derived impl for the trait `Clone`, 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "db334c93b5155d923424f82c3dd12291cd0418b6b977e81a77e4cd17b3dcbd7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db334c93b5155d923424f82c3dd12291cd0418b6b977e81a77e4cd17b3dcbd7a", kill_on_drop: false }` [INFO] [stdout] db334c93b5155d923424f82c3dd12291cd0418b6b977e81a77e4cd17b3dcbd7a