[INFO] fetching crate ra_ap_syntax 0.0.303...
[INFO] testing ra_ap_syntax-0.0.303 against beta-2025-10-28 for beta-1.92-2
[INFO] extracting crate ra_ap_syntax 0.0.303 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate ra_ap_syntax 0.0.303
[INFO] finished tweaking crates.io crate ra_ap_syntax 0.0.303
[INFO] tweaked toml for crates.io crate ra_ap_syntax 0.0.303 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate ra_ap_syntax 0.0.303 on toolchain beta-2025-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate ra_ap_syntax 0.0.303 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" "+beta-2025-10-28" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2cdb697af62af320d82f1cebc80fb96cf893fcdf6ffe40951161eadab4c0d787
[INFO] running `Command { std: "docker" "start" "-a" "2cdb697af62af320d82f1cebc80fb96cf893fcdf6ffe40951161eadab4c0d787", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2cdb697af62af320d82f1cebc80fb96cf893fcdf6ffe40951161eadab4c0d787", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2cdb697af62af320d82f1cebc80fb96cf893fcdf6ffe40951161eadab4c0d787", kill_on_drop: false }`
[INFO] [stdout] 2cdb697af62af320d82f1cebc80fb96cf893fcdf6ffe40951161eadab4c0d787
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c711b3c1149b5417bd38ec3caacfe5d829d8ae6bf5f4da64d8017a339c3729bd
[INFO] running `Command { std: "docker" "start" "-a" "c711b3c1149b5417bd38ec3caacfe5d829d8ae6bf5f4da64d8017a339c3729bd", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.20
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling memoffset v0.9.1
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling winnow v0.7.13
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling ra-ap-rustc_lexer v0.137.0
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]    Compiling text-size v1.1.1
[INFO] [stderr]    Compiling rustc-literal-escaper v0.0.4
[INFO] [stderr]    Compiling drop_bomb v0.1.5
[INFO] [stderr]    Compiling jod-thread v1.0.0
[INFO] [stderr]    Compiling ra_ap_edition v0.0.303
[INFO] [stderr]    Compiling countme v3.0.1
[INFO] [stderr]    Compiling rustc-hash v2.1.1
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling triomphe v0.1.15
[INFO] [stderr]    Compiling smol_str v0.3.4
[INFO] [stderr]    Compiling rowan v0.15.15
[INFO] [stderr]    Compiling syn v2.0.108
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling ra_ap_parser v0.0.303
[INFO] [stderr]    Compiling ra_ap_stdx v0.0.303
[INFO] [stderr]    Compiling ra_ap_syntax v0.0.303 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.80s
[INFO] running `Command { std: "docker" "inspect" "c711b3c1149b5417bd38ec3caacfe5d829d8ae6bf5f4da64d8017a339c3729bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c711b3c1149b5417bd38ec3caacfe5d829d8ae6bf5f4da64d8017a339c3729bd", kill_on_drop: false }`
[INFO] [stdout] c711b3c1149b5417bd38ec3caacfe5d829d8ae6bf5f4da64d8017a339c3729bd
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3efa41df3707d0d8606f611c9108be0b6c1567f5823fa7c475ebcb8adf4f534f
[INFO] running `Command { std: "docker" "start" "-a" "3efa41df3707d0d8606f611c9108be0b6c1567f5823fa7c475ebcb8adf4f534f", kill_on_drop: false }`
[INFO] [stderr]    Compiling ra_ap_syntax v0.0.303 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rayon`
[INFO] [stdout]  --> src/tests.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rayon::prelude::*;
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `rayon`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rayon`, use `cargo add rayon` 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 `rustc_apfloat`
[INFO] [stdout]    --> src/ast/token_ext.rs:548:9
[INFO] [stdout]     |
[INFO] [stdout] 548 |     use rustc_apfloat::ieee::Quad as f128;
[INFO] [stdout]     |         ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_apfloat`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `rustc_apfloat`, use `cargo add rustc_apfloat` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `test_utils`
[INFO] [stdout]    --> src/parsing/reparsing.rs:196:9
[INFO] [stdout]     |
[INFO] [stdout] 196 |     use test_utils::{assert_eq_text, extract_range};
[INFO] [stdout]     |         ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `test_utils`
[INFO] [stdout]    --> src/syntax_editor/edits.rs:260:9
[INFO] [stdout]     |
[INFO] [stdout] 260 |     use test_utils::assert_eq_text;
[INFO] [stdout]     |         ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `expect_test`
[INFO] [stdout]    --> src/syntax_editor.rs:398:9
[INFO] [stdout]     |
[INFO] [stdout] 398 |     use expect_test::expect;
[INFO] [stdout]     |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `expect_test`, use `cargo add expect_test` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `expect_test`
[INFO] [stdout]  --> src/tests.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use expect_test::expect_file;
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `expect_test`, use `cargo add expect_test` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `test_utils`
[INFO] [stdout]   --> src/tests.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use test_utils::{bench, bench_fixture, project_root};
[INFO] [stdout]    |     ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stdx::trim_indent`
[INFO] [stdout]    --> src/syntax_editor/edits.rs:259:9
[INFO] [stdout]     |
[INFO] [stdout] 259 |     use stdx::trim_indent;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/parsing/reparsing.rs:204:29
[INFO] [stdout]     |
[INFO] [stdout] 204 |             let mut after = before.clone();
[INFO] [stdout]     |                             ^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/tests.rs:84:22
[INFO] [stdout]    |
[INFO] [stdout] 84 |         for entry in dir.read_dir().unwrap() {
[INFO] [stdout]    |                      ^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/tests.rs:85:25
[INFO] [stdout]    |
[INFO] [stdout] 85 |             let entry = entry.unwrap();
[INFO] [stdout]    |                         ^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/tests.rs:100:19
[INFO] [stdout]     |
[INFO] [stdout] 100 |     files.retain(|path| {
[INFO] [stdout]     |                   ^^^^
[INFO] [stdout] 101 |         // Get all files which are not in the crates/syntax/test_data folder
[INFO] [stdout] 102 |         !path.components().any(|component| component.as_os_str() == "test_data")
[INFO] [stdout]     |          ---- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 100 |     files.retain(|path: /* Type */| {
[INFO] [stdout]     |                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/tests.rs:102:33
[INFO] [stdout]     |
[INFO] [stdout] 102 |         !path.components().any(|component| component.as_os_str() == "test_data")
[INFO] [stdout]     |                                 ^^^^^^^^^  --------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 102 |         !path.components().any(|component: /* Type */| component.as_os_str() == "test_data")
[INFO] [stdout]     |                                          ++++++++++++
[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:112:22
[INFO] [stdout]     |
[INFO] [stdout] 112 |         .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]`
[INFO] [stdout] note: required because it appears within the type `std::path::Path`
[INFO] [stdout]    --> /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/path.rs:2303:12
[INFO] [stdout]     = note: all function arguments must have a statically known size
[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:116:29
[INFO] [stdout]     |
[INFO] [stdout] 116 |                 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]`
[INFO] [stdout] note: required because it appears within the type `std::path::Path`
[INFO] [stdout]    --> /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/path.rs:2303: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:116:29
[INFO] [stdout]     |
[INFO] [stdout] 116 |                 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]`
[INFO] [stdout] note: required because it appears within the type `std::path::Path`
[INFO] [stdout]    --> /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/path.rs:2303: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:115:26
[INFO] [stdout]     |
[INFO] [stdout] 115 |                 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]`
[INFO] [stdout] note: required because it appears within the type `std::path::Path`
[INFO] [stdout]    --> /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/path.rs:2303:12
[INFO] [stdout]     = note: only the last element of a tuple may have a dynamically sized type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/tests.rs:122:62
[INFO] [stdout]     |
[INFO] [stdout] 122 |         let errors = errors.into_iter().fold(String::new(), |mut acc, (path, err)| {
[INFO] [stdout]     |                                                              ^^^^^^^
[INFO] [stdout] 123 |             format_to_acc!(acc, "{}: {:?}\n", path.display(), err[0])
[INFO] [stdout]     |                            --- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 122 |         let errors = errors.into_iter().fold(String::new(), |mut acc: /* Type */, (path, err)| {
[INFO] [stdout]     |                                                                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, _)`
[INFO] [stdout]    --> src/tests.rs:122:71
[INFO] [stdout]     |
[INFO] [stdout] 122 |         let errors = errors.into_iter().fold(String::new(), |mut acc, (path, err)| {
[INFO] [stdout]     |                                                                       ^^^^^^^^^^^
[INFO] [stdout] 123 |             format_to_acc!(acc, "{}: {:?}\n", path.display(), err[0])
[INFO] [stdout]     |                                               ---- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 122 |         let errors = errors.into_iter().fold(String::new(), |mut acc, (path, err): (_, _)| {
[INFO] [stdout]     |                                                                                  ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0282, 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 18 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "3efa41df3707d0d8606f611c9108be0b6c1567f5823fa7c475ebcb8adf4f534f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3efa41df3707d0d8606f611c9108be0b6c1567f5823fa7c475ebcb8adf4f534f", kill_on_drop: false }`
[INFO] [stdout] 3efa41df3707d0d8606f611c9108be0b6c1567f5823fa7c475ebcb8adf4f534f
