[INFO] fetching crate swc_ecma_lexer 23.0.2... [INFO] testing swc_ecma_lexer-23.0.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate swc_ecma_lexer 23.0.2 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate swc_ecma_lexer 23.0.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate swc_ecma_lexer 23.0.2 [INFO] tweaked toml for crates.io crate swc_ecma_lexer 23.0.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate swc_ecma_lexer 23.0.2 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 swc_ecma_lexer 23.0.2 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ecea27e46d393000320e20e3663b28fd58c22713c7b0e83568774e0667bac1b3 [INFO] running `Command { std: "docker" "start" "-a" "ecea27e46d393000320e20e3663b28fd58c22713c7b0e83568774e0667bac1b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecea27e46d393000320e20e3663b28fd58c22713c7b0e83568774e0667bac1b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecea27e46d393000320e20e3663b28fd58c22713c7b0e83568774e0667bac1b3", kill_on_drop: false }` [INFO] [stdout] ecea27e46d393000320e20e3663b28fd58c22713c7b0e83568774e0667bac1b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 3095a364e62a945a376d3696b4bd33346d9d2727712e7d9e6fd99cfd4f43157c [INFO] running `Command { std: "docker" "start" "-a" "3095a364e62a945a376d3696b4bd33346d9d2727712e7d9e6fd99cfd4f43157c", kill_on_drop: false }` [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling cc v1.2.13 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling num-traits v0.2.19 [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 phf_generator v0.11.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling better_scoped_tls v1.0.1 [INFO] [stderr] Compiling swc_visit v2.0.1 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling unicode-id-start v1.3.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.20 [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.225 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling ast_node v3.0.4 [INFO] [stderr] Compiling from_variant v2.0.2 [INFO] [stderr] Compiling swc_eq_ignore_macros v1.0.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling string_enum v1.0.2 [INFO] [stderr] Compiling is-macro v0.3.7 [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 tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling icu_provider v1.5.0 [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 icu_locid_transform v1.5.0 [INFO] [stderr] Compiling hstr v2.1.0 [INFO] [stderr] Compiling swc_atoms v7.0.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [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.4 [INFO] [stderr] Compiling swc_ecma_ast v15.0.0 [INFO] [stderr] Compiling swc_ecma_lexer v23.0.2 (/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 1m 09s [INFO] running `Command { std: "docker" "inspect" "3095a364e62a945a376d3696b4bd33346d9d2727712e7d9e6fd99cfd4f43157c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3095a364e62a945a376d3696b4bd33346d9d2727712e7d9e6fd99cfd4f43157c", kill_on_drop: false }` [INFO] [stdout] 3095a364e62a945a376d3696b4bd33346d9d2727712e7d9e6fd99cfd4f43157c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] e5cd82d48cd55d0af3400f17270f7210e99d8f46c1e94f3377f00e3418044051 [INFO] running `Command { std: "docker" "start" "-a" "e5cd82d48cd55d0af3400f17270f7210e99d8f46c1e94f3377f00e3418044051", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling libmimalloc-sys v0.1.40 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling plotters-backend v0.3.5 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling plotters-svg v0.3.5 [INFO] [stderr] Compiling clap_builder v4.5.9 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling statrs v0.18.0 [INFO] [stderr] Compiling triomphe v0.1.14 [INFO] [stderr] Compiling bytes-str v0.2.5 [INFO] [stderr] Compiling hstr v2.1.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling swc_atoms v7.0.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling owo-colors v4.0.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling swc_common v14.0.4 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling codspeed v3.0.4 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling clap v4.5.9 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling miette v7.2.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling is-terminal v0.4.10 [INFO] [stderr] Compiling plotters v0.3.5 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling codspeed-criterion-compat v3.0.4 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling swc_ecma_ast v15.0.0 [INFO] [stderr] Compiling relative-path v1.9.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling testing_macros v1.0.1 [INFO] [stderr] Compiling swc_error_reporters v16.0.1 [INFO] [stderr] Compiling pretty_assertions v1.4.0 [INFO] [stderr] Compiling stacker v0.1.20 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Compiling mimalloc v0.1.44 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling swc_malloc v1.2.3 [INFO] [stderr] Compiling codspeed-criterion-compat-walltime v3.0.4 [INFO] [stderr] Compiling testing v15.0.0 [INFO] [stderr] Compiling swc_ecma_visit v15.0.0 [INFO] [stderr] Compiling swc_ecma_lexer v23.0.2 (/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" "e5cd82d48cd55d0af3400f17270f7210e99d8f46c1e94f3377f00e3418044051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5cd82d48cd55d0af3400f17270f7210e99d8f46c1e94f3377f00e3418044051", kill_on_drop: false }` [INFO] [stdout] e5cd82d48cd55d0af3400f17270f7210e99d8f46c1e94f3377f00e3418044051