[INFO] fetching crate swc_ecma_lexer 23.0.0... [INFO] checking swc_ecma_lexer-23.0.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate swc_ecma_lexer 23.0.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate swc_ecma_lexer 23.0.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate swc_ecma_lexer 23.0.0 [INFO] tweaked toml for crates.io crate swc_ecma_lexer 23.0.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate swc_ecma_lexer 23.0.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate swc_ecma_lexer 23.0.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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded codspeed v3.0.4 [INFO] [stderr] Downloaded swc_malloc v1.2.3 [INFO] [stderr] Downloaded mimalloc v0.1.44 [INFO] [stderr] Downloaded testing_macros v1.0.1 [INFO] [stderr] Downloaded codspeed-criterion-compat v3.0.4 [INFO] [stderr] Downloaded libmimalloc-sys v0.1.40 [INFO] [stderr] Downloaded testing v15.0.0 [INFO] [stderr] Downloaded codspeed-criterion-compat-walltime v3.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b27ba4ede695d9156e3e016c761017dc8c044a5239ece2ffa1314e24b44175d9 [INFO] running `Command { std: "docker" "start" "-a" "b27ba4ede695d9156e3e016c761017dc8c044a5239ece2ffa1314e24b44175d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b27ba4ede695d9156e3e016c761017dc8c044a5239ece2ffa1314e24b44175d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b27ba4ede695d9156e3e016c761017dc8c044a5239ece2ffa1314e24b44175d9", kill_on_drop: false }` [INFO] [stdout] b27ba4ede695d9156e3e016c761017dc8c044a5239ece2ffa1314e24b44175d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b9f6561b18c9d8a211613fdab10d3200b7ff66ee8d1134eddf535860626f0d8 [INFO] running `Command { std: "docker" "start" "-a" "1b9f6561b18c9d8a211613fdab10d3200b7ff66ee8d1134eddf535860626f0d8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.13 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking better_scoped_tls v1.0.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking swc_visit v2.0.1 [INFO] [stderr] Checking clap_builder v4.5.9 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Checking owo-colors v4.0.0 [INFO] [stderr] Checking unicode-id-start v1.3.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling relative-path v1.9.2 [INFO] [stderr] Compiling codspeed-criterion-compat v3.0.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking statrs v0.18.0 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling libmimalloc-sys v0.1.40 [INFO] [stderr] Compiling stacker v0.1.20 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking clap v4.5.9 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking getrandom v0.3.2 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking mimalloc v0.1.44 [INFO] [stderr] Checking swc_malloc v1.2.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling swc_macros_common v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [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 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 thiserror-impl v1.0.69 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling is-macro v0.3.7 [INFO] [stderr] Compiling string_enum v1.0.2 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling testing_macros v1.0.1 [INFO] [stderr] Checking miette v7.2.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking triomphe v0.1.14 [INFO] [stderr] Checking bytes-str v0.2.5 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking semver v1.0.23 [INFO] [stderr] Checking cargo-platform v0.1.8 [INFO] [stderr] Checking hstr v2.0.1 [INFO] [stderr] Checking swc_atoms v7.0.0 [INFO] [stderr] Checking codspeed v3.0.4 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking codspeed-criterion-compat-walltime v3.0.4 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking swc_common v14.0.3 [INFO] [stderr] Checking swc_ecma_ast v15.0.0 [INFO] [stderr] Checking swc_error_reporters v16.0.1 [INFO] [stderr] Checking testing v15.0.0 [INFO] [stderr] Checking swc_ecma_visit v15.0.0 [INFO] [stderr] Checking swc_ecma_lexer v23.0.0 (/opt/rustwide/workdir) [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] [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] error: could not compile `swc_ecma_lexer` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "1b9f6561b18c9d8a211613fdab10d3200b7ff66ee8d1134eddf535860626f0d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b9f6561b18c9d8a211613fdab10d3200b7ff66ee8d1134eddf535860626f0d8", kill_on_drop: false }` [INFO] [stdout] 1b9f6561b18c9d8a211613fdab10d3200b7ff66ee8d1134eddf535860626f0d8