[INFO] fetching crate racc 0.0.4... [INFO] checking racc-0.0.4 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate racc 0.0.4 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate racc 0.0.4 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-4-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" "+506512391b1a75ae450d36c9420978402a91abcc" "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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12af544a3bbd90837e1c702bfc733b25f3ac7e7d47f383f25a49a6a332de980b [INFO] running `Command { std: "docker" "start" "-a" "12af544a3bbd90837e1c702bfc733b25f3ac7e7d47f383f25a49a6a332de980b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12af544a3bbd90837e1c702bfc733b25f3ac7e7d47f383f25a49a6a332de980b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12af544a3bbd90837e1c702bfc733b25f3ac7e7d47f383f25a49a6a332de980b", kill_on_drop: false }` [INFO] [stdout] 12af544a3bbd90837e1c702bfc733b25f3ac7e7d47f383f25a49a6a332de980b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29f01e93c363c28415a59ae3e8e02369716773b57281ae788b39f42ce4f3c1ac [INFO] running `Command { std: "docker" "start" "-a" "29f01e93c363c28415a59ae3e8e02369716773b57281ae788b39f42ce4f3c1ac", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling quote v1.0.22 [INFO] [stderr] Compiling syn v1.0.105 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Checking unicode-ident v1.0.5 [INFO] [stderr] Compiling static_init_macro v1.0.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling static_init v1.0.3 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking ramp_table v0.1.0 [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] 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_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[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[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 core::error::Error; [INFO] [stdout] | [INFO] [stdout] 16+ use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 16+ use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 16+ use std::fmt::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_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 core::error::Error; [INFO] [stdout] | [INFO] [stdout] 15+ use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 15+ use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 15+ use std::fmt::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] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 15+ use core::error::Error; [INFO] [stdout] | [INFO] [stdout] 15+ use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 15+ use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 15+ use std::fmt::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] 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[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_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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [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: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [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[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: 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_with_lifetimes") 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_no_values") due to 4 previous errors [INFO] [stderr] error: could not compile `racc` (test "tokens_all_values") due to 5 previous errors [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] 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 core::error::Error; [INFO] [stdout] | [INFO] [stdout] 15+ use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 15+ use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 15+ use std::fmt::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: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 core::error::Error; [INFO] [stdout] | [INFO] [stdout] 18 + use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 18 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 18 + use std::fmt::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 core::error::Error; [INFO] [stdout] | [INFO] [stdout] 18 + use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 18 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 18 + use std::fmt::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] 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 core::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::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/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 core::error::Error; [INFO] [stdout] | [INFO] [stdout] 59+ use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 59+ use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 59+ use std::fmt::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 core::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::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/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] [stderr] error: could not compile `racc` (test "tokens_some_values") due to 4 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] [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 [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] --> 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 "program") due to 21 previous errors [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] --> 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] running `Command { std: "docker" "inspect" "29f01e93c363c28415a59ae3e8e02369716773b57281ae788b39f42ce4f3c1ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29f01e93c363c28415a59ae3e8e02369716773b57281ae788b39f42ce4f3c1ac", kill_on_drop: false }` [INFO] [stdout] 29f01e93c363c28415a59ae3e8e02369716773b57281ae788b39f42ce4f3c1ac [INFO] checking racc-0.0.4 against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] extracting crate racc 0.0.4 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate racc 0.0.4 on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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-4-tc2/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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2fea7a37c401917deb16a4f1940b268bcd1a2234a3fe0bc81b6977fa32d3851 [INFO] running `Command { std: "docker" "start" "-a" "d2fea7a37c401917deb16a4f1940b268bcd1a2234a3fe0bc81b6977fa32d3851", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2fea7a37c401917deb16a4f1940b268bcd1a2234a3fe0bc81b6977fa32d3851", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2fea7a37c401917deb16a4f1940b268bcd1a2234a3fe0bc81b6977fa32d3851", kill_on_drop: false }` [INFO] [stdout] d2fea7a37c401917deb16a4f1940b268bcd1a2234a3fe0bc81b6977fa32d3851 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fde9d1ab0c8f246d1ac38912b1f14a6b9d11a421529c11fa7aed38140477d437 [INFO] running `Command { std: "docker" "start" "-a" "fde9d1ab0c8f246d1ac38912b1f14a6b9d11a421529c11fa7aed38140477d437", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "fde9d1ab0c8f246d1ac38912b1f14a6b9d11a421529c11fa7aed38140477d437", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fde9d1ab0c8f246d1ac38912b1f14a6b9d11a421529c11fa7aed38140477d437", kill_on_drop: false }` [INFO] [stdout] fde9d1ab0c8f246d1ac38912b1f14a6b9d11a421529c11fa7aed38140477d437