[INFO] fetching crate ra_ap_syntax 0.0.301... [INFO] testing ra_ap_syntax-0.0.301 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate ra_ap_syntax 0.0.301 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate ra_ap_syntax 0.0.301 [INFO] finished tweaking crates.io crate ra_ap_syntax 0.0.301 [INFO] tweaked toml for crates.io crate ra_ap_syntax 0.0.301 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ra_ap_syntax 0.0.301 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ra_ap_syntax 0.0.301 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16aa10a4717cf0007c244be3c10d5249651adf14d155ad5a9eaac5def12e5908 [INFO] running `Command { std: "docker" "start" "-a" "16aa10a4717cf0007c244be3c10d5249651adf14d155ad5a9eaac5def12e5908", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16aa10a4717cf0007c244be3c10d5249651adf14d155ad5a9eaac5def12e5908", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16aa10a4717cf0007c244be3c10d5249651adf14d155ad5a9eaac5def12e5908", kill_on_drop: false }` [INFO] [stdout] 16aa10a4717cf0007c244be3c10d5249651adf14d155ad5a9eaac5def12e5908 [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb8c499e9ace2d66b29a21db57f9984be70d6dd92768639b2ffc2529a96ce514 [INFO] running `Command { std: "docker" "start" "-a" "bb8c499e9ace2d66b29a21db57f9984be70d6dd92768639b2ffc2529a96ce514", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling libc v0.2.175 [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 memchr v2.7.5 [INFO] [stderr] Compiling rustc-literal-escaper v0.0.4 [INFO] [stderr] Compiling ra_ap_edition v0.0.301 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling drop_bomb v0.1.5 [INFO] [stderr] Compiling jod-thread v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling countme v3.0.1 [INFO] [stderr] Compiling text-size v1.1.1 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling smol_str v0.3.2 [INFO] [stderr] Compiling triomphe v0.1.14 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling ra-ap-rustc_lexer v0.123.0 [INFO] [stderr] Compiling rowan v0.15.15 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ra_ap_parser v0.0.301 [INFO] [stderr] Compiling ra_ap_stdx v0.0.301 [INFO] [stderr] Compiling ra_ap_syntax v0.0.301 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.02s [INFO] running `Command { std: "docker" "inspect" "bb8c499e9ace2d66b29a21db57f9984be70d6dd92768639b2ffc2529a96ce514", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb8c499e9ace2d66b29a21db57f9984be70d6dd92768639b2ffc2529a96ce514", kill_on_drop: false }` [INFO] [stdout] bb8c499e9ace2d66b29a21db57f9984be70d6dd92768639b2ffc2529a96ce514 [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c831ff8c3d181a6c620d3f8689ac527b47bdc379bf93c021088c735a9a0505e3 [INFO] running `Command { std: "docker" "start" "-a" "c831ff8c3d181a6c620d3f8689ac527b47bdc379bf93c021088c735a9a0505e3", kill_on_drop: false }` [INFO] [stderr] Compiling ra_ap_syntax v0.0.301 (/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:470:9 [INFO] [stdout] | [INFO] [stdout] 470 | 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[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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/path.rs:2210: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: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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/path.rs:2210: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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/path.rs:2210: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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/path.rs:2210:12 [INFO] [stdout] = note: only the last element of a tuple may have a dynamically sized type [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 11 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c831ff8c3d181a6c620d3f8689ac527b47bdc379bf93c021088c735a9a0505e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c831ff8c3d181a6c620d3f8689ac527b47bdc379bf93c021088c735a9a0505e3", kill_on_drop: false }` [INFO] [stdout] c831ff8c3d181a6c620d3f8689ac527b47bdc379bf93c021088c735a9a0505e3