[INFO] fetching crate ra_ap_syntax 0.0.97... [INFO] testing ra_ap_syntax-0.0.97 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate ra_ap_syntax 0.0.97 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate ra_ap_syntax 0.0.97 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ra_ap_syntax 0.0.97 [INFO] finished tweaking crates.io crate ra_ap_syntax 0.0.97 [INFO] tweaked toml for crates.io crate ra_ap_syntax 0.0.97 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded expect-test v1.2.2 [INFO] [stderr] Downloaded rowan v0.15.3 [INFO] [stderr] Downloaded ra_ap_parser v0.0.97 [INFO] [stderr] Downloaded cov-mark v2.0.0-pre.1 [INFO] [stderr] Downloaded ra_ap_limit v0.0.97 [INFO] [stderr] Downloaded rustc-ap-rustc_lexer v725.0.0 [INFO] [stderr] Downloaded ungrammar v1.14.9 [INFO] [stderr] Downloaded ra_ap_text_edit v0.0.97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bfa98b769264ea24a289314c640327ac88fa7f07ddf96de5f89dd82f20fa25aa [INFO] running `Command { std: "docker" "start" "-a" "bfa98b769264ea24a289314c640327ac88fa7f07ddf96de5f89dd82f20fa25aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfa98b769264ea24a289314c640327ac88fa7f07ddf96de5f89dd82f20fa25aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfa98b769264ea24a289314c640327ac88fa7f07ddf96de5f89dd82f20fa25aa", kill_on_drop: false }` [INFO] [stdout] bfa98b769264ea24a289314c640327ac88fa7f07ddf96de5f89dd82f20fa25aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ada2711f6e740a72445c2b8a1731c64b234ec259fa3c53cd262f0379d9bfdf5f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ada2711f6e740a72445c2b8a1731c64b234ec259fa3c53cd262f0379d9bfdf5f", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling text-size v1.1.0 [INFO] [stderr] Compiling ra_ap_la-arena v0.0.97 [INFO] [stderr] Compiling hashbrown v0.12.0 [INFO] [stderr] Compiling drop_bomb v0.1.5 [INFO] [stderr] Compiling ra_ap_limit v0.0.97 [INFO] [stderr] Compiling cov-mark v2.0.0-pre.1 [INFO] [stderr] Compiling rustc-ap-rustc_lexer v725.0.0 [INFO] [stderr] Compiling perf-event-open-sys v1.0.1 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling always-assert v0.1.2 [INFO] [stderr] Compiling ra_ap_stdx v0.0.97 [INFO] [stderr] Compiling ra_ap_text_edit v0.0.97 [INFO] [stderr] Compiling ra_ap_parser v0.0.97 [INFO] [stderr] Compiling perf-event v0.4.7 [INFO] [stderr] Compiling countme v3.0.0 [INFO] [stderr] Compiling ra_ap_profile v0.0.97 [INFO] [stderr] Compiling rowan v0.15.3 [INFO] [stderr] Compiling smol_str v0.1.21 [INFO] [stderr] Compiling ra_ap_syntax v0.0.97 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.49s [INFO] running `Command { std: "docker" "inspect" "ada2711f6e740a72445c2b8a1731c64b234ec259fa3c53cd262f0379d9bfdf5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ada2711f6e740a72445c2b8a1731c64b234ec259fa3c53cd262f0379d9bfdf5f", kill_on_drop: false }` [INFO] [stdout] ada2711f6e740a72445c2b8a1731c64b234ec259fa3c53cd262f0379d9bfdf5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 22dc0f0c5dddfc0f02082b56eb25adef3b07cb138b60ba08a7a8d38b46878f2a [INFO] running `Command { std: "docker" "start" "-a" "22dc0f0c5dddfc0f02082b56eb25adef3b07cb138b60ba08a7a8d38b46878f2a", kill_on_drop: false }` [INFO] [stderr] Compiling dissimilar v1.0.3 [INFO] [stderr] Compiling ungrammar v1.14.9 [INFO] [stderr] Compiling expect-test v1.2.2 [INFO] [stderr] Compiling ra_ap_syntax v0.0.97 (/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 `test_utils` [INFO] [stdout] --> src/tests.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | 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: cannot determine resolution for the macro `assert_eq_text` [INFO] [stdout] --> src/parsing/reparsing.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | assert_eq_text!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [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:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | 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:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | 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:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | 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:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | 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:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | 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:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | 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:328:15 [INFO] [stdout] | [INFO] [stdout] 328 | 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:328:56 [INFO] [stdout] | [INFO] [stdout] 328 | 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:463:5 [INFO] [stdout] | [INFO] [stdout] 463 | 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:463:46 [INFO] [stdout] | [INFO] [stdout] 463 | 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: could not find `sourcegen` in the list of imported crates [INFO] [stdout] --> src/tests.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | 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] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/tests.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | .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] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 95 | .filter_map(|&file| { [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:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | Err(err) => Some((file, err)), [INFO] [stdout] | ---- ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [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] = 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:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | 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] = 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:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | 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] = note: only the last element of a tuple may have a dynamically sized type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/tests.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 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` due to 21 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "22dc0f0c5dddfc0f02082b56eb25adef3b07cb138b60ba08a7a8d38b46878f2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22dc0f0c5dddfc0f02082b56eb25adef3b07cb138b60ba08a7a8d38b46878f2a", kill_on_drop: false }` [INFO] [stdout] 22dc0f0c5dddfc0f02082b56eb25adef3b07cb138b60ba08a7a8d38b46878f2a