[INFO] fetching crate rome_js_semantic 0.1.0... [INFO] building rome_js_semantic-0.1.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate rome_js_semantic 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate rome_js_semantic 0.1.0 [INFO] finished tweaking crates.io crate rome_js_semantic 0.1.0 [INFO] tweaked toml for crates.io crate rome_js_semantic 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rome_js_semantic 0.1.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 64 packages to latest compatible versions [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.1.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rome_text_edit v0.0.1 [INFO] [stderr] Downloaded rome_markup v0.0.1 [INFO] [stderr] Downloaded rome_text_size v0.0.1 [INFO] [stderr] Downloaded rust-lapper v1.2.0 [INFO] [stderr] Downloaded rome_diagnostics_macros v0.0.1 [INFO] [stderr] Downloaded rome_diagnostics_categories v0.0.1 [INFO] [stderr] Downloaded rome_console v0.0.1 [INFO] [stderr] Downloaded rome_diagnostics v0.0.1 [INFO] [stderr] Downloaded rome_rowan v0.0.1 [INFO] [stderr] Downloaded rome_js_syntax v0.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 055af18f619f28ecc2a4cf0c268ee35ef547e09d60b0ea729dc4272db78f5aae [INFO] running `Command { std: "docker" "start" "-a" "055af18f619f28ecc2a4cf0c268ee35ef547e09d60b0ea729dc4272db78f5aae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "055af18f619f28ecc2a4cf0c268ee35ef547e09d60b0ea729dc4272db78f5aae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "055af18f619f28ecc2a4cf0c268ee35ef547e09d60b0ea729dc4272db78f5aae", kill_on_drop: false }` [INFO] [stdout] 055af18f619f28ecc2a4cf0c268ee35ef547e09d60b0ea729dc4272db78f5aae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a18046702e6fa1af6f78a984bb568ea28a0738b9ee977a4400b5f95a80457b5 [INFO] running `Command { std: "docker" "start" "-a" "6a18046702e6fa1af6f78a984bb568ea28a0738b9ee977a4400b5f95a80457b5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling rome_diagnostics_categories v0.0.1 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rome_markup v0.0.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling countme v3.0.1 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling rust-lapper v1.2.0 [INFO] [stderr] Compiling rome_diagnostics_macros v0.0.1 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rome_text_size v0.0.1 [INFO] [stderr] Compiling rome_text_edit v0.0.1 [INFO] [stderr] Compiling rome_rowan v0.0.1 [INFO] [stderr] Compiling rome_console v0.0.1 [INFO] [stderr] Compiling rome_diagnostics v0.0.1 [INFO] [stderr] Compiling rome_js_syntax v0.0.2 [INFO] [stderr] Compiling rome_js_semantic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `builder::*` [INFO] [stdout] --> src/semantic_model.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub use builder::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.20s [INFO] running `Command { std: "docker" "inspect" "6a18046702e6fa1af6f78a984bb568ea28a0738b9ee977a4400b5f95a80457b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a18046702e6fa1af6f78a984bb568ea28a0738b9ee977a4400b5f95a80457b5", kill_on_drop: false }` [INFO] [stdout] 6a18046702e6fa1af6f78a984bb568ea28a0738b9ee977a4400b5f95a80457b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21428cea129b2abd4803f791a9742acf5b9da165300b5903fb9ae824b18f7f50 [INFO] running `Command { std: "docker" "start" "-a" "21428cea129b2abd4803f791a9742acf5b9da165300b5903fb9ae824b18f7f50", kill_on_drop: false }` [INFO] [stderr] Compiling rome_js_semantic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `builder::*` [INFO] [stdout] --> src/semantic_model.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub use builder::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rome_js_syntax::JsFileSource` [INFO] [stdout] --> src/semantic_model/closure.rs:362:53 [INFO] [stdout] | [INFO] [stdout] 362 | use rome_js_syntax::{JsArrowFunctionExpression, JsFileSource, JsSyntaxKind}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `JsFileSource` in the root [INFO] [stdout] | help: a similar name exists in the module: `JsModuleSource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rome_js_syntax::JsFileSource` [INFO] [stdout] --> src/semantic_model/is_constant.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use rome_js_syntax::{JsFileSource, JsIdentifierBinding, JsVariableDeclarator}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `JsFileSource` in the root [INFO] [stdout] | help: a similar name exists in the module: `JsModuleSource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rome_js_syntax::JsFileSource` [INFO] [stdout] --> src/semantic_model/tests.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | JsFileSource, JsIdentifierAssignment, JsIdentifierBinding, JsReferenceIdentifier, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `JsFileSource` in the root [INFO] [stdout] | help: a similar name exists in the module: `JsModuleSource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rome_js_syntax::JsFileSource` [INFO] [stdout] --> src/tests/assertions.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | use rome_js_syntax::{AnyJsRoot, JsFileSource, JsSyntaxToken, TextRange, TextSize, WalkEvent}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `JsFileSource` in the root [INFO] [stdout] | help: a similar name exists in the module: `JsModuleSource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `builder::*` [INFO] [stdout] --> src/semantic_model.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub use builder::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rome_js_parser` [INFO] [stdout] --> src/semantic_model/closure.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | let r = rome_js_parser::parse(code, JsFileSource::tsx()); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rome_js_parser` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rome_js_parser`, use `cargo add rome_js_parser` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/semantic_model/closure.rs:373:26 [INFO] [stdout] | [INFO] [stdout] 373 | .filter(|x| x.text_trimmed() == name) [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] 373 | .filter(|x: /* Type */| x.text_trimmed() == name) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/semantic_model/closure.rs:385:26 [INFO] [stdout] | [INFO] [stdout] 385 | .filter(|x| x.kind() == JsSyntaxKind::JS_ARROW_FUNCTION_EXPRESSION) [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] 385 | .filter(|x: /* Type */| x.kind() == JsSyntaxKind::JS_ARROW_FUNCTION_EXPRESSION) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rome_js_parser` [INFO] [stdout] --> src/semantic_model/closure.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | let r = rome_js_parser::parse(code, JsFileSource::tsx()); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rome_js_parser` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rome_js_parser`, use `cargo add rome_js_parser` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/semantic_model/closure.rs:415:26 [INFO] [stdout] | [INFO] [stdout] 415 | .filter(|x| x.text_trimmed() == name) [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] 415 | .filter(|x: /* Type */| x.text_trimmed() == name) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/semantic_model/closure.rs:427:26 [INFO] [stdout] | [INFO] [stdout] 427 | .filter(|x| x.kind() == JsSyntaxKind::JS_ARROW_FUNCTION_EXPRESSION) [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] 427 | .filter(|x: /* Type */| x.kind() == JsSyntaxKind::JS_ARROW_FUNCTION_EXPRESSION) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rome_js_parser` [INFO] [stdout] --> src/semantic_model/is_constant.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let r = rome_js_parser::parse(code, JsFileSource::js_module()); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rome_js_parser` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rome_js_parser`, use `cargo add rome_js_parser` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/semantic_model/is_constant.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | .filter_map(|x| x.cast::()) [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] 28 | .filter_map(|x: /* Type */| x.cast::()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/semantic_model/is_constant.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | .find(|x| x.text() == "a") [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] 29 | .find(|x: /* Type */| x.text() == "a") [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rome_js_parser` [INFO] [stdout] --> src/semantic_model/tests.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | let r = rome_js_parser::parse( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rome_js_parser` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rome_js_parser`, use `cargo add rome_js_parser` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/semantic_model/tests.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | .filter_map(|x| x.cast::()) [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] 24 | .filter_map(|x: /* Type */| x.cast::()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/semantic_model/tests.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | .find(|x| x.text() == "arguments") [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] 25 | .find(|x: /* Type */| x.text() == "arguments") [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/semantic_model/tests.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | .filter_map(|x| x.cast::()) [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] 31 | .filter_map(|x: /* Type */| x.cast::()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/semantic_model/tests.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | .find(|x| x.text() == "b") [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] 32 | .find(|x: /* Type */| x.text() == "b") [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/semantic_model/tests.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 90 | .filter_map(|x| x.cast::()) [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] 90 | .filter_map(|x: /* Type */| x.cast::()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/semantic_model/tests.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | .find(|x| x.text() == "a") [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] 91 | .find(|x: /* Type */| x.text() == "a") [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/semantic_model/tests.rs:106:48 [INFO] [stdout] | [INFO] [stdout] 106 | assert!(a_declaration.all_reads().all(|r| r.is_read())); [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] 106 | assert!(a_declaration.all_reads().all(|r: /* Type */| r.is_read())); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/semantic_model/tests.rs:107:49 [INFO] [stdout] | [INFO] [stdout] 107 | assert!(a_declaration.all_writes().all(|r| r.is_write())); [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] 107 | assert!(a_declaration.all_writes().all(|r: /* Type */| r.is_write())); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/semantic_model/tests.rs:112:48 [INFO] [stdout] | [INFO] [stdout] 112 | assert!(b_declaration.all_reads().all(|r| r.is_read())); [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] 112 | assert!(b_declaration.all_reads().all(|r: /* Type */| r.is_read())); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/semantic_model/tests.rs:113:49 [INFO] [stdout] | [INFO] [stdout] 113 | assert!(b_declaration.all_writes().all(|r| r.is_write())); [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] 113 | assert!(b_declaration.all_writes().all(|r: /* Type */| r.is_write())); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rome_js_parser` [INFO] [stdout] --> src/semantic_model/tests.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | let r = rome_js_parser::parse("function f() {} function g() {}", JsFileSource::js_module()); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rome_js_parser` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rome_js_parser`, use `cargo add rome_js_parser` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/semantic_model/tests.rs:124:26 [INFO] [stdout] | [INFO] [stdout] 124 | .filter_map(|x| x.cast::()) [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] 124 | .filter_map(|x: /* Type */| x.cast::()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/semantic_model/tests.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | .find(|x| x.text() == "f") [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] 125 | .find(|x: /* Type */| x.text() == "f") [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/semantic_model/tests.rs:131:26 [INFO] [stdout] | [INFO] [stdout] 131 | .filter_map(|x| x.cast::()) [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] 131 | .filter_map(|x: /* Type */| x.cast::()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/semantic_model/tests.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | .find(|x| x.text() == "g") [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] 132 | .find(|x: /* Type */| x.text() == "g") [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rome_js_parser` [INFO] [stdout] --> src/semantic_model/tests.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | let r = rome_js_parser::parse(code, JsFileSource::tsx()); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rome_js_parser` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rome_js_parser`, use `cargo add rome_js_parser` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/semantic_model/tests.rs:162:22 [INFO] [stdout] | [INFO] [stdout] 162 | .filter(|x| x.text_trimmed() == name) [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] 162 | .filter(|x: /* Type */| x.text_trimmed() == name) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rome_js_parser` [INFO] [stdout] --> src/semantic_model/tests.rs:289:17 [INFO] [stdout] | [INFO] [stdout] 289 | let r = rome_js_parser::parse("console.log()", JsFileSource::js_module()); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rome_js_parser` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rome_js_parser`, use `cargo add rome_js_parser` 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 `rome_js_parser` [INFO] [stdout] --> src/tests/assertions.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let r = rome_js_parser::parse(code, JsFileSource::tsx()); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rome_js_parser` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rome_js_parser`, use `cargo add rome_js_parser` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/assertions.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | .with_file_path("example.js") [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rome_js_semantic` (lib test) due to 34 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "21428cea129b2abd4803f791a9742acf5b9da165300b5903fb9ae824b18f7f50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21428cea129b2abd4803f791a9742acf5b9da165300b5903fb9ae824b18f7f50", kill_on_drop: false }` [INFO] [stdout] 21428cea129b2abd4803f791a9742acf5b9da165300b5903fb9ae824b18f7f50