[INFO] fetching crate ra_ap_syntax 0.0.64... [INFO] checking ra_ap_syntax-0.0.64 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate ra_ap_syntax 0.0.64 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate ra_ap_syntax 0.0.64 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ra_ap_syntax 0.0.64 [INFO] finished tweaking crates.io crate ra_ap_syntax 0.0.64 [INFO] tweaked toml for crates.io crate ra_ap_syntax 0.0.64 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-ap-rustc_lexer v725.0.0 [INFO] [stderr] Downloaded expect-test v1.1.0 [INFO] [stderr] Downloaded cov-mark v2.0.0-pre.1 [INFO] [stderr] Downloaded ra_ap_parser v0.0.64 [INFO] [stderr] Downloaded rowan v0.13.0-pre.7 [INFO] [stderr] Downloaded ra_ap_text_edit v0.0.64 [INFO] [stderr] Downloaded ungrammar v1.14.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9509f7eb416ca52a5ff4c33ba3fdad44b494e22f9467fada27207e5534e0eb4f [INFO] running `Command { std: "docker" "start" "-a" "9509f7eb416ca52a5ff4c33ba3fdad44b494e22f9467fada27207e5534e0eb4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9509f7eb416ca52a5ff4c33ba3fdad44b494e22f9467fada27207e5534e0eb4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9509f7eb416ca52a5ff4c33ba3fdad44b494e22f9467fada27207e5534e0eb4f", kill_on_drop: false }` [INFO] [stdout] 9509f7eb416ca52a5ff4c33ba3fdad44b494e22f9467fada27207e5534e0eb4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7da9613d44181c3e1cd5049bdc81d15d8f843e24a561e4d0e37c3f2215796e6 [INFO] running `Command { std: "docker" "start" "-a" "b7da9613d44181c3e1cd5049bdc81d15d8f843e24a561e4d0e37c3f2215796e6", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking text-size v1.1.0 [INFO] [stderr] Checking drop_bomb v0.1.5 [INFO] [stderr] Checking ra_ap_la-arena v0.0.64 [INFO] [stderr] Checking cov-mark v2.0.0-pre.1 [INFO] [stderr] Checking arrayvec v0.7.1 [INFO] [stderr] Checking dissimilar v1.0.2 [INFO] [stderr] Checking ungrammar v1.14.2 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking rustc-ap-rustc_lexer v725.0.0 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking proc-macro2 v1.0.28 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking perf-event-open-sys v1.0.1 [INFO] [stderr] Checking ra_ap_parser v0.0.64 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Checking ra_ap_text_edit v0.0.64 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking expect-test v1.1.0 [INFO] [stderr] Checking always-assert v0.1.2 [INFO] [stderr] Checking perf-event v0.4.7 [INFO] [stderr] Checking ra_ap_stdx v0.0.64 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking countme v2.0.4 [INFO] [stderr] Checking indexmap v1.7.0 [INFO] [stderr] Checking ra_ap_profile v0.0.64 [INFO] [stderr] Checking rowan v0.13.0-pre.7 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking smol_str v0.1.18 [INFO] [stderr] Checking ra_ap_syntax v0.0.64 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/parsing/reparsing.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | 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:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use test_utils::{bench, bench_fixture, project_root, skip_slow_tests}; [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:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | 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_tests.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | let grammar_dir = sourcegen::project_root().join(Path::new("crates/parser/src/grammar")); [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_tests.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let tests_dir = sourcegen::project_root().join(into); [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_tests.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | sourcegen::ensure_file_contents(&path, &test.text); [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_tests.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | for comment_block in sourcegen::CommentBlock::extract_untagged(s) { [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_tests.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | for entry in sourcegen::list_rust_files(dir) { [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:9 [INFO] [stdout] | [INFO] [stdout] 25 | 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:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | 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:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | 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:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | sourcegen::ensure_file_contents(ast_tokens_file.as_path(), &contents); [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:26 [INFO] [stdout] | [INFO] [stdout] 34 | 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:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | sourcegen::ensure_file_contents(ast_nodes_file.as_path(), &contents); [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:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | 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:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | 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:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | 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:266:46 [INFO] [stdout] | [INFO] [stdout] 266 | 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:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | 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:387:46 [INFO] [stdout] | [INFO] [stdout] 387 | 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:161:23 [INFO] [stdout] | [INFO] [stdout] 161 | 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:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | .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: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 174 | .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:178:29 [INFO] [stdout] | [INFO] [stdout] 178 | 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:178:29 [INFO] [stdout] | [INFO] [stdout] 178 | 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:177:26 [INFO] [stdout] | [INFO] [stdout] 177 | 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:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | 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 25 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 26 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b7da9613d44181c3e1cd5049bdc81d15d8f843e24a561e4d0e37c3f2215796e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7da9613d44181c3e1cd5049bdc81d15d8f843e24a561e4d0e37c3f2215796e6", kill_on_drop: false }` [INFO] [stdout] b7da9613d44181c3e1cd5049bdc81d15d8f843e24a561e4d0e37c3f2215796e6