[INFO] fetching crate type-sitter 0.8.0... [INFO] testing type-sitter-0.8.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate type-sitter 0.8.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate type-sitter 0.8.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate type-sitter 0.8.0 [INFO] tweaked toml for crates.io crate type-sitter 0.8.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate type-sitter 0.8.0 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 type-sitter 0.8.0 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-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ff297a3aab3d08b8fbbe217a46a87e88e4c596105df976af06fadb1be5bb85d [INFO] running `Command { std: "docker" "start" "-a" "6ff297a3aab3d08b8fbbe217a46a87e88e4c596105df976af06fadb1be5bb85d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ff297a3aab3d08b8fbbe217a46a87e88e4c596105df976af06fadb1be5bb85d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ff297a3aab3d08b8fbbe217a46a87e88e4c596105df976af06fadb1be5bb85d", kill_on_drop: false }` [INFO] [stdout] 6ff297a3aab3d08b8fbbe217a46a87e88e4c596105df976af06fadb1be5bb85d [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" "-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] c1f145d22f749729be29f95f4ed2bb6c265e0ce140b3c7c794aeb86d13425eb9 [INFO] running `Command { std: "docker" "start" "-a" "c1f145d22f749729be29f95f4ed2bb6c265e0ce140b3c7c794aeb86d13425eb9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling tree-sitter-language v0.1.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling logos-codegen v0.15.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling type-sitter-gen v0.8.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rustc-stable-hash v0.1.2 [INFO] [stderr] Compiling slice-group-by v0.3.1 [INFO] [stderr] Compiling join-lazy-fmt v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling enum-map-derive v1.0.0-beta.1 [INFO] [stderr] Compiling enum-map v3.0.0-beta.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling check_keyword v0.4.1 [INFO] [stderr] Compiling logos-derive v0.15.0 [INFO] [stderr] Compiling logos v0.15.0 [INFO] [stderr] Compiling tree-sitter v0.25.2 [INFO] [stderr] Compiling type-sitter-lib v0.8.0 [INFO] [stderr] Compiling type-sitter-proc v0.8.0 [INFO] [stderr] Compiling type-sitter v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.52s [INFO] running `Command { std: "docker" "inspect" "c1f145d22f749729be29f95f4ed2bb6c265e0ce140b3c7c794aeb86d13425eb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1f145d22f749729be29f95f4ed2bb6c265e0ce140b3c7c794aeb86d13425eb9", kill_on_drop: false }` [INFO] [stdout] c1f145d22f749729be29f95f4ed2bb6c265e0ce140b3c7c794aeb86d13425eb9 [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" "-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] 52de3ce8e122d7bf6ccd867d9820af0feae6a91878dbdfed649114ddf01cb015 [INFO] running `Command { std: "docker" "start" "-a" "52de3ce8e122d7bf6ccd867d9820af0feae6a91878dbdfed649114ddf01cb015", kill_on_drop: false }` [INFO] [stderr] Compiling tree-sitter-json v0.24.8 [INFO] [stderr] Compiling tree-sitter-rust v0.23.3 [INFO] [stderr] Compiling tree-sitter-c v0.23.4 [INFO] [stderr] Compiling type-sitter v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] error: IO error: No such file or directory (os error 2) [INFO] [stdout] --> tests/rust.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | generate_nodes!("../vendor/tree-sitter-rust/src/node-types.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: IO error: No such file or directory (os error 2) [INFO] [stdout] --> tests/rust.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | / generate_queries!( [INFO] [stdout] 14 | | "../vendor/tree-sitter-rust/queries", [INFO] [stdout] 15 | | "../vendor/tree-sitter-rust", [INFO] [stdout] 16 | | super [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_queries` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `anon_unions` in `rust` [INFO] [stdout] --> tests/rust.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | use rust::anon_unions::DeclarationStatement_Expression_ExpressionStatement_Label::*; [INFO] [stdout] | ^^^^^^^^^^^ could not find `anon_unions` in `rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DeclarationStatement` in `rust` [INFO] [stdout] --> tests/rust.rs:193:50 [INFO] [stdout] | [INFO] [stdout] 193 | TopLevelItem::DeclarationStatement(rust::DeclarationStatement::FunctionItem(function)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ could not find `DeclarationStatement` in `rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SourceFile` in module `rust` [INFO] [stdout] --> tests/rust.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | fn rust_tree() -> Tree> { [INFO] [stdout] | ^^^^^^^^^^ not found in `rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SourceFile` in module `rust` [INFO] [stdout] --> tests/rust.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | let mut parser = Parser::::new(&tree_sitter_rust::LANGUAGE.into()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in `rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `DeclarationStatement` in this scope [INFO] [stdout] --> tests/rust.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | DeclarationStatement(decl) => decl.as_macro_invocation(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Expression` in this scope [INFO] [stdout] --> tests/rust.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | Expression(expr) => expr.as_macro_invocation(), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExpressionStatement` in this scope [INFO] [stdout] --> tests/rust.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | ExpressionStatement(expr) => expr.expression().unwrap().as_macro_invocation(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Label` in this scope [INFO] [stdout] --> tests/rust.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | Label(label) => panic!("Expected declaration statement, expression, or expression statement, but got label: {label:?}"), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SourceFile` in module `rust` [INFO] [stdout] --> tests/rust.rs:191:36 [INFO] [stdout] | [INFO] [stdout] 191 | type TopLevelItem<'t> = as HasChildren<'t>>::Child; [INFO] [stdout] | ^^^^^^^^^^ not found in `rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Highlights` in module `rust::queries` [INFO] [stdout] --> tests/rust.rs:211:29 [INFO] [stdout] | [INFO] [stdout] 211 | &rust::queries::Highlights, [INFO] [stdout] | ^^^^^^^^^^ not found in `rust::queries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Highlights` in module `rust::queries` [INFO] [stdout] --> tests/rust.rs:258:29 [INFO] [stdout] | [INFO] [stdout] 258 | &rust::queries::Highlights, [INFO] [stdout] | ^^^^^^^^^^ not found in `rust::queries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0531. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: IO error: No such file or directory (os error 2) [INFO] [stdout] --> tests/json.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | generate_nodes!("../vendor/tree-sitter-json/src/node-types.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: IO error: No such file or directory (os error 2) [INFO] [stdout] --> tests/json.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | / generate_queries!( [INFO] [stdout] 12 | | "../vendor/tree-sitter-json/queries", [INFO] [stdout] 13 | | "../vendor/tree-sitter-json", [INFO] [stdout] 14 | | super [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_queries` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: IO error: No such file or directory (os error 2) [INFO] [stdout] --> tests/regressions.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | type_sitter::generate_nodes!("../vendor/tree-sitter-c/src/node-types.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `type_sitter::generate_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: IO error: No such file or directory (os error 2) [INFO] [stdout] --> tests/regressions.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | type_sitter::generate_nodes!("../vendor/tree-sitter-rust/src/node-types.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `type_sitter::generate_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `type-sitter` (test "rust") due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `Document` in module `json` [INFO] [stdout] --> tests/json.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | fn json_tree() -> Tree> { [INFO] [stdout] | ^^^^^^^^ not found in `json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Document` in module `json` [INFO] [stdout] --> tests/json.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | let mut parser = Parser::::new(&tree_sitter_json::LANGUAGE.into()).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in `json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Highlights` in module `json::queries` [INFO] [stdout] --> tests/json.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | &json::queries::Highlights, [INFO] [stdout] | ^^^^^^^^^^ not found in `json::queries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in module `json` [INFO] [stdout] --> tests/json.rs:101:31 [INFO] [stdout] | [INFO] [stdout] 101 | .downcast::() [INFO] [stdout] | ^^^^^^ not found in `json` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::string::String; [INFO] [stdout] | [INFO] [stdout] help: if you import `String`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 101 - .downcast::() [INFO] [stdout] 101 + .downcast::() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in module `json` [INFO] [stdout] --> tests/json.rs:115:31 [INFO] [stdout] | [INFO] [stdout] 115 | .downcast::() [INFO] [stdout] | ^^^^^^ not found in `json` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::string::String; [INFO] [stdout] | [INFO] [stdout] help: if you import `String`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 115 - .downcast::() [INFO] [stdout] 115 + .downcast::() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Highlights` in module `json::queries` [INFO] [stdout] --> tests/json.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | &json::queries::Highlights, [INFO] [stdout] | ^^^^^^^^^^ not found in `json::queries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in module `json` [INFO] [stdout] --> tests/json.rs:137:31 [INFO] [stdout] | [INFO] [stdout] 137 | .downcast::() [INFO] [stdout] | ^^^^^^ not found in `json` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::string::String; [INFO] [stdout] | [INFO] [stdout] help: if you import `String`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 137 - .downcast::() [INFO] [stdout] 137 + .downcast::() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in module `json` [INFO] [stdout] --> tests/json.rs:148:31 [INFO] [stdout] | [INFO] [stdout] 148 | .downcast::() [INFO] [stdout] | ^^^^^^ not found in `json` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::string::String; [INFO] [stdout] | [INFO] [stdout] help: if you import `String`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 148 - .downcast::() [INFO] [stdout] 148 + .downcast::() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&_` [INFO] [stdout] --> tests/json.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let r#match = matches.next().unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | .string_special_key() [INFO] [stdout] | ------------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `r#match` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 96 | let r#match: &_ = matches.next().unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::c::Statement` [INFO] [stdout] --> tests/regressions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::c::Statement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Statement` in `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TranslationUnit` in module `c` [INFO] [stdout] --> tests/regressions.rs:139:36 [INFO] [stdout] | [INFO] [stdout] 139 | fn parse_c(input: &str) -> Tree> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TranslationUnit` in module `c` [INFO] [stdout] --> tests/regressions.rs:140:34 [INFO] [stdout] | [INFO] [stdout] 140 | let mut parser = Parser::::new(&tree_sitter_c::LANGUAGE.into()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SourceFile` in module `rust` [INFO] [stdout] --> tests/regressions.rs:144:42 [INFO] [stdout] | [INFO] [stdout] 144 | fn parse_rust(input: &str) -> Tree> { [INFO] [stdout] | ^^^^^^^^^^ not found in `rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SourceFile` in module `rust` [INFO] [stdout] --> tests/regressions.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | let mut parser = Parser::::new(&tree_sitter_rust::LANGUAGE.into()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in `rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `type-sitter` (test "json") due to 11 previous errors [INFO] [stderr] error: could not compile `type-sitter` (test "regressions") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "52de3ce8e122d7bf6ccd867d9820af0feae6a91878dbdfed649114ddf01cb015", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52de3ce8e122d7bf6ccd867d9820af0feae6a91878dbdfed649114ddf01cb015", kill_on_drop: false }` [INFO] [stdout] 52de3ce8e122d7bf6ccd867d9820af0feae6a91878dbdfed649114ddf01cb015