[INFO] fetching crate swc_ecma_lexer 23.0.1... [INFO] testing swc_ecma_lexer-23.0.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate swc_ecma_lexer 23.0.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate swc_ecma_lexer 23.0.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate swc_ecma_lexer 23.0.1 [INFO] tweaked toml for crates.io crate swc_ecma_lexer 23.0.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate swc_ecma_lexer 23.0.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate swc_ecma_lexer 23.0.1 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1826579e7654b9594caf049ae58c58bcdc08455d726d87b844a2af10778c0a27 [INFO] running `Command { std: "docker" "start" "-a" "1826579e7654b9594caf049ae58c58bcdc08455d726d87b844a2af10778c0a27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1826579e7654b9594caf049ae58c58bcdc08455d726d87b844a2af10778c0a27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1826579e7654b9594caf049ae58c58bcdc08455d726d87b844a2af10778c0a27", kill_on_drop: false }` [INFO] [stdout] 1826579e7654b9594caf049ae58c58bcdc08455d726d87b844a2af10778c0a27 [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58cab50ac4e3aafdb3da74336cee93b21bce19463094ca601273d9baf7be7ca4 [INFO] running `Command { std: "docker" "start" "-a" "58cab50ac4e3aafdb3da74336cee93b21bce19463094ca601273d9baf7be7ca4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling cc v1.2.13 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling unicode-id-start v1.3.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling better_scoped_tls v1.0.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling swc_visit v2.0.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.20 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling swc_macros_common v1.0.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling from_variant v2.0.2 [INFO] [stderr] Compiling ast_node v3.0.3 [INFO] [stderr] Compiling swc_eq_ignore_macros v1.0.1 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling string_enum v1.0.2 [INFO] [stderr] Compiling is-macro v0.3.7 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling triomphe v0.1.14 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling bytes-str v0.2.5 [INFO] [stderr] Compiling hstr v2.0.1 [INFO] [stderr] Compiling swc_atoms v7.0.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling swc_common v14.0.3 [INFO] [stderr] Compiling swc_ecma_ast v15.0.0 [INFO] [stderr] Compiling swc_ecma_lexer v23.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/token.rs:1607:16 [INFO] [stdout] | [INFO] [stdout] 1607 | pub fn cow(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1607 | pub fn cow(&self) -> Cow<'_, Atom> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:755:43 [INFO] [stdout] | [INFO] [stdout] 755 | pub fn into_diagnostic(self, handler: &Handler) -> DiagnosticBuilder { [INFO] [stdout] | ^^^^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 755 | pub fn into_diagnostic(self, handler: &Handler) -> DiagnosticBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.24s [INFO] running `Command { std: "docker" "inspect" "58cab50ac4e3aafdb3da74336cee93b21bce19463094ca601273d9baf7be7ca4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58cab50ac4e3aafdb3da74336cee93b21bce19463094ca601273d9baf7be7ca4", kill_on_drop: false }` [INFO] [stdout] 58cab50ac4e3aafdb3da74336cee93b21bce19463094ca601273d9baf7be7ca4 [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f17fbf38d52451385c079eae4ac542104fa1436357b88f1deb815305a82d3fa3 [INFO] running `Command { std: "docker" "start" "-a" "f17fbf38d52451385c079eae4ac542104fa1436357b88f1deb815305a82d3fa3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling libmimalloc-sys v0.1.40 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling plotters-backend v0.3.5 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling plotters-svg v0.3.5 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling clap_builder v4.5.9 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling owo-colors v4.0.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling codspeed-criterion-compat v3.0.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling plotters v0.3.5 [INFO] [stderr] Compiling statrs v0.18.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling is-terminal v0.4.10 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling relative-path v1.9.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling miette v7.2.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling clap v4.5.9 [INFO] [stderr] Compiling pretty_assertions v1.4.0 [INFO] [stderr] Compiling mimalloc v0.1.44 [INFO] [stderr] Compiling stacker v0.1.20 [INFO] [stderr] Compiling swc_malloc v1.2.3 [INFO] [stderr] Compiling triomphe v0.1.14 [INFO] [stderr] Compiling bytes-str v0.2.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Compiling hstr v2.0.1 [INFO] [stderr] Compiling swc_atoms v7.0.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling swc_common v14.0.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling codspeed v3.0.4 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Compiling testing_macros v1.0.1 [INFO] [stderr] Compiling codspeed-criterion-compat-walltime v3.0.4 [INFO] [stderr] Compiling swc_ecma_ast v15.0.0 [INFO] [stderr] Compiling swc_error_reporters v16.0.1 [INFO] [stderr] Compiling testing v15.0.0 [INFO] [stderr] Compiling swc_ecma_visit v15.0.0 [INFO] [stderr] Compiling swc_ecma_lexer v23.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/token.rs:1607:16 [INFO] [stdout] | [INFO] [stdout] 1607 | pub fn cow(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1607 | pub fn cow(&self) -> Cow<'_, Atom> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:755:43 [INFO] [stdout] | [INFO] [stdout] 755 | pub fn into_diagnostic(self, handler: &Handler) -> DiagnosticBuilder { [INFO] [stdout] | ^^^^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 755 | pub fn into_diagnostic(self, handler: &Handler) -> DiagnosticBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/lexer/../../../swc_ecma_parser/colors.js`: No such file or directory (os error 2) [INFO] [stdout] --> src/lexer/tests.rs:1663:29 [INFO] [stdout] | [INFO] [stdout] 1663 | const COLOR_JS_CODE: &str = include_str!("../../../swc_ecma_parser/colors.js"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swc_ecma_lexer` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "f17fbf38d52451385c079eae4ac542104fa1436357b88f1deb815305a82d3fa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f17fbf38d52451385c079eae4ac542104fa1436357b88f1deb815305a82d3fa3", kill_on_drop: false }` [INFO] [stdout] f17fbf38d52451385c079eae4ac542104fa1436357b88f1deb815305a82d3fa3