[INFO] fetching crate ra_ap_syntax 0.0.187...
[INFO] checking ra_ap_syntax-0.0.187 against nightly-2024-02-05 for check-cfg
[INFO] extracting crate ra_ap_syntax 0.0.187 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate ra_ap_syntax 0.0.187 on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ra_ap_syntax 0.0.187
[INFO] finished tweaking crates.io crate ra_ap_syntax 0.0.187
[INFO] tweaked toml for crates.io crate ra_ap_syntax 0.0.187 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ra_ap_limit v0.0.187
[INFO] [stderr]   Downloaded ra-ap-rustc_parse_format v0.20.0
[INFO] [stderr]   Downloaded ra_ap_profile v0.0.187
[INFO] [stderr]   Downloaded synstructure v0.13.1
[INFO] [stderr]   Downloaded ra_ap_text_edit v0.0.187
[INFO] [stderr]   Downloaded ra-ap-rustc_index_macros v0.20.0
[INFO] [stderr]   Downloaded ra-ap-rustc_abi v0.20.0
[INFO] [stderr]   Downloaded ra_ap_stdx v0.0.187
[INFO] [stderr]   Downloaded ra_ap_rustc-dependencies v0.0.187
[INFO] [stderr]   Downloaded ra-ap-rustc_lexer v0.20.0
[INFO] [stderr]   Downloaded unicode-properties v0.1.1
[INFO] [stderr]   Downloaded ra-ap-rustc_index v0.20.0
[INFO] [stderr]   Downloaded ra_ap_parser v0.0.187
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fe01b158ef5f3f89461a68fd9dc6a8e402f4e732bf180d20bd845c740275779c
[INFO] running `Command { std: "docker" "start" "-a" "fe01b158ef5f3f89461a68fd9dc6a8e402f4e732bf180d20bd845c740275779c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fe01b158ef5f3f89461a68fd9dc6a8e402f4e732bf180d20bd845c740275779c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe01b158ef5f3f89461a68fd9dc6a8e402f4e732bf180d20bd845c740275779c", kill_on_drop: false }`
[INFO] [stdout] fe01b158ef5f3f89461a68fd9dc6a8e402f4e732bf180d20bd845c740275779c
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ff370a64bfbeac6a422944aa1271dabc3cf543d0b717ea283186764869980d89
[INFO] running `Command { std: "docker" "start" "-a" "ff370a64bfbeac6a422944aa1271dabc3cf543d0b717ea283186764869980d89", kill_on_drop: false }`
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]     Checking arrayvec v0.7.4
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]     Checking unicode-properties v0.1.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]     Checking unicode-xid v0.2.4
[INFO] [stderr]     Checking perf-event-open-sys v1.0.1
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]     Checking ra-ap-rustc_lexer v0.20.0
[INFO] [stderr]     Checking text-size v1.1.1
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]     Checking always-assert v0.1.3
[INFO] [stderr]     Checking perf-event v0.4.7
[INFO] [stderr]     Checking jod-thread v0.1.2
[INFO] [stderr]     Checking drop_bomb v0.1.5
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]     Checking la-arena v0.3.1
[INFO] [stderr]     Checking ra_ap_limit v0.0.187
[INFO] [stderr]     Checking cov-mark v2.0.0-pre.1
[INFO] [stderr]     Checking smol_str v0.2.1
[INFO] [stderr]     Checking triomphe v0.1.11
[INFO] [stderr]     Checking crossbeam-channel v0.5.11
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]     Checking indexmap v2.2.2
[INFO] [stderr]     Checking countme v3.0.1
[INFO] [stderr]     Checking ra_ap_stdx v0.0.187
[INFO] [stderr]     Checking rowan v0.15.15
[INFO] [stderr]     Checking ra_ap_profile v0.0.187
[INFO] [stderr]     Checking ra_ap_text_edit v0.0.187
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling ra-ap-rustc_index_macros v0.20.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]     Checking ra-ap-rustc_index v0.20.0
[INFO] [stderr]     Checking ra-ap-rustc_parse_format v0.20.0
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking ra-ap-rustc_abi v0.20.0
[INFO] [stderr]     Checking ra_ap_rustc-dependencies v0.0.187
[INFO] [stderr]     Checking ra_ap_parser v0.0.187
[INFO] [stderr]     Checking ra_ap_syntax v0.0.187 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `test_utils`
[INFO] [stdout]    --> src/parsing/reparsing.rs:177:9
[INFO] [stdout]     |
[INFO] [stdout] 177 |     use test_utils::{assert_eq_text, extract_range};
[INFO] [stdout]     |         ^^^^^^^^^^ use of undeclared crate or module `test_utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `proc_macro2`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use proc_macro2::{Punct, Spacing};
[INFO] [stdout]    |     ^^^^^^^^^^^ use of undeclared crate or module `proc_macro2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `quote`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use quote::{format_ident, quote};
[INFO] [stdout]    |     ^^^^^ use of undeclared crate or module `quote`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rayon`
[INFO] [stdout]   --> src/tests.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use rayon::prelude::*;
[INFO] [stdout]    |     ^^^^^ use of undeclared crate or module `rayon`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ungrammar`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use ungrammar::{Grammar, Rule};
[INFO] [stdout]    |     ^^^^^^^^^ use of undeclared crate or module `ungrammar`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `expect_test`
[INFO] [stdout]    --> src/algo.rs:256:9
[INFO] [stdout]     |
[INFO] [stdout] 256 |     use expect_test::{expect, Expect};
[INFO] [stdout]     |         ^^^^^^^^^^^ use of undeclared crate or module `expect_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `test_utils`
[INFO] [stdout]    --> src/ast/edit_in_place.rs:944:9
[INFO] [stdout]     |
[INFO] [stdout] 944 |     use test_utils::assert_eq_text;
[INFO] [stdout]     |         ^^^^^^^^^^ use of undeclared crate or module `test_utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `expect_test`
[INFO] [stdout]   --> src/tests.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use expect_test::expect_file;
[INFO] [stdout]    |     ^^^^^^^^^^^ use of undeclared crate or module `expect_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `test_utils`
[INFO] [stdout]   --> src/tests.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use test_utils::{bench, bench_fixture, project_root};
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared crate or module `test_utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `sourcegen` in the list of imported crates
[INFO] [stdout]   --> src/tests.rs:84:23
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let mut files = ::sourcegen::list_rust_files(&crates_dir);
[INFO] [stdout]    |                       ^^^^^^^^^ could not find `sourcegen` in the list of imported crates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stdx::trim_indent`
[INFO] [stdout]    --> src/ast/edit_in_place.rs:943:9
[INFO] [stdout]     |
[INFO] [stdout] 943 |     use stdx::trim_indent;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         sourcegen::project_root().join("crates/parser/src/syntax_kind/generated.rs");
[INFO] [stdout]    |         ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     sourcegen::ensure_file_contents(syntax_kinds_file.as_path(), &syntax_kinds);
[INFO] [stdout]    |     ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         sourcegen::project_root().join("crates/syntax/src/ast/generated/tokens.rs");
[INFO] [stdout]    |         ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     sourcegen::ensure_file_contents(ast_tokens_file.as_path(), &ast_tokens);
[INFO] [stdout]    |     ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let ast_nodes_file = sourcegen::project_root().join("crates/syntax/src/ast/generated/nodes.rs");
[INFO] [stdout]    |                          ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     sourcegen::ensure_file_contents(ast_nodes_file.as_path(), &ast_nodes);
[INFO] [stdout]    |     ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 65 |     sourcegen::add_preamble(
[INFO] [stdout]    |     ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |         sourcegen::reformat(
[INFO] [stdout]    |         ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]    --> src/tests/sourcegen_ast.rs:325:15
[INFO] [stdout]     |
[INFO] [stdout] 325 |     let res = sourcegen::add_preamble("sourcegen_ast", sourcegen::reformat(res));
[INFO] [stdout]     |               ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]    --> src/tests/sourcegen_ast.rs:325:56
[INFO] [stdout]     |
[INFO] [stdout] 325 |     let res = sourcegen::add_preamble("sourcegen_ast", sourcegen::reformat(res));
[INFO] [stdout]     |                                                        ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]    --> src/tests/sourcegen_ast.rs:455:5
[INFO] [stdout]     |
[INFO] [stdout] 455 |     sourcegen::add_preamble("sourcegen_ast", sourcegen::reformat(ast.to_string()))
[INFO] [stdout]     |     ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]    --> src/tests/sourcegen_ast.rs:455:46
[INFO] [stdout]     |
[INFO] [stdout] 455 |     sourcegen::add_preamble("sourcegen_ast", sourcegen::reformat(ast.to_string()))
[INFO] [stdout]     |                                              ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]   --> src/tests.rs:97:22
[INFO] [stdout]    |
[INFO] [stdout] 97 |         .filter_map(|file| {
[INFO] [stdout]    |                      ^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: within `std::path::Path`, the trait `Sized` is not implemented for `[u8]`, which is required by `std::path::Path: Sized`
[INFO] [stdout] note: required because it appears within the type `std::path::Path`
[INFO] [stdout]   --> /rustc/268dbbbc4b3fd71c5f360a4d0728295252430b5b/library/std/src/path.rs:1992:12
[INFO] [stdout]    = note: all function arguments must have a statically known size
[INFO] [stdout]    = help: unsized fn params are gated as an unstable feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]    --> src/tests.rs:101:29
[INFO] [stdout]     |
[INFO] [stdout] 101 |                 Err(err) => Some((file, err)),
[INFO] [stdout]     |                             ^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `std::path::Path`, the trait `Sized` is not implemented for `[u8]`, which is required by `std::path::Path: Sized`
[INFO] [stdout] note: required because it appears within the type `std::path::Path`
[INFO] [stdout]    --> /rustc/268dbbbc4b3fd71c5f360a4d0728295252430b5b/library/std/src/path.rs:1992:12
[INFO] [stdout]     = note: only the last element of a tuple may have a dynamically sized type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]    --> src/tests.rs:101:29
[INFO] [stdout]     |
[INFO] [stdout] 101 |                 Err(err) => Some((file, err)),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `std::path::Path`, the trait `Sized` is not implemented for `[u8]`, which is required by `std::path::Path: Sized`
[INFO] [stdout] note: required because it appears within the type `std::path::Path`
[INFO] [stdout]    --> /rustc/268dbbbc4b3fd71c5f360a4d0728295252430b5b/library/std/src/path.rs:1992:12
[INFO] [stdout]     = note: only the last element of a tuple may have a dynamically sized type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]    --> src/tests.rs:100:26
[INFO] [stdout]     |
[INFO] [stdout] 100 |                 Ok(_) => None,
[INFO] [stdout]     |                          ^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `std::path::Path`, the trait `Sized` is not implemented for `[u8]`, which is required by `std::path::Path: Sized`
[INFO] [stdout] note: required because it appears within the type `std::path::Path`
[INFO] [stdout]    --> /rustc/268dbbbc4b3fd71c5f360a4d0728295252430b5b/library/std/src/path.rs:1992:12
[INFO] [stdout]     = note: only the last element of a tuple may have a dynamically sized type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proc_macro2`
[INFO] [stdout]    --> src/tests/sourcegen_ast.rs:565:21
[INFO] [stdout]     |
[INFO] [stdout] 565 |     fn ty(&self) -> proc_macro2::Ident {
[INFO] [stdout]     |                     ^^^^^^^^^^^ use of undeclared crate or module `proc_macro2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proc_macro2`
[INFO] [stdout]    --> src/tests/sourcegen_ast.rs:519:30
[INFO] [stdout]     |
[INFO] [stdout] 519 |     fn method_name(&self) -> proc_macro2::Ident {
[INFO] [stdout]     |                              ^^^^^^^^^^^ use of undeclared crate or module `proc_macro2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proc_macro2`
[INFO] [stdout]    --> src/tests/sourcegen_ast.rs:513:28
[INFO] [stdout]     |
[INFO] [stdout] 513 |                 let token: proc_macro2::TokenStream = token.parse().unwrap();
[INFO] [stdout]     |                            ^^^^^^^^^^^ use of undeclared crate or module `proc_macro2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proc_macro2`
[INFO] [stdout]    --> src/tests/sourcegen_ast.rs:510:36
[INFO] [stdout]     |
[INFO] [stdout] 510 |     fn token_kind(&self) -> Option<proc_macro2::TokenStream> {
[INFO] [stdout]     |                                    ^^^^^^^^^^^ use of undeclared crate or module `proc_macro2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 30 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ra_ap_syntax` (lib test) due to 31 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "ff370a64bfbeac6a422944aa1271dabc3cf543d0b717ea283186764869980d89", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff370a64bfbeac6a422944aa1271dabc3cf543d0b717ea283186764869980d89", kill_on_drop: false }`
[INFO] [stdout] ff370a64bfbeac6a422944aa1271dabc3cf543d0b717ea283186764869980d89
[INFO] checking ra_ap_syntax-0.0.187 against nightly-2024-02-05+rustflags=-Dunexpected_cfgs+cargoflags=-Zcheck-cfg for check-cfg
[INFO] extracting crate ra_ap_syntax 0.0.187 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate ra_ap_syntax 0.0.187 on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ra_ap_syntax 0.0.187
[INFO] finished tweaking crates.io crate ra_ap_syntax 0.0.187
[INFO] tweaked toml for crates.io crate ra_ap_syntax 0.0.187 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 29320aedb829d3f39fa8108744f26dc0066392198674df72ecf31265e46e3211
[INFO] running `Command { std: "docker" "start" "-a" "29320aedb829d3f39fa8108744f26dc0066392198674df72ecf31265e46e3211", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "29320aedb829d3f39fa8108744f26dc0066392198674df72ecf31265e46e3211", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29320aedb829d3f39fa8108744f26dc0066392198674df72ecf31265e46e3211", kill_on_drop: false }`
[INFO] [stdout] 29320aedb829d3f39fa8108744f26dc0066392198674df72ecf31265e46e3211
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid -Dunexpected_cfgs" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zcheck-cfg", kill_on_drop: false }`
[INFO] [stdout] c8d818d37f3d6d8839518a07c5edea1accf9344e9b18d88ee372667bb54e7a18
[INFO] running `Command { std: "docker" "start" "-a" "c8d818d37f3d6d8839518a07c5edea1accf9344e9b18d88ee372667bb54e7a18", kill_on_drop: false }`
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]     Checking arrayvec v0.7.4
[INFO] [stderr]     Checking unicode-xid v0.2.4
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]     Checking unicode-properties v0.1.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]     Checking perf-event-open-sys v1.0.1
[INFO] [stderr]     Checking text-size v1.1.1
[INFO] [stderr]     Checking ra-ap-rustc_lexer v0.20.0
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]     Checking always-assert v0.1.3
[INFO] [stderr]     Checking perf-event v0.4.7
[INFO] [stderr]     Checking drop_bomb v0.1.5
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]     Checking ra_ap_limit v0.0.187
[INFO] [stderr]     Checking la-arena v0.3.1
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]     Checking jod-thread v0.1.2
[INFO] [stderr]     Checking triomphe v0.1.11
[INFO] [stderr]     Checking cov-mark v2.0.0-pre.1
[INFO] [stderr]     Checking smol_str v0.2.1
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]     Checking indexmap v2.2.2
[INFO] [stderr]     Checking crossbeam-channel v0.5.11
[INFO] [stderr]     Checking ra_ap_stdx v0.0.187
[INFO] [stderr]     Checking countme v3.0.1
[INFO] [stderr]     Checking ra_ap_profile v0.0.187
[INFO] [stderr]     Checking rowan v0.15.15
[INFO] [stderr]     Checking ra_ap_text_edit v0.0.187
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling ra-ap-rustc_index_macros v0.20.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]     Checking ra-ap-rustc_index v0.20.0
[INFO] [stderr]     Checking ra-ap-rustc_parse_format v0.20.0
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking ra-ap-rustc_abi v0.20.0
[INFO] [stderr]     Checking ra_ap_rustc-dependencies v0.0.187
[INFO] [stderr]     Checking ra_ap_parser v0.0.187
[INFO] [stderr]     Checking ra_ap_syntax v0.0.187 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `test_utils`
[INFO] [stdout]    --> src/parsing/reparsing.rs:177:9
[INFO] [stdout]     |
[INFO] [stdout] 177 |     use test_utils::{assert_eq_text, extract_range};
[INFO] [stdout]     |         ^^^^^^^^^^ use of undeclared crate or module `test_utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `proc_macro2`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use proc_macro2::{Punct, Spacing};
[INFO] [stdout]    |     ^^^^^^^^^^^ use of undeclared crate or module `proc_macro2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `quote`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use quote::{format_ident, quote};
[INFO] [stdout]    |     ^^^^^ use of undeclared crate or module `quote`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rayon`
[INFO] [stdout]   --> src/tests.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use rayon::prelude::*;
[INFO] [stdout]    |     ^^^^^ use of undeclared crate or module `rayon`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ungrammar`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use ungrammar::{Grammar, Rule};
[INFO] [stdout]    |     ^^^^^^^^^ use of undeclared crate or module `ungrammar`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `expect_test`
[INFO] [stdout]    --> src/algo.rs:256:9
[INFO] [stdout]     |
[INFO] [stdout] 256 |     use expect_test::{expect, Expect};
[INFO] [stdout]     |         ^^^^^^^^^^^ use of undeclared crate or module `expect_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `test_utils`
[INFO] [stdout]    --> src/ast/edit_in_place.rs:944:9
[INFO] [stdout]     |
[INFO] [stdout] 944 |     use test_utils::assert_eq_text;
[INFO] [stdout]     |         ^^^^^^^^^^ use of undeclared crate or module `test_utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `expect_test`
[INFO] [stdout]   --> src/tests.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use expect_test::expect_file;
[INFO] [stdout]    |     ^^^^^^^^^^^ use of undeclared crate or module `expect_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `test_utils`
[INFO] [stdout]   --> src/tests.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use test_utils::{bench, bench_fixture, project_root};
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared crate or module `test_utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `sourcegen` in the list of imported crates
[INFO] [stdout]   --> src/tests.rs:84:23
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let mut files = ::sourcegen::list_rust_files(&crates_dir);
[INFO] [stdout]    |                       ^^^^^^^^^ could not find `sourcegen` in the list of imported crates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stdx::trim_indent`
[INFO] [stdout]    --> src/ast/edit_in_place.rs:943:9
[INFO] [stdout]     |
[INFO] [stdout] 943 |     use stdx::trim_indent;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         sourcegen::project_root().join("crates/parser/src/syntax_kind/generated.rs");
[INFO] [stdout]    |         ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     sourcegen::ensure_file_contents(syntax_kinds_file.as_path(), &syntax_kinds);
[INFO] [stdout]    |     ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         sourcegen::project_root().join("crates/syntax/src/ast/generated/tokens.rs");
[INFO] [stdout]    |         ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     sourcegen::ensure_file_contents(ast_tokens_file.as_path(), &ast_tokens);
[INFO] [stdout]    |     ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let ast_nodes_file = sourcegen::project_root().join("crates/syntax/src/ast/generated/nodes.rs");
[INFO] [stdout]    |                          ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     sourcegen::ensure_file_contents(ast_nodes_file.as_path(), &ast_nodes);
[INFO] [stdout]    |     ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 65 |     sourcegen::add_preamble(
[INFO] [stdout]    |     ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |         sourcegen::reformat(
[INFO] [stdout]    |         ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]    --> src/tests/sourcegen_ast.rs:325:15
[INFO] [stdout]     |
[INFO] [stdout] 325 |     let res = sourcegen::add_preamble("sourcegen_ast", sourcegen::reformat(res));
[INFO] [stdout]     |               ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]    --> src/tests/sourcegen_ast.rs:325:56
[INFO] [stdout]     |
[INFO] [stdout] 325 |     let res = sourcegen::add_preamble("sourcegen_ast", sourcegen::reformat(res));
[INFO] [stdout]     |                                                        ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]    --> src/tests/sourcegen_ast.rs:455:5
[INFO] [stdout]     |
[INFO] [stdout] 455 |     sourcegen::add_preamble("sourcegen_ast", sourcegen::reformat(ast.to_string()))
[INFO] [stdout]     |     ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]    --> src/tests/sourcegen_ast.rs:455:46
[INFO] [stdout]     |
[INFO] [stdout] 455 |     sourcegen::add_preamble("sourcegen_ast", sourcegen::reformat(ast.to_string()))
[INFO] [stdout]     |                                              ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]   --> src/tests.rs:97:22
[INFO] [stdout]    |
[INFO] [stdout] 97 |         .filter_map(|file| {
[INFO] [stdout]    |                      ^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: within `std::path::Path`, the trait `Sized` is not implemented for `[u8]`, which is required by `std::path::Path: Sized`
[INFO] [stdout] note: required because it appears within the type `std::path::Path`
[INFO] [stdout]   --> /rustc/268dbbbc4b3fd71c5f360a4d0728295252430b5b/library/std/src/path.rs:1992:12
[INFO] [stdout]    = note: all function arguments must have a statically known size
[INFO] [stdout]    = help: unsized fn params are gated as an unstable feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]    --> src/tests.rs:101:29
[INFO] [stdout]     |
[INFO] [stdout] 101 |                 Err(err) => Some((file, err)),
[INFO] [stdout]     |                             ^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `std::path::Path`, the trait `Sized` is not implemented for `[u8]`, which is required by `std::path::Path: Sized`
[INFO] [stdout] note: required because it appears within the type `std::path::Path`
[INFO] [stdout]    --> /rustc/268dbbbc4b3fd71c5f360a4d0728295252430b5b/library/std/src/path.rs:1992:12
[INFO] [stdout]     = note: only the last element of a tuple may have a dynamically sized type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]    --> src/tests.rs:101:29
[INFO] [stdout]     |
[INFO] [stdout] 101 |                 Err(err) => Some((file, err)),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `std::path::Path`, the trait `Sized` is not implemented for `[u8]`, which is required by `std::path::Path: Sized`
[INFO] [stdout] note: required because it appears within the type `std::path::Path`
[INFO] [stdout]    --> /rustc/268dbbbc4b3fd71c5f360a4d0728295252430b5b/library/std/src/path.rs:1992:12
[INFO] [stdout]     = note: only the last element of a tuple may have a dynamically sized type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]    --> src/tests.rs:100:26
[INFO] [stdout]     |
[INFO] [stdout] 100 |                 Ok(_) => None,
[INFO] [stdout]     |                          ^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `std::path::Path`, the trait `Sized` is not implemented for `[u8]`, which is required by `std::path::Path: Sized`
[INFO] [stdout] note: required because it appears within the type `std::path::Path`
[INFO] [stdout]    --> /rustc/268dbbbc4b3fd71c5f360a4d0728295252430b5b/library/std/src/path.rs:1992:12
[INFO] [stdout]     = note: only the last element of a tuple may have a dynamically sized type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proc_macro2`
[INFO] [stdout]    --> src/tests/sourcegen_ast.rs:565:21
[INFO] [stdout]     |
[INFO] [stdout] 565 |     fn ty(&self) -> proc_macro2::Ident {
[INFO] [stdout]     |                     ^^^^^^^^^^^ use of undeclared crate or module `proc_macro2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proc_macro2`
[INFO] [stdout]    --> src/tests/sourcegen_ast.rs:519:30
[INFO] [stdout]     |
[INFO] [stdout] 519 |     fn method_name(&self) -> proc_macro2::Ident {
[INFO] [stdout]     |                              ^^^^^^^^^^^ use of undeclared crate or module `proc_macro2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proc_macro2`
[INFO] [stdout]    --> src/tests/sourcegen_ast.rs:513:28
[INFO] [stdout]     |
[INFO] [stdout] 513 |                 let token: proc_macro2::TokenStream = token.parse().unwrap();
[INFO] [stdout]     |                            ^^^^^^^^^^^ use of undeclared crate or module `proc_macro2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proc_macro2`
[INFO] [stdout]    --> src/tests/sourcegen_ast.rs:510:36
[INFO] [stdout]     |
[INFO] [stdout] 510 |     fn token_kind(&self) -> Option<proc_macro2::TokenStream> {
[INFO] [stdout]     |                                    ^^^^^^^^^^^ use of undeclared crate or module `proc_macro2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 30 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ra_ap_syntax` (lib test) due to 31 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "c8d818d37f3d6d8839518a07c5edea1accf9344e9b18d88ee372667bb54e7a18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c8d818d37f3d6d8839518a07c5edea1accf9344e9b18d88ee372667bb54e7a18", kill_on_drop: false }`
[INFO] [stdout] c8d818d37f3d6d8839518a07c5edea1accf9344e9b18d88ee372667bb54e7a18
