[INFO] fetching crate racc 0.0.4... [INFO] testing racc-0.0.4 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate racc 0.0.4 into /workspace/builds/worker-2-tc1/source [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] validating manifest of crates.io crate racc 0.0.4 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a53b1a05f70dbcef061985ecc8070e25981670d279b1d027b56f516669e3f55c [INFO] running `Command { std: "docker" "start" "-a" "a53b1a05f70dbcef061985ecc8070e25981670d279b1d027b56f516669e3f55c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a53b1a05f70dbcef061985ecc8070e25981670d279b1d027b56f516669e3f55c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a53b1a05f70dbcef061985ecc8070e25981670d279b1d027b56f516669e3f55c", kill_on_drop: false }` [INFO] [stdout] a53b1a05f70dbcef061985ecc8070e25981670d279b1d027b56f516669e3f55c [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 430f1403759a615e91134cdcdee39cd7e221671060be5a57ebf3dc9de747550a [INFO] running `Command { std: "docker" "start" "-a" "430f1403759a615e91134cdcdee39cd7e221671060be5a57ebf3dc9de747550a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling quote v1.0.22 [INFO] [stderr] Compiling syn v1.0.105 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ramp_table v0.1.0 [INFO] [stderr] Compiling 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: `docsrs`, `feature`, and `test` and 31 more [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.15s [INFO] running `Command { std: "docker" "inspect" "430f1403759a615e91134cdcdee39cd7e221671060be5a57ebf3dc9de747550a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "430f1403759a615e91134cdcdee39cd7e221671060be5a57ebf3dc9de747550a", kill_on_drop: false }` [INFO] [stdout] 430f1403759a615e91134cdcdee39cd7e221671060be5a57ebf3dc9de747550a [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1fcb66f577ddb28091c642e3ba2bf0dc3fc2ecbab218cc4f626d3201be53fef7 [INFO] running `Command { std: "docker" "start" "-a" "1fcb66f577ddb28091c642e3ba2bf0dc3fc2ecbab218cc4f626d3201be53fef7", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling quote v1.0.22 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling syn v1.0.105 [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: `docsrs`, `feature`, and `test` and 31 more [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] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling static_init v1.0.3 [INFO] [stderr] Compiling static_init_macro v1.0.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ramp_table v0.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling 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: `docsrs`, `feature`, and `test` and 31 more [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: 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: `docsrs`, `feature`, and `test` and 31 more [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/json.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [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/calc3.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(nope)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] --> tests/json.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [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] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] --> tests/json.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [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] 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 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] --> tests/tokens_with_lifetimes.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] --> tests/tokens_with_lifetimes.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [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] 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_with_lifetimes") due to 3 previous errors [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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] --> tests/tokens_all_values.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] --> tests/tokens_all_values.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [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 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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] --> examples/math.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] --> examples/math.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | return Err(racc_runtime::Error::AppError); [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] --> examples/program.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] --> examples/program.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | return Err(racc_runtime::Error::AppError); [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [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: `docsrs`, `feature`, and `test` and 31 more [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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] --> examples/program.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] --> examples/program.rs:105:37 [INFO] [stdout] | [INFO] [stdout] 105 | | LPAREN Expr(inner) RPAREN { inner } [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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] ... | [INFO] [stdout] 112 | | } [INFO] [stdout] | |_________^ use of unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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] ... | [INFO] [stdout] 119 | | } [INFO] [stdout] | |_________^ use of unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] --> examples/program.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | | Let(e) { e } [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [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 20 previous errors; 1 warning emitted [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] --> examples/math.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[racc::grammar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] --> examples/math.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | Expr -> i32 : NUM(x) { x } [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] | |_________^ use of unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] --> examples/math.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 37 | | LPAREN Expr(inner) RPAREN { inner } [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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] ... | [INFO] [stdout] 44 | | } [INFO] [stdout] | |_________^ use of unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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] ... | [INFO] [stdout] 51 | | }; [INFO] [stdout] | |_________^ use of unresolved module or unlinked crate `racc_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `racc_runtime`, use `cargo add racc_runtime` to add it to your `Cargo.toml` [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 12 previous errors [INFO] running `Command { std: "docker" "inspect" "1fcb66f577ddb28091c642e3ba2bf0dc3fc2ecbab218cc4f626d3201be53fef7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fcb66f577ddb28091c642e3ba2bf0dc3fc2ecbab218cc4f626d3201be53fef7", kill_on_drop: false }` [INFO] [stdout] 1fcb66f577ddb28091c642e3ba2bf0dc3fc2ecbab218cc4f626d3201be53fef7