[INFO] fetching crate rome_js_parser 0.0.2... [INFO] testing rome_js_parser-0.0.2 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rome_js_parser 0.0.2 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate rome_js_parser 0.0.2 [INFO] finished tweaking crates.io crate rome_js_parser 0.0.2 [INFO] tweaked toml for crates.io crate rome_js_parser 0.0.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rome_js_parser 0.0.2 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 81 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.4) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.11.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rome_markup v0.0.1 [INFO] [stderr] Downloaded rome_diagnostics_macros v0.0.1 [INFO] [stderr] Downloaded rome_diagnostics v0.0.1 [INFO] [stderr] Downloaded expect-test v1.5.1 [INFO] [stderr] Downloaded quickcheck v1.0.3 [INFO] [stderr] Downloaded pico-args v0.5.0 [INFO] [stderr] Downloaded rome_text_size v0.0.1 [INFO] [stderr] Downloaded quickcheck_macros v1.1.0 [INFO] [stderr] Downloaded rome_js_factory v0.0.2 [INFO] [stderr] Downloaded rome_js_unicode_table v0.0.1 [INFO] [stderr] Downloaded rome_console v0.0.1 [INFO] [stderr] Downloaded rome_rowan v0.0.1 [INFO] [stderr] Downloaded rome_parser v0.0.1 [INFO] [stderr] Downloaded dissimilar v1.0.10 [INFO] [stderr] Downloaded rome_diagnostics_categories v0.0.1 [INFO] [stderr] Downloaded rome_text_edit 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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d78ff14b4d7856bfdcbb5f7f6fae3f269f478c121376b6a4c56c1b905c5267f [INFO] running `Command { std: "docker" "start" "-a" "4d78ff14b4d7856bfdcbb5f7f6fae3f269f478c121376b6a4c56c1b905c5267f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d78ff14b4d7856bfdcbb5f7f6fae3f269f478c121376b6a4c56c1b905c5267f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d78ff14b4d7856bfdcbb5f7f6fae3f269f478c121376b6a4c56c1b905c5267f", kill_on_drop: false }` [INFO] [stdout] 4d78ff14b4d7856bfdcbb5f7f6fae3f269f478c121376b6a4c56c1b905c5267f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b649553163851050678bbd341da2972b77656a39710dfc3b606b2f090db75fdb [INFO] running `Command { std: "docker" "start" "-a" "b649553163851050678bbd341da2972b77656a39710dfc3b606b2f090db75fdb", kill_on_drop: false }` [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling countme v3.0.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rome_diagnostics_categories v0.0.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling drop_bomb v0.1.5 [INFO] [stderr] Compiling rome_js_unicode_table v0.0.1 [INFO] [stderr] Compiling rome_markup v0.0.1 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling rome_diagnostics_macros v0.0.1 [INFO] [stderr] Compiling addr2line v0.25.1 [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_parser v0.0.1 [INFO] [stderr] Compiling rome_js_factory v0.0.2 [INFO] [stderr] Compiling rome_js_parser v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `highlight` [INFO] [stdout] --> src/lexer/mod.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(feature = "highlight")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `serde` and `tests` [INFO] [stdout] = help: consider adding `highlight` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `highlight` [INFO] [stdout] --> src/lexer/mod.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(feature = "highlight")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `serde` and `tests` [INFO] [stdout] = help: consider adding `highlight` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/span.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Span { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 16 | fn join(&self, other: T) -> TextRange { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn between(&self, other: T) -> TextRange { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn until(&self, other: T) -> TextRange { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn sub_start(&self, amount: TextSize) -> TextRange { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn add_start(&self, amount: TextSize) -> TextRange { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn sub_end(&self, amount: TextSize) -> TextRange { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn add_end(&self, amount: TextSize) -> TextRange { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.44s [INFO] running `Command { std: "docker" "inspect" "b649553163851050678bbd341da2972b77656a39710dfc3b606b2f090db75fdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b649553163851050678bbd341da2972b77656a39710dfc3b606b2f090db75fdb", kill_on_drop: false }` [INFO] [stdout] b649553163851050678bbd341da2972b77656a39710dfc3b606b2f090db75fdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f10ea127462253d45287e2c20d536a91e57885921185d18c70b4c32bab30d233 [INFO] running `Command { std: "docker" "start" "-a" "f10ea127462253d45287e2c20d536a91e57885921185d18c70b4c32bab30d233", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling dissimilar v1.0.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling expect-test v1.5.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling quickcheck_macros v1.1.0 [INFO] [stderr] Compiling quickcheck v1.0.3 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rome_text_size v0.0.1 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling rome_diagnostics_categories 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_parser v0.0.1 [INFO] [stderr] Compiling rome_js_factory v0.0.2 [INFO] [stderr] Compiling rome_js_parser v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `highlight` [INFO] [stdout] --> src/lexer/mod.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(feature = "highlight")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `serde` and `tests` [INFO] [stdout] = help: consider adding `highlight` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `highlight` [INFO] [stdout] --> src/lexer/mod.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(feature = "highlight")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `serde` and `tests` [INFO] [stdout] = help: consider adding `highlight` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/span.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Span { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 16 | fn join(&self, other: T) -> TextRange { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn between(&self, other: T) -> TextRange { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn until(&self, other: T) -> TextRange { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn sub_start(&self, amount: TextSize) -> TextRange { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn add_start(&self, amount: TextSize) -> TextRange { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn sub_end(&self, amount: TextSize) -> TextRange { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn add_end(&self, amount: TextSize) -> TextRange { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (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 `tests_macros` [INFO] [stdout] --> src/tests.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | tests_macros::gen_tests! {"test_data/inline/ok/**/*.{js,ts,jsx,tsx}", crate::tests::run_and_expect_no_errors, ""} [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `tests_macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tests_macros` [INFO] [stdout] --> src/tests.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | tests_macros::gen_tests! {"test_data/inline/err/**/*.{js,ts,jsx,tsx}", crate::tests::run_and_expect_errors, ""} [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `tests_macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `highlight` [INFO] [stdout] --> src/lexer/mod.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(feature = "highlight")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `serde` and `tests` [INFO] [stdout] = help: consider adding `highlight` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `highlight` [INFO] [stdout] --> src/lexer/mod.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(feature = "highlight")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `serde` and `tests` [INFO] [stdout] = help: consider adding `highlight` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rome_js_parser` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f10ea127462253d45287e2c20d536a91e57885921185d18c70b4c32bab30d233", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f10ea127462253d45287e2c20d536a91e57885921185d18c70b4c32bab30d233", kill_on_drop: false }` [INFO] [stdout] f10ea127462253d45287e2c20d536a91e57885921185d18c70b4c32bab30d233