[INFO] cloning repository https://github.com/christianalfoni/observing-components [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/christianalfoni/observing-components" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristianalfoni%2Fobserving-components", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristianalfoni%2Fobserving-components'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 678566b3a7691862e4f4939a5f906e5ce34c3894 [INFO] testing christianalfoni/observing-components against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristianalfoni%2Fobserving-components" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/christianalfoni/observing-components [INFO] finished tweaking git repo https://github.com/christianalfoni/observing-components [INFO] tweaked toml for git repo https://github.com/christianalfoni/observing-components written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/christianalfoni/observing-components on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/christianalfoni/observing-components 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded swc_atoms v3.1.0 [INFO] [stderr] Downloaded testing_macros v1.0.0 [INFO] [stderr] Downloaded swc_eq_ignore_macros v1.0.0 [INFO] [stderr] Downloaded swc_visit v2.0.0 [INFO] [stderr] Downloaded swc_error_reporters v7.0.0 [INFO] [stderr] Downloaded rkyv_derive v0.8.10 [INFO] [stderr] Downloaded testing v6.0.0 [INFO] [stderr] Downloaded ptr_meta_derive v0.3.0 [INFO] [stderr] Downloaded swc_plugin_proxy v6.0.0 [INFO] [stderr] Downloaded swc_ecma_testing v6.0.0 [INFO] [stderr] Downloaded miette-derive v7.5.0 [INFO] [stderr] Downloaded swc_trace_macro v2.0.0 [INFO] [stderr] Downloaded swc_cached v2.0.0 [INFO] [stderr] Downloaded better_scoped_tls v1.0.0 [INFO] [stderr] Downloaded swc_core v13.3.0 [INFO] [stderr] Downloaded swc_plugin v1.0.0 [INFO] [stderr] Downloaded ascii v1.1.0 [INFO] [stderr] Downloaded vergen v9.0.4 [INFO] [stderr] Downloaded ryu-js v1.0.2 [INFO] [stderr] Downloaded compact_str v0.7.1 [INFO] [stderr] Downloaded swc_ecma_codegen v6.1.0 [INFO] [stderr] Downloaded swc_ecma_transforms_base v9.0.1 [INFO] [stderr] Downloaded swc_ecma_visit v6.0.0 [INFO] [stderr] Downloaded swc_ecma_ast v6.1.0 [INFO] [stderr] Downloaded swc_ecma_parser v8.0.2 [INFO] [stderr] Downloaded miette v7.5.0 [INFO] [stderr] Downloaded owo-colors v4.2.0 [INFO] [stderr] Downloaded sourcemap v9.1.2 [INFO] [stderr] Downloaded triomphe v0.1.14 [INFO] [stderr] Downloaded swc_ecma_utils v9.0.0 [INFO] [stderr] Downloaded swc_macros_common v1.0.0 [INFO] [stderr] Downloaded rend v0.5.2 [INFO] [stderr] Downloaded vergen-lib v0.1.6 [INFO] [stderr] Downloaded stacker v0.1.20 [INFO] [stderr] Downloaded swc_ecma_transforms_testing v9.0.0 [INFO] [stderr] Downloaded hstr v0.2.17 [INFO] [stderr] Downloaded bytecheck_derive v0.8.1 [INFO] [stderr] Downloaded bytecheck v0.8.1 [INFO] [stderr] Downloaded from_variant v2.0.0 [INFO] [stderr] Downloaded rancor v0.1.0 [INFO] [stderr] Downloaded munge v0.4.3 [INFO] [stderr] Downloaded rustix v1.0.5 [INFO] [stderr] Downloaded ptr_meta v0.3.0 [INFO] [stderr] Downloaded rkyv v0.8.10 [INFO] [stderr] Downloaded swc_plugin_macro v1.0.0 [INFO] [stderr] Downloaded swc_ecma_codegen_macros v1.0.1 [INFO] [stderr] Downloaded is-macro v0.3.7 [INFO] [stderr] Downloaded string_enum v1.0.0 [INFO] [stderr] Downloaded swc_common v6.1.1 [INFO] [stderr] Downloaded swc_parallel v1.3.0 [INFO] [stderr] Downloaded ast_node v3.0.0 [INFO] [stderr] Downloaded swc_allocator v3.0.1 [INFO] [stderr] Downloaded munge_macro v0.4.3 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ff489ffa34b40b549f8c0690f4b346e9b05f0733b2ca1a9e63475c8435a0162 [INFO] running `Command { std: "docker" "start" "-a" "4ff489ffa34b40b549f8c0690f4b346e9b05f0733b2ca1a9e63475c8435a0162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ff489ffa34b40b549f8c0690f4b346e9b05f0733b2ca1a9e63475c8435a0162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ff489ffa34b40b549f8c0690f4b346e9b05f0733b2ca1a9e63475c8435a0162", kill_on_drop: false }` [INFO] [stdout] 4ff489ffa34b40b549f8c0690f4b346e9b05f0733b2ca1a9e63475c8435a0162 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc411d816f68176e37229c944ad1f583c59366f94bc55854047f3de8b65e7595 [INFO] running `Command { std: "docker" "start" "-a" "dc411d816f68176e37229c944ad1f583c59366f94bc55854047f3de8b65e7595", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling swc_visit v2.0.0 [INFO] [stderr] Compiling better_scoped_tls v1.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling owo-colors v4.2.0 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling vergen-lib v0.1.6 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling vergen v9.0.4 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling swc_parallel v1.3.0 [INFO] [stderr] Compiling ryu-js v1.0.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling unicode-id v0.3.5 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling bstr v1.11.3 [INFO] [stderr] Compiling swc_plugin v1.0.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling psm v0.1.25 [INFO] [stderr] Compiling stacker v0.1.20 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling swc_macros_common v1.0.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [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 ptr_meta_derive v0.3.0 [INFO] [stderr] Compiling bytecheck_derive v0.8.1 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling munge_macro v0.4.3 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling rkyv_derive v0.8.10 [INFO] [stderr] Compiling ast_node v3.0.0 [INFO] [stderr] Compiling from_variant v2.0.0 [INFO] [stderr] Compiling ptr_meta v0.3.0 [INFO] [stderr] Compiling swc_eq_ignore_macros v1.0.0 [INFO] [stderr] Compiling rancor v0.1.0 [INFO] [stderr] Compiling munge v0.4.3 [INFO] [stderr] Compiling is-macro v0.3.7 [INFO] [stderr] Compiling string_enum v1.0.0 [INFO] [stderr] Compiling bytecheck v0.8.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling rend v0.5.2 [INFO] [stderr] Compiling miette-derive v7.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling swc_ecma_codegen_macros v1.0.1 [INFO] [stderr] Compiling swc_trace_macro v2.0.0 [INFO] [stderr] Compiling swc_plugin_macro v1.0.0 [INFO] [stderr] Compiling testing_macros v1.0.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling miette v7.5.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [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 derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [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 debugid v0.8.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling swc_cached v2.0.0 [INFO] [stderr] Compiling rkyv v0.8.10 [INFO] [stderr] Compiling hstr v0.2.17 [INFO] [stderr] Compiling swc_allocator v3.0.1 [INFO] [stderr] Compiling cargo_metadata v0.19.2 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling swc_core v13.3.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_atoms v3.1.0 [INFO] [stderr] Compiling sourcemap v9.1.2 [INFO] [stderr] Compiling swc_common v6.1.1 [INFO] [stderr] Compiling swc_ecma_ast v6.1.0 [INFO] [stderr] Compiling swc_error_reporters v7.0.0 [INFO] [stderr] Compiling testing v6.0.0 [INFO] [stderr] Compiling swc_ecma_testing v6.0.0 [INFO] [stderr] Compiling swc_ecma_visit v6.0.0 [INFO] [stderr] Compiling swc_ecma_parser v8.0.2 [INFO] [stderr] Compiling swc_ecma_codegen v6.1.0 [INFO] [stderr] Compiling swc_plugin_proxy v6.0.0 [INFO] [stderr] Compiling swc_ecma_utils v9.0.0 [INFO] [stderr] Compiling wrap_components_with_observer v0.29.0 (/opt/rustwide/workdir/swc-plugin-observing-components/transform) [INFO] [stdout] warning: unused import: `GlobSet` [INFO] [stdout] --> swc-plugin-observing-components/transform/src/lib.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use globset::{Glob, GlobSet, GlobSetBuilder}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_buf` [INFO] [stdout] --> swc-plugin-observing-components/transform/src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let path_buf = PathBuf::from(file_path); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `potential_project_root` [INFO] [stdout] --> swc-plugin-observing-components/transform/src/lib.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | let potential_project_root = path_components[0..i].join(&std::path::MAIN_SEPARATOR.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_potential_project_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `observer_alias` is assigned to, but never used [INFO] [stdout] --> swc-plugin-observing-components/transform/src/lib.rs:310:21 [INFO] [stdout] | [INFO] [stdout] 310 | let mut observer_alias = observer_name.clone(); // default alias [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_observer_alias` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `observer_alias` is never read [INFO] [stdout] --> swc-plugin-observing-components/transform/src/lib.rs:333:17 [INFO] [stdout] | [INFO] [stdout] 333 | observer_alias = alias; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_import_name` is never used [INFO] [stdout] --> swc-plugin-observing-components/transform/src/lib.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn default_import_name() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling swc_ecma_transforms_base v9.0.1 [INFO] [stderr] Compiling swc_ecma_transforms_testing v9.0.0 [INFO] [stderr] Compiling swc_plugin_observing_components v0.19.4 (/opt/rustwide/workdir/swc-plugin-observing-components) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 23s [INFO] running `Command { std: "docker" "inspect" "dc411d816f68176e37229c944ad1f583c59366f94bc55854047f3de8b65e7595", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc411d816f68176e37229c944ad1f583c59366f94bc55854047f3de8b65e7595", kill_on_drop: false }` [INFO] [stdout] dc411d816f68176e37229c944ad1f583c59366f94bc55854047f3de8b65e7595 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e85c2ebc4573128eb85423820c7416d312e271781bc5566dbce9197f2d70a1a [INFO] running `Command { std: "docker" "start" "-a" "5e85c2ebc4573128eb85423820c7416d312e271781bc5566dbce9197f2d70a1a", kill_on_drop: false }` [INFO] [stderr] Compiling swc_plugin_observing_components v0.19.4 (/opt/rustwide/workdir/swc-plugin-observing-components) [INFO] [stderr] Compiling wrap_components_with_observer v0.29.0 (/opt/rustwide/workdir/swc-plugin-observing-components/transform) [INFO] [stdout] warning: unused import: `GlobSet` [INFO] [stdout] --> swc-plugin-observing-components/transform/src/lib.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use globset::{Glob, GlobSet, GlobSetBuilder}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_buf` [INFO] [stdout] --> swc-plugin-observing-components/transform/src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let path_buf = PathBuf::from(file_path); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `potential_project_root` [INFO] [stdout] --> swc-plugin-observing-components/transform/src/lib.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | let potential_project_root = path_components[0..i].join(&std::path::MAIN_SEPARATOR.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_potential_project_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `observer_alias` is assigned to, but never used [INFO] [stdout] --> swc-plugin-observing-components/transform/src/lib.rs:310:21 [INFO] [stdout] | [INFO] [stdout] 310 | let mut observer_alias = observer_name.clone(); // default alias [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_observer_alias` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `observer_alias` is never read [INFO] [stdout] --> swc-plugin-observing-components/transform/src/lib.rs:333:17 [INFO] [stdout] | [INFO] [stdout] 333 | observer_alias = alias; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_import_name` is never used [INFO] [stdout] --> swc-plugin-observing-components/transform/src/lib.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn default_import_name() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GlobSet` [INFO] [stdout] --> swc-plugin-observing-components/transform/src/lib.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use globset::{Glob, GlobSet, GlobSetBuilder}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_buf` [INFO] [stdout] --> swc-plugin-observing-components/transform/src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let path_buf = PathBuf::from(file_path); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `potential_project_root` [INFO] [stdout] --> swc-plugin-observing-components/transform/src/lib.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | let potential_project_root = path_components[0..i].join(&std::path::MAIN_SEPARATOR.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_potential_project_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `observer_alias` is assigned to, but never used [INFO] [stdout] --> swc-plugin-observing-components/transform/src/lib.rs:310:21 [INFO] [stdout] | [INFO] [stdout] 310 | let mut observer_alias = observer_name.clone(); // default alias [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_observer_alias` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `observer_alias` is never read [INFO] [stdout] --> swc-plugin-observing-components/transform/src/lib.rs:333:17 [INFO] [stdout] | [INFO] [stdout] 333 | observer_alias = alias; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_import_name` is never used [INFO] [stdout] --> swc-plugin-observing-components/transform/src/lib.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn default_import_name() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.89s [INFO] running `Command { std: "docker" "inspect" "5e85c2ebc4573128eb85423820c7416d312e271781bc5566dbce9197f2d70a1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e85c2ebc4573128eb85423820c7416d312e271781bc5566dbce9197f2d70a1a", kill_on_drop: false }` [INFO] [stdout] 5e85c2ebc4573128eb85423820c7416d312e271781bc5566dbce9197f2d70a1a [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0c3ca0d09bf6983d85d107442ca4d5680837e278a0005d3f3e2202fb207f98ac [INFO] running `Command { std: "docker" "start" "-a" "0c3ca0d09bf6983d85d107442ca4d5680837e278a0005d3f3e2202fb207f98ac", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `GlobSet` [INFO] [stderr] --> swc-plugin-observing-components/transform/src/lib.rs:4:21 [INFO] [stderr] | [INFO] [stderr] 4 | use globset::{Glob, GlobSet, GlobSetBuilder}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path_buf` [INFO] [stderr] --> swc-plugin-observing-components/transform/src/lib.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | let path_buf = PathBuf::from(file_path); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_buf` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `potential_project_root` [INFO] [stderr] --> swc-plugin-observing-components/transform/src/lib.rs:74:21 [INFO] [stderr] | [INFO] [stderr] 74 | let potential_project_root = path_components[0..i].join(&std::path::MAIN_SEPARATOR.to_string()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_potential_project_root` [INFO] [stderr] [INFO] [stderr] warning: variable `observer_alias` is assigned to, but never used [INFO] [stderr] --> swc-plugin-observing-components/transform/src/lib.rs:310:21 [INFO] [stderr] | [INFO] [stderr] 310 | let mut observer_alias = observer_name.clone(); // default alias [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_observer_alias` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `observer_alias` is never read [INFO] [stderr] --> swc-plugin-observing-components/transform/src/lib.rs:333:17 [INFO] [stderr] | [INFO] [stderr] 333 | observer_alias = alias; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `default_import_name` is never used [INFO] [stderr] --> swc-plugin-observing-components/transform/src/lib.rs:114:4 [INFO] [stderr] | [INFO] [stderr] 114 | fn default_import_name() -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `wrap_components_with_observer` (lib) generated 6 warnings (run `cargo fix --lib -p wrap_components_with_observer` to apply 1 suggestion) [INFO] [stderr] warning: `wrap_components_with_observer` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/swc_plugin_observing_components-2df5d7392fa88d0f) [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wrap_components_with_observer-d45ffab858e86f32) [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] [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/fixture.rs (/opt/rustwide/target/debug/deps/fixture-7456fd160999d30e) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test fixture_tests__fixture__function__input_js ... ok [INFO] [stdout] test fixture_tests__fixture__object_key__input_js ... ok [INFO] [stdout] test fixture_tests__fixture__already_wrapped__input_js ... ok [INFO] [stdout] test fixture_tests__fixture__uppercase_identifier__input_js ... ok [INFO] [stdout] test fixture_tests__fixture__multi_functions__input_js ... ok [INFO] [stdout] test fixture_tests__fixture__export_default__input_js ... ok [INFO] [stdout] test fixture_tests__fixture__arrow__input_js ... ok [INFO] [stdout] test fixture_tests__fixture__other_wrapped__input_js ... ok [INFO] [stdout] test fixture_tests__fixture__non_exported_component__input_js ... ok [INFO] [stdout] test fixture_tests__fixture__no_jsx__input_js ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stderr] Doc-tests swc_plugin_observing_components [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] Doc-tests wrap_components_with_observer [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" "0c3ca0d09bf6983d85d107442ca4d5680837e278a0005d3f3e2202fb207f98ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c3ca0d09bf6983d85d107442ca4d5680837e278a0005d3f3e2202fb207f98ac", kill_on_drop: false }` [INFO] [stdout] 0c3ca0d09bf6983d85d107442ca4d5680837e278a0005d3f3e2202fb207f98ac