[INFO] cloning repository https://github.com/himself65/swc-plugin-react-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/himself65/swc-plugin-react-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhimself65%2Fswc-plugin-react-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhimself65%2Fswc-plugin-react-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 611eed0a3f9e04acee337ce4f3097d59dd17fc8f [INFO] testing himself65/swc-plugin-react-server against beta-2025-02-18 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhimself65%2Fswc-plugin-react-server" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/himself65/swc-plugin-react-server on toolchain beta-2025-02-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/himself65/swc-plugin-react-server [INFO] finished tweaking git repo https://github.com/himself65/swc-plugin-react-server [INFO] tweaked toml for git repo https://github.com/himself65/swc-plugin-react-server written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/himself65/swc-plugin-react-server 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" "+beta-2025-02-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 367aca7865cc4ac2df29e82d40c5876274dc9bb21daaedbb3d72bee9b9640cfe [INFO] running `Command { std: "docker" "start" "-a" "367aca7865cc4ac2df29e82d40c5876274dc9bb21daaedbb3d72bee9b9640cfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "367aca7865cc4ac2df29e82d40c5876274dc9bb21daaedbb3d72bee9b9640cfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "367aca7865cc4ac2df29e82d40c5876274dc9bb21daaedbb3d72bee9b9640cfe", kill_on_drop: false }` [INFO] [stdout] 367aca7865cc4ac2df29e82d40c5876274dc9bb21daaedbb3d72bee9b9640cfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cac0775f5aff1d519609adb968f4cddc17d470e34b2cb56a5de52380ba5605d [INFO] running `Command { std: "docker" "start" "-a" "2cac0775f5aff1d519609adb968f4cddc17d470e34b2cb56a5de52380ba5605d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling owo-colors v4.0.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling rustc-hash v2.0.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-id-start v1.1.2 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling oxc_index v0.16.2 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling oxc_ast_macros v0.16.2 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling serde_json v1.0.119 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling outref v0.5.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling oxc_allocator v0.16.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling castaway v0.2.2 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling napi-build v2.1.3 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling daachorse v1.0.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling react-server-action v0.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Compiling assert-unchecked v0.1.2 [INFO] [stderr] Compiling napi-sys v2.4.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling ctor v0.2.8 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling napi v2.16.8 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling napi-derive-backend v1.0.68 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling miette v7.2.0 [INFO] [stderr] Compiling oxc_span v0.16.2 [INFO] [stderr] Compiling oxc_diagnostics v0.16.2 [INFO] [stderr] Compiling napi-derive v2.16.6 [INFO] [stderr] Compiling oxc_syntax v0.16.2 [INFO] [stderr] Compiling oxc_ast v0.16.2 [INFO] [stderr] Compiling oxc_cfg v0.16.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling oxc_parser v0.16.2 [INFO] [stderr] Compiling oxc_semantic v0.16.2 [INFO] [stderr] Compiling oxc_sourcemap v0.16.2 [INFO] [stderr] Compiling oxc_codegen v0.16.2 [INFO] [stdout] warning: unexpected `cfg` condition value: `noop` [INFO] [stdout] --> src/transform/validate.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[napi] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `napi` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `used_linker` [INFO] [stdout] --> src/transform/validate.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[napi] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `napi::bindgen_prelude::ctor` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `napi::bindgen_prelude::ctor` may come from an old version of the `ctor` crate, try updating your dependency with `cargo update -p ctor` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `napi::bindgen_prelude::ctor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `noop` [INFO] [stdout] --> src/transform/validate.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | #[napi] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `napi` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `used_linker` [INFO] [stdout] --> src/transform/validate.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | #[napi] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `napi::bindgen_prelude::ctor` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `napi::bindgen_prelude::ctor` may come from an old version of the `ctor` crate, try updating your dependency with `cargo update -p ctor` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `napi::bindgen_prelude::ctor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `noop` [INFO] [stdout] --> src/transform/validate.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | #[napi(string_enum)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `napi` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `used_linker` [INFO] [stdout] --> src/transform/validate.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | #[napi(string_enum)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `napi::bindgen_prelude::ctor` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `napi::bindgen_prelude::ctor` may come from an old version of the `ctor` crate, try updating your dependency with `cargo update -p ctor` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `napi::bindgen_prelude::ctor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `noop` [INFO] [stdout] --> src/transform/react_server_action.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[napi] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `napi` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `used_linker` [INFO] [stdout] --> src/transform/react_server_action.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[napi] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `napi::bindgen_prelude::ctor` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `napi::bindgen_prelude::ctor` may come from an old version of the `ctor` crate, try updating your dependency with `cargo update -p ctor` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `napi::bindgen_prelude::ctor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_assert` [INFO] [stdout] --> src/transform/react_server_action.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[napi] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `napi` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/transform/react_server_action.rs:522:15 [INFO] [stdout] | [INFO] [stdout] 522 | for stmt in &func.body { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 522 - for stmt in &func.body { [INFO] [stdout] 522 + while let Some(stmt) = &func.body { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 522 - for stmt in &func.body { [INFO] [stdout] 522 + if let Some(stmt) = &func.body { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.84s [INFO] running `Command { std: "docker" "inspect" "2cac0775f5aff1d519609adb968f4cddc17d470e34b2cb56a5de52380ba5605d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cac0775f5aff1d519609adb968f4cddc17d470e34b2cb56a5de52380ba5605d", kill_on_drop: false }` [INFO] [stdout] 2cac0775f5aff1d519609adb968f4cddc17d470e34b2cb56a5de52380ba5605d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91c8efe86bb4fa541678694e4d84ab7ad18e8b429e193b358939d2b5f936a446 [INFO] running `Command { std: "docker" "start" "-a" "91c8efe86bb4fa541678694e4d84ab7ad18e8b429e193b358939d2b5f936a446", kill_on_drop: false }` [INFO] [stderr] Compiling react-server-action v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `noop` [INFO] [stdout] --> src/transform/validate.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[napi] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `napi` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `noop` [INFO] [stdout] --> src/transform/validate.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | #[napi] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `napi` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `noop` [INFO] [stdout] --> src/transform/validate.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | #[napi(string_enum)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `napi` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `noop` [INFO] [stdout] --> src/transform/react_server_action.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[napi] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `napi` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_assert` [INFO] [stdout] --> src/transform/react_server_action.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[napi] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `napi` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/transform/react_server_action.rs:522:15 [INFO] [stdout] | [INFO] [stdout] 522 | for stmt in &func.body { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 522 - for stmt in &func.body { [INFO] [stdout] 522 + while let Some(stmt) = &func.body { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 522 - for stmt in &func.body { [INFO] [stdout] 522 + if let Some(stmt) = &func.body { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.86s [INFO] running `Command { std: "docker" "inspect" "91c8efe86bb4fa541678694e4d84ab7ad18e8b429e193b358939d2b5f936a446", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91c8efe86bb4fa541678694e4d84ab7ad18e8b429e193b358939d2b5f936a446", kill_on_drop: false }` [INFO] [stdout] 91c8efe86bb4fa541678694e4d84ab7ad18e8b429e193b358939d2b5f936a446 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9db9ae1154204c9a137235183e316467b190a79a67d778d7105285311f1cf459 [INFO] running `Command { std: "docker" "start" "-a" "9db9ae1154204c9a137235183e316467b190a79a67d778d7105285311f1cf459", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `noop` [INFO] [stderr] --> src/transform/validate.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | #[napi] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `napi` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `noop` [INFO] [stderr] --> src/transform/validate.rs:46:1 [INFO] [stderr] | [INFO] [stderr] 46 | #[napi] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `napi` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `noop` [INFO] [stderr] --> src/transform/validate.rs:119:1 [INFO] [stderr] | [INFO] [stderr] 119 | #[napi(string_enum)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `napi` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `noop` [INFO] [stderr] --> src/transform/react_server_action.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | #[napi] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `napi` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `debug_assert` [INFO] [stderr] --> src/transform/react_server_action.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | #[napi] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `napi` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/transform/react_server_action.rs:522:15 [INFO] [stderr] | [INFO] [stderr] 522 | for stmt in &func.body { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 522 - for stmt in &func.body { [INFO] [stderr] 522 + while let Some(stmt) = &func.body { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 522 - for stmt in &func.body { [INFO] [stderr] 522 + if let Some(stmt) = &func.body { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `react-server-action` (lib test) generated 6 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/react_server_action-986105062cbd9cc8) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test transform::react_server_action::tests::test_client_import_rsc ... ok [INFO] [stdout] test transform::react_server_action::tests::test_vercel_ai_rsc ... ok [INFO] [stdout] test transform::react_server_action::tests::test_react_server_action ... ok [INFO] [stdout] test transform::validate::tests::client_side_isomorphic ... ok [INFO] [stdout] test transform::validate::tests::test_arrow_function ... ok [INFO] [stdout] test transform::react_server_action::tests::test_client_import_general_function ... ok [INFO] [stdout] test transform::react_server_action::tests::test_rsc_inside_component ... ok [INFO] [stdout] test transform::validate::tests::test_use_client_and_server_action ... ok [INFO] [stdout] test transform::validate::tests::test_use_server ... ok [INFO] [stdout] test transform::validate::tests::test_use_client ... ok [INFO] [stdout] test transform::validate::tests::test_use_server_and_client ... ok [INFO] [stdout] test transform::validate::tests::test_use_server_and_server_action_without_directive ... ok [INFO] [stdout] test transform::validate::tests::server_side_isomorphic ... ok [INFO] [stdout] test transform::validate::tests::server_side_nothing ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9db9ae1154204c9a137235183e316467b190a79a67d778d7105285311f1cf459", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9db9ae1154204c9a137235183e316467b190a79a67d778d7105285311f1cf459", kill_on_drop: false }` [INFO] [stdout] 9db9ae1154204c9a137235183e316467b190a79a67d778d7105285311f1cf459