[INFO] cloning repository https://github.com/scttcper/swc-plugin-component-annotate [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/scttcper/swc-plugin-component-annotate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscttcper%2Fswc-plugin-component-annotate", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscttcper%2Fswc-plugin-component-annotate'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a0609942e34c0f089827c047faaaa79e4cacde28 [INFO] testing scttcper/swc-plugin-component-annotate against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscttcper%2Fswc-plugin-component-annotate" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/scttcper/swc-plugin-component-annotate [INFO] finished tweaking git repo https://github.com/scttcper/swc-plugin-component-annotate [INFO] tweaked toml for git repo https://github.com/scttcper/swc-plugin-component-annotate written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/scttcper/swc-plugin-component-annotate on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/scttcper/swc-plugin-component-annotate 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a15463103f18233962171585ff889ba0dc990e53c488a316a779cb6667768f1 [INFO] running `Command { std: "docker" "start" "-a" "5a15463103f18233962171585ff889ba0dc990e53c488a316a779cb6667768f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a15463103f18233962171585ff889ba0dc990e53c488a316a779cb6667768f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a15463103f18233962171585ff889ba0dc990e53c488a316a779cb6667768f1", kill_on_drop: false }` [INFO] [stdout] 5a15463103f18233962171585ff889ba0dc990e53c488a316a779cb6667768f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb5889d73c0ef8bda3f639040ccf729dd7cfc544b9b63d257f2e21ff9c763181 [INFO] running `Command { std: "docker" "start" "-a" "bb5889d73c0ef8bda3f639040ccf729dd7cfc544b9b63d257f2e21ff9c763181", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling unicode-id-start v1.3.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling swc_visit v2.0.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling better_scoped_tls v1.0.1 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling camino v1.1.10 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling owo-colors v4.2.2 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling vergen-lib v0.1.6 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling vergen v9.0.6 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling par-core v1.0.4 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling ryu-js v1.0.2 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling par-iter v1.0.2 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling unicode-id v0.3.5 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling swc_plugin v1.0.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling swc_macros_common v1.0.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling ptr_meta_derive v0.3.0 [INFO] [stderr] Compiling bytecheck_derive v0.8.1 [INFO] [stderr] Compiling munge_macro v0.4.5 [INFO] [stderr] Compiling rkyv_derive v0.8.10 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling ast_node v3.0.1 [INFO] [stderr] Compiling from_variant v2.0.1 [INFO] [stderr] Compiling swc_eq_ignore_macros v1.0.1 [INFO] [stderr] Compiling string_enum v1.0.1 [INFO] [stderr] Compiling is-macro v0.3.7 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling ptr_meta v0.3.0 [INFO] [stderr] Compiling munge v0.4.5 [INFO] [stderr] Compiling rancor v0.1.0 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling testing_macros v1.0.1 [INFO] [stderr] Compiling swc_ecma_codegen_macros v2.0.1 [INFO] [stderr] Compiling swc_trace_macro v2.0.1 [INFO] [stderr] Compiling swc_plugin_macro v1.1.0 [INFO] [stderr] Compiling bytecheck v0.8.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling rend v0.5.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling rkyv v0.8.10 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling triomphe v0.1.14 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling hstr v1.1.1 [INFO] [stderr] Compiling swc_allocator v4.0.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Compiling cargo_metadata v0.19.2 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling swc_core v27.0.6 [INFO] [stderr] Compiling bytes-str v0.2.7 [INFO] [stderr] Compiling swc_atoms v5.0.0 [INFO] [stderr] Compiling swc_sourcemap v9.3.2 [INFO] [stderr] Compiling swc_common v12.0.1 [INFO] [stderr] Compiling swc_ecma_ast v12.0.0 [INFO] [stderr] Compiling swc_error_reporters v14.0.0 [INFO] [stderr] Compiling swc_transform_common v6.0.0 [INFO] [stderr] Compiling testing v13.0.0 [INFO] [stderr] Compiling swc_ecma_testing v13.0.0 [INFO] [stderr] Compiling swc_ecma_lexer v15.0.2 [INFO] [stderr] Compiling swc_ecma_visit v12.0.0 [INFO] [stderr] Compiling swc_ecma_codegen v14.0.0 [INFO] [stderr] Compiling swc_plugin_proxy v12.0.0 [INFO] [stderr] Compiling swc_ecma_utils v16.0.0 [INFO] [stderr] Compiling swc_ecma_parser v15.0.2 [INFO] [stderr] Compiling swc_ecma_transforms_base v16.0.0 [INFO] [stderr] Compiling swc_ecma_transforms_testing v19.0.0 [INFO] [stderr] Compiling swc-plugin-component-annotate v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/jsx_utils.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_element_name(element: &JSXElementName) -> Cow { [INFO] [stdout] | ^^^^^^^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_element_name(element: &JSXElementName) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "bb5889d73c0ef8bda3f639040ccf729dd7cfc544b9b63d257f2e21ff9c763181", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb5889d73c0ef8bda3f639040ccf729dd7cfc544b9b63d257f2e21ff9c763181", kill_on_drop: false }` [INFO] [stdout] bb5889d73c0ef8bda3f639040ccf729dd7cfc544b9b63d257f2e21ff9c763181 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2292b2cb573e7a8a08e4b0182d69db175a3c803d587fe35bf4d9898862ef3158 [INFO] running `Command { std: "docker" "start" "-a" "2292b2cb573e7a8a08e4b0182d69db175a3c803d587fe35bf4d9898862ef3158", kill_on_drop: false }` [INFO] [stderr] Compiling swc_atoms v6.0.0 [INFO] [stderr] Compiling swc_core v27.0.6 [INFO] [stderr] Compiling swc_common v13.0.1 [INFO] [stderr] Compiling swc_error_reporters v15.0.0 [INFO] [stderr] Compiling testing v14.0.0 [INFO] [stderr] Compiling swc-plugin-component-annotate v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/jsx_utils.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_element_name(element: &JSXElementName) -> Cow { [INFO] [stdout] | ^^^^^^^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_element_name(element: &JSXElementName) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/jsx_utils.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_element_name(element: &JSXElementName) -> Cow { [INFO] [stdout] | ^^^^^^^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_element_name(element: &JSXElementName) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 18.25s [INFO] running `Command { std: "docker" "inspect" "2292b2cb573e7a8a08e4b0182d69db175a3c803d587fe35bf4d9898862ef3158", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2292b2cb573e7a8a08e4b0182d69db175a3c803d587fe35bf4d9898862ef3158", kill_on_drop: false }` [INFO] [stdout] 2292b2cb573e7a8a08e4b0182d69db175a3c803d587fe35bf4d9898862ef3158 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3f9526c8ec505a51c238055a9cbb2bff46a6e982b898c25d5e4689275b684d16 [INFO] running `Command { std: "docker" "start" "-a" "3f9526c8ec505a51c238055a9cbb2bff46a6e982b898c25d5e4689275b684d16", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/jsx_utils.rs:24:34 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn get_element_name(element: &JSXElementName) -> Cow { [INFO] [stderr] | ^^^^^^^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 24 | pub fn get_element_name(element: &JSXElementName) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `swc-plugin-component-annotate` (lib) generated 1 warning [INFO] [stderr] warning: `swc-plugin-component-annotate` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/swc_plugin_component_annotate-87929d01cf330689) [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] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-1cd89f85491a9356) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test test_extract_filename ... ok [INFO] [stdout] test test_plugin_config_parsing ... ok [INFO] [stdout] test test_ignored_components_functionality ... ok [INFO] [stdout] test test_ignored_components_config ... ok [INFO] [stdout] test test_tests__fixture__react_component_basic__input_jsx ... ok [INFO] [stdout] test test_tests__fixture__react_sentry_attrs__input_jsx ... ok [INFO] [stdout] test test_tests__fixture__react_index_file__input_jsx ... ok [INFO] [stdout] test test_tests__fixture__react_function_decl__input_jsx ... ok [INFO] [stdout] test test_tests__fixture__react_ignored_components__input_jsx ... ok [INFO] [stdout] test test_tests__fixture__react_class_component__input_jsx ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests swc_plugin_component_annotate [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" "3f9526c8ec505a51c238055a9cbb2bff46a6e982b898c25d5e4689275b684d16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f9526c8ec505a51c238055a9cbb2bff46a6e982b898c25d5e4689275b684d16", kill_on_drop: false }` [INFO] [stdout] 3f9526c8ec505a51c238055a9cbb2bff46a6e982b898c25d5e4689275b684d16