[INFO] fetching crate swc_emotion 0.48.0... [INFO] checking swc_emotion-0.48.0 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate swc_emotion 0.48.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate swc_emotion 0.48.0 on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate swc_emotion 0.48.0 [INFO] finished tweaking crates.io crate swc_emotion 0.48.0 [INFO] tweaked toml for crates.io crate swc_emotion 0.48.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 621e79f7991cbc64372f688cf7e43e5e77dd79dabeace7529d2196def058ad1b [INFO] running `Command { std: "docker" "start" "-a" "621e79f7991cbc64372f688cf7e43e5e77dd79dabeace7529d2196def058ad1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "621e79f7991cbc64372f688cf7e43e5e77dd79dabeace7529d2196def058ad1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "621e79f7991cbc64372f688cf7e43e5e77dd79dabeace7529d2196def058ad1b", kill_on_drop: false }` [INFO] [stdout] 621e79f7991cbc64372f688cf7e43e5e77dd79dabeace7529d2196def058ad1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9a761154afba4cbbbf0d6aed5cc76ee8537976e480d6772edf33bc30fc75896 [INFO] running `Command { std: "docker" "start" "-a" "e9a761154afba4cbbbf0d6aed5cc76ee8537976e480d6772edf33bc30fc75896", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Checking uuid v1.4.1 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking data-encoding v2.4.0 [INFO] [stderr] Checking unicode-id v0.3.4 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Checking better_scoped_tls v0.1.1 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking is_ci v1.1.1 [INFO] [stderr] Checking textwrap v0.15.2 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Compiling relative-path v1.9.0 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking linux-raw-sys v0.4.7 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking radix_fmt v1.0.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking supports-color v1.3.1 [INFO] [stderr] Checking supports-hyperlinks v1.2.0 [INFO] [stderr] Checking supports-unicode v1.0.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling swc_atoms v0.5.9 [INFO] [stderr] Compiling miette-derive v4.7.1 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling pmutil v0.6.1 [INFO] [stderr] Compiling swc_macros_common v0.3.8 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling swc_visit_macros v0.5.8 [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.2 [INFO] [stderr] Compiling from_variant v0.1.6 [INFO] [stderr] Compiling ast_node v0.9.5 [INFO] [stderr] Compiling is-macro v0.3.0 [INFO] [stderr] Compiling string_enum v0.4.1 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling testing_macros v0.2.11 [INFO] [stderr] Compiling swc_ecma_codegen_macros v0.7.3 [INFO] [stderr] Compiling swc_config_macro v0.1.2 [INFO] [stderr] Compiling swc_ecma_transforms_macros v0.5.3 [INFO] [stderr] Compiling swc_trace_macro v0.1.3 [INFO] [stderr] Checking thiserror v1.0.48 [INFO] [stderr] Checking miette v4.7.1 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking serde v1.0.188 [INFO] [stderr] Checking swc_visit v0.5.7 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Checking triomphe v0.1.9 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking cargo-platform v0.1.3 [INFO] [stderr] Checking sourcemap v6.4.1 [INFO] [stderr] Checking cargo_metadata v0.15.4 [INFO] [stderr] Checking swc_config v0.1.7 [INFO] [stderr] Checking swc_common v0.32.1 [INFO] [stderr] Checking swc_ecma_ast v0.109.1 [INFO] [stderr] Checking swc_error_reporters v0.16.1 [INFO] [stderr] Checking testing v0.34.1 [INFO] [stderr] Checking swc_ecma_testing v0.21.1 [INFO] [stderr] Checking swc_ecma_visit v0.95.1 [INFO] [stderr] Checking swc_ecma_parser v0.140.0 [INFO] [stderr] Checking swc_ecma_codegen v0.145.2 [INFO] [stderr] Checking swc_ecma_utils v0.123.0 [INFO] [stderr] Checking swc_ecma_transforms_base v0.133.2 [INFO] [stderr] Checking swc_emotion v0.48.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `filepath_hash` is never read [INFO] [stdout] --> src/lib.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct EmotionTransformer { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 163 | pub options: EmotionOptions, [INFO] [stdout] 164 | filepath_hash: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking swc_ecma_transforms_react v0.179.9 [INFO] [stderr] Checking swc_ecma_transforms_testing v0.136.2 [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> tests/fixture.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | / chain!( [INFO] [stdout] 43 | | swc_emotion::emotion( [INFO] [stdout] 44 | | EmotionOptions { [INFO] [stdout] 45 | | enabled: Some(true), [INFO] [stdout] ... | [INFO] [stdout] 51 | | &PathBuf::from("input.ts"), [INFO] [stdout] | | ------------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 56 | | jsx [INFO] [stdout] 57 | | ) [INFO] [stdout] | |_____________^ returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> tests/fixture.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | / chain!( [INFO] [stdout] 117 | | swc_emotion::emotion( [INFO] [stdout] 118 | | EmotionOptions { [INFO] [stdout] 119 | | enabled: Some(true), [INFO] [stdout] ... | [INFO] [stdout] 125 | | &PathBuf::from(format!("{output_folder_name}/index.tsx")), [INFO] [stdout] | | -------------------------------------------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 130 | | jsx [INFO] [stdout] 131 | | ) [INFO] [stdout] | |_____________^ returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> tests/fixture.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | / chain!( [INFO] [stdout] 172 | | swc_emotion::emotion( [INFO] [stdout] 173 | | EmotionOptions { [INFO] [stdout] 174 | | enabled: Some(true), [INFO] [stdout] ... | [INFO] [stdout] 180 | | &PathBuf::from(format!("{output_folder_name}/{input_file_name}")), [INFO] [stdout] | | ---------------------------------------------------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 185 | | jsx [INFO] [stdout] 186 | | ) [INFO] [stdout] | |_____________^ returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `swc_emotion` (test "fixture") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `filepath_hash` is never read [INFO] [stdout] --> src/lib.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct EmotionTransformer { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 163 | pub options: EmotionOptions, [INFO] [stdout] 164 | filepath_hash: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e9a761154afba4cbbbf0d6aed5cc76ee8537976e480d6772edf33bc30fc75896", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9a761154afba4cbbbf0d6aed5cc76ee8537976e480d6772edf33bc30fc75896", kill_on_drop: false }` [INFO] [stdout] e9a761154afba4cbbbf0d6aed5cc76ee8537976e480d6772edf33bc30fc75896