[INFO] fetching crate swc_emotion 0.101.0... [INFO] testing swc_emotion-0.101.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate swc_emotion 0.101.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate swc_emotion 0.101.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate swc_emotion 0.101.0 [INFO] tweaked toml for crates.io crate swc_emotion 0.101.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate swc_emotion 0.101.0 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] crate crates.io crate swc_emotion 0.101.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" "+caccb4d0368bd918ef6668af8e13834d07040417" "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] Downloading crates ... [INFO] [stderr] Downloaded pretty_assertions v1.4.0 [INFO] [stderr] Downloaded ryu-js v1.0.1 [INFO] [stderr] Downloaded camino v1.1.6 [INFO] [stderr] Downloaded bytes-str v0.2.5 [INFO] [stderr] Downloaded is-macro v0.3.5 [INFO] [stderr] Downloaded thiserror v1.0.60 [INFO] [stderr] Downloaded unicode-id-start v1.2.0 [INFO] [stderr] Downloaded swc_sourcemap v9.3.0 [INFO] [stderr] Downloaded uuid v1.10.0 [INFO] [stderr] Downloaded miette-derive v7.2.0 [INFO] [stderr] Downloaded swc_ecma_testing v15.0.0 [INFO] [stderr] Downloaded swc_ecma_transforms_testing v29.0.0 [INFO] [stderr] Downloaded testing v15.0.0 [INFO] [stderr] Downloaded testing_macros v1.0.1 [INFO] [stderr] Downloaded triomphe v0.1.13 [INFO] [stderr] Downloaded cc v1.0.97 [INFO] [stderr] Downloaded miette v7.2.0 [INFO] [stderr] Downloaded owo-colors v4.0.0 [INFO] [stderr] Downloaded serde_json v1.0.127 [INFO] [stderr] Downloaded thiserror-impl v1.0.60 [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] cb387b028bf1c7c23d7cfc6cc4ee13dadde8e52db14a66b8adf2810fd90f0a2d [INFO] running `Command { std: "docker" "start" "-a" "cb387b028bf1c7c23d7cfc6cc4ee13dadde8e52db14a66b8adf2810fd90f0a2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb387b028bf1c7c23d7cfc6cc4ee13dadde8e52db14a66b8adf2810fd90f0a2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb387b028bf1c7c23d7cfc6cc4ee13dadde8e52db14a66b8adf2810fd90f0a2d", kill_on_drop: false }` [INFO] [stdout] cb387b028bf1c7c23d7cfc6cc4ee13dadde8e52db14a66b8adf2810fd90f0a2d [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] f5b02c543433ce64e3028e979b43c3354cd0989e1a3c771033d33c9c8ddc77c7 [INFO] running `Command { std: "docker" "start" "-a" "f5b02c543433ce64e3028e979b43c3354cd0989e1a3c771033d33c9c8ddc77c7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde_core v1.0.226 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling swc_visit v2.0.1 [INFO] [stderr] Compiling unicode-id-start v1.2.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling better_scoped_tls v1.0.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling ryu-js v1.0.1 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling par-core v2.0.0 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling radix_fmt v1.0.0 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling swc_allocator v4.0.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling swc_macros_common v1.0.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.226 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling swc_eq_ignore_macros v1.0.1 [INFO] [stderr] Compiling from_variant v2.0.2 [INFO] [stderr] Compiling ast_node v3.0.4 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling is-macro v0.3.5 [INFO] [stderr] Compiling string_enum v1.0.2 [INFO] [stderr] Compiling swc_ecma_codegen_macros v2.0.2 [INFO] [stderr] Compiling swc_trace_macro v2.0.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling zerofrom v0.1.5 [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 icu_provider v1.5.0 [INFO] [stderr] Compiling triomphe v0.1.13 [INFO] [stderr] Compiling bytes-str v0.2.5 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling hstr v2.0.1 [INFO] [stderr] Compiling swc_atoms v7.0.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.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_sourcemap v9.3.0 [INFO] [stderr] Compiling swc_ecma_ast v15.0.0 [INFO] [stderr] Compiling swc_ecma_lexer v23.0.1 [INFO] [stderr] Compiling swc_ecma_visit v15.0.0 [INFO] [stderr] Compiling swc_ecma_codegen v17.0.2 [INFO] [stderr] Compiling swc_ecma_utils v21.0.0 [INFO] [stderr] Compiling swc_ecma_parser v24.0.1 [INFO] [stderr] Compiling swc_ecma_transforms_base v26.0.1 [INFO] [stderr] Compiling swc_ecma_transforms v33.0.0 [INFO] [stderr] Compiling swc_emotion v0.101.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `ImportType` is never used [INFO] [stdout] --> src/lib.rs:92:6 [INFO] [stdout] | [INFO] [stdout] 92 | enum ImportType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:919:29 [INFO] [stdout] | [INFO] [stdout] 919 | fn minify_css_string(input: &str, is_first_item: bool, is_last_item: bool) -> Cow { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden 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] 919 | fn minify_css_string(input: &str, is_first_item: bool, is_last_item: bool) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:929:37 [INFO] [stdout] | [INFO] [stdout] 929 | fn remove_space_and_comments(input: &str, is_first_item: bool, is_last_item: bool) -> Cow { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden 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] 929 | fn remove_space_and_comments(input: &str, is_first_item: bool, is_last_item: bool) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:939:37 [INFO] [stdout] | [INFO] [stdout] 939 | fn remove_space_around_colon(input: &str, is_first_item: bool, is_last_item: bool) -> Cow { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden 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] 939 | fn remove_space_around_colon(input: &str, is_first_item: bool, is_last_item: bool) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "f5b02c543433ce64e3028e979b43c3354cd0989e1a3c771033d33c9c8ddc77c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5b02c543433ce64e3028e979b43c3354cd0989e1a3c771033d33c9c8ddc77c7", kill_on_drop: false }` [INFO] [stdout] f5b02c543433ce64e3028e979b43c3354cd0989e1a3c771033d33c9c8ddc77c7 [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] 007b547ea9ecef01f55e53032588d8ee2ddc99378d6250285c4a7a76133de7a3 [INFO] running `Command { std: "docker" "start" "-a" "007b547ea9ecef01f55e53032588d8ee2ddc99378d6250285c4a7a76133de7a3", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling owo-colors v4.0.0 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling pretty_assertions v1.4.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling swc_config_macro v1.0.1 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling swc_sourcemap v9.3.0 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Compiling swc_config v3.1.2 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling miette v7.2.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling swc_common v14.0.4 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling swc_ecma_ast v15.0.0 [INFO] [stderr] Compiling swc_error_reporters v16.0.1 [INFO] [stderr] Compiling testing_macros v1.0.1 [INFO] [stderr] Compiling testing v15.0.0 [INFO] [stderr] Compiling swc_ecma_testing v15.0.0 [INFO] [stderr] Compiling swc_ecma_lexer v23.0.1 [INFO] [stderr] Compiling swc_ecma_visit v15.0.0 [INFO] [stderr] Compiling swc_ecma_codegen v17.0.2 [INFO] [stderr] Compiling swc_ecma_utils v21.0.0 [INFO] [stderr] Compiling swc_ecma_parser v24.0.1 [INFO] [stderr] Compiling swc_ecma_transforms_base v26.0.1 [INFO] [stderr] Compiling swc_ecma_transforms v33.0.0 [INFO] [stderr] Compiling swc_ecma_transforms_react v29.0.0 [INFO] [stderr] Compiling swc_ecma_transforms_testing v29.0.0 [INFO] [stderr] Compiling swc_emotion v0.101.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `ImportType` is never used [INFO] [stdout] --> src/lib.rs:92:6 [INFO] [stdout] | [INFO] [stdout] 92 | enum ImportType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:919:29 [INFO] [stdout] | [INFO] [stdout] 919 | fn minify_css_string(input: &str, is_first_item: bool, is_last_item: bool) -> Cow { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden 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] 919 | fn minify_css_string(input: &str, is_first_item: bool, is_last_item: bool) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:929:37 [INFO] [stdout] | [INFO] [stdout] 929 | fn remove_space_and_comments(input: &str, is_first_item: bool, is_last_item: bool) -> Cow { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden 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] 929 | fn remove_space_and_comments(input: &str, is_first_item: bool, is_last_item: bool) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:939:37 [INFO] [stdout] | [INFO] [stdout] 939 | fn remove_space_around_colon(input: &str, is_first_item: bool, is_last_item: bool) -> Cow { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden 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] 939 | fn remove_space_around_colon(input: &str, is_first_item: bool, is_last_item: bool) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ImportType` is never used [INFO] [stdout] --> src/lib.rs:92:6 [INFO] [stdout] | [INFO] [stdout] 92 | enum ImportType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:919:29 [INFO] [stdout] | [INFO] [stdout] 919 | fn minify_css_string(input: &str, is_first_item: bool, is_last_item: bool) -> Cow { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden 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] 919 | fn minify_css_string(input: &str, is_first_item: bool, is_last_item: bool) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:929:37 [INFO] [stdout] | [INFO] [stdout] 929 | fn remove_space_and_comments(input: &str, is_first_item: bool, is_last_item: bool) -> Cow { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden 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] 929 | fn remove_space_and_comments(input: &str, is_first_item: bool, is_last_item: bool) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:939:37 [INFO] [stdout] | [INFO] [stdout] 939 | fn remove_space_around_colon(input: &str, is_first_item: bool, is_last_item: bool) -> Cow { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden 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] 939 | fn remove_space_around_colon(input: &str, is_first_item: bool, is_last_item: bool) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "007b547ea9ecef01f55e53032588d8ee2ddc99378d6250285c4a7a76133de7a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "007b547ea9ecef01f55e53032588d8ee2ddc99378d6250285c4a7a76133de7a3", kill_on_drop: false }` [INFO] [stdout] 007b547ea9ecef01f55e53032588d8ee2ddc99378d6250285c4a7a76133de7a3 [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", kill_on_drop: false }` [INFO] [stdout] 72c2a5ee610e631f26f0f932ce45215ea0cd4db0c13ac06b38f29ab89e4d0ead [INFO] running `Command { std: "docker" "start" "-a" "72c2a5ee610e631f26f0f932ce45215ea0cd4db0c13ac06b38f29ab89e4d0ead", kill_on_drop: false }` [INFO] [stderr] warning: enum `ImportType` is never used [INFO] [stderr] --> src/lib.rs:92:6 [INFO] [stderr] | [INFO] [stderr] 92 | enum ImportType { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:919:29 [INFO] [stderr] | [INFO] [stderr] 919 | fn minify_css_string(input: &str, is_first_item: bool, is_last_item: bool) -> Cow { [INFO] [stderr] | ^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 919 | fn minify_css_string(input: &str, is_first_item: bool, is_last_item: bool) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:929:37 [INFO] [stderr] | [INFO] [stderr] 929 | fn remove_space_and_comments(input: &str, is_first_item: bool, is_last_item: bool) -> Cow { [INFO] [stderr] | ^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 929 | fn remove_space_and_comments(input: &str, is_first_item: bool, is_last_item: bool) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:939:37 [INFO] [stderr] | [INFO] [stderr] 939 | fn remove_space_around_colon(input: &str, is_first_item: bool, is_last_item: bool) -> Cow { [INFO] [stderr] | ^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 939 | fn remove_space_around_colon(input: &str, is_first_item: bool, is_last_item: bool) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `swc_emotion` (lib) generated 4 warnings (run `cargo fix --lib -p swc_emotion` to apply 3 suggestions) [INFO] [stderr] warning: `swc_emotion` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/swc_emotion-ea4270763c0b16b6) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test test_emotion::issue_258_should_preserve_url_starting_with_two_slashes_2 ... ok [INFO] [stderr] Running tests/fixture.rs (/opt/rustwide/target/debug/deps/fixture-2e3b42ab51cd835b) [INFO] [stdout] test test_emotion::should_minify_single_line_comment_correctly ... ok [INFO] [stdout] test test_emotion::should_not_trim_end_space_in_first_item ... ok [INFO] [stdout] test test_emotion::issue_258_should_preserve_url_starting_with_two_slashes_1 ... ok [INFO] [stdout] test test_emotion::should_remove_comments ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 52 tests [INFO] [stdout] test emotion_label_original_tests__labels__emotion_js__call_expression_ts ... ok [INFO] [stdout] test emotion_label_original_tests__labels__emotion_js__css_inside_function_ts ... ok [INFO] [stdout] test emotion_label_original_tests__labels__emotion_js__impure_ts ... ok [INFO] [stdout] test emotion_label_original_tests__labels__emotion_js__comment_with_interpolation_ts ... ok [INFO] [stdout] test emotion_label_original_tests__labels__emotion_js__inside_anonymous_arrow_function_ts ... ok [INFO] [stdout] test emotion_label_original_tests__labels__emotion_js__actual_expected_usage_tsx ... ok [INFO] [stdout] test emotion_label_original_tests__labels__emotion_js__call_inside_call_ts ... ok [INFO] [stdout] test emotion_label_option_fixture_tests__labels__options__filename_local__output_js ... ok [INFO] [stdout] test emotion_label_option_fixture_tests__labels__options__local__output_js ... ok [INFO] [stdout] test emotion_label_option_fixture_tests__labels__options__filename__output_js ... ok [INFO] [stdout] test emotion_label_option_fixture_tests__labels__options__dirname__output_js ... ok [INFO] [stdout] test emotion_label_original_tests__labels__emotion_js__basic_ts ... ok [INFO] [stdout] test emotion_label_original_tests__labels__emotion_js__label_arrow_as_obj_property_ts ... ok [INFO] [stdout] test emotion_label_original_tests__labels__emotion_js__no_label_array_pattern_ts ... ok [INFO] [stdout] test emotion_label_original_tests__labels__emotion_js__multiple_calls_ts ... ok [INFO] [stdout] test emotion_label_original_tests__labels__emotion_js__label_obj_method_tsx ... ok [INFO] [stdout] test emotion_label_original_tests__labels__emotion_js__inside_anonymous_function_ts ... ok [INFO] [stdout] test emotion_label_original_tests__labels__emotion_js__object_dynamic_property_ts ... ok [INFO] [stdout] test emotion_label_original_tests__labels__emotion_js__label_no_final_semi_ts ... ok [INFO] [stdout] test emotion_label_original_tests__labels__emotion_js__label_function_expression_named_ts ... ok [INFO] [stdout] test emotion_label_original_tests__labels__emotion_js__object_pattern_variable_declarator_tsx ... ok [INFO] [stdout] test emotion_label_original_tests__labels__emotion_js__remove_block_comments_ts ... ok [INFO] [stdout] test emotion_label_original_tests__labels__emotion_js__label_object_ts ... ok [INFO] [stdout] test emotion_label_original_tests__labels__emotion_js__inside_class_tsx ... ok [INFO] [stdout] test emotion_label_original_tests__labels__emotion_js__other_imports_ts ... ok [INFO] [stdout] test emotion_label_original_tests__labels__emotion_js__label_function_expression_ts ... ok [INFO] [stdout] test emotion_label_original_tests__labels__emotion_js__no_label_obj_pattern_computed_property_ts ... ok [INFO] [stdout] test emotion_label_original_tests__labels__emotion_js__label_obj_property_literal_tsx ... ok [INFO] [stdout] test emotion_label_sanitisation_tests__labels__sanitisation__bad_const_name_ts ... ok [INFO] [stdout] test next_emotion_fixture_tests__fixture__comments__input_tsx ... ok [INFO] [stdout] test emotion_label_original_tests__labels__emotion_js__tagged_template_args_forwarded_ts ... ok [INFO] [stdout] test emotion_label_sanitisation_tests__labels__sanitisation__bad_name_______________ts ... ok [INFO] [stdout] test next_emotion_fixture_tests__fixture__import_map__global__input_tsx ... ok [INFO] [stdout] test next_emotion_fixture_tests__fixture__import_map__global_needs_css__input_tsx ... ok [INFO] [stdout] test next_emotion_fixture_tests__fixture__import_map__non_default_styled_aliased__input_tsx ... ok [INFO] [stdout] test next_emotion_fixture_tests__fixture__compress__input_tsx ... ok [INFO] [stdout] test next_emotion_fixture_tests__fixture__issue_258__input_tsx ... ok [INFO] [stdout] test next_emotion_fixture_tests__fixture__import_map__styled_with_base_specified__input_tsx ... ok [INFO] [stdout] test next_emotion_fixture_tests__fixture__issues__180__input_tsx ... ok [INFO] [stdout] test next_emotion_fixture_tests__fixture__namespace_import__input_tsx ... ok [INFO] [stdout] test next_emotion_fixture_tests__fixture__import_map__vanilla__input_tsx ... ok [INFO] [stdout] test next_emotion_fixture_tests__fixture__import_map__non_default_styled__input_tsx ... ok [INFO] [stdout] test next_emotion_fixture_tests__fixture__css_in_callback__input_tsx ... ok [INFO] [stdout] test emotion_label_original_tests__labels__emotion_js__label_function_expression_as_obj_property_ts ... ok [INFO] [stdout] test emotion_label_original_tests__labels__emotion_js__no_actual_import_ts ... ok [INFO] [stdout] test emotion_label_original_tests__labels__emotion_js__label_1_ts ... ok [INFO] [stdout] test next_emotion_fixture_tests__fixture__issues__39672__input_tsx ... ok [INFO] [stdout] test next_emotion_fixture_tests__fixture__next__40385__1__input_tsx ... ok [INFO] [stdout] test emotion_label_original_tests__labels__emotion_js__remove_line_comments_ts ... ok [INFO] [stdout] test emotion_label_option_fixture_tests__labels__options__dirname_filename_local__output_js ... ok [INFO] [stdout] test emotion_label_sanitisation_tests__labels__sanitisation__input_styles_ts ... ok [INFO] [stdout] test next_emotion_fixture_tests__fixture__issues__201__input_tsx ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 52 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] [stderr] Doc-tests swc_emotion [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "72c2a5ee610e631f26f0f932ce45215ea0cd4db0c13ac06b38f29ab89e4d0ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72c2a5ee610e631f26f0f932ce45215ea0cd4db0c13ac06b38f29ab89e4d0ead", kill_on_drop: false }` [INFO] [stdout] 72c2a5ee610e631f26f0f932ce45215ea0cd4db0c13ac06b38f29ab89e4d0ead