Skip to content

Safari WASM CI tests failing #49

@rubenhensen

Description

@rubenhensen
2026-02-11T12:59:25.9309520Z ##[group]Run wasm-pack test --release --headless --safari ./pg-wasm
2026-02-11T12:59:25.9310030Z �[36;1mwasm-pack test --release --headless --safari ./pg-wasm�[0m
2026-02-11T12:59:25.9369510Z shell: /bin/bash -e {0}
2026-02-11T12:59:25.9369860Z env:
2026-02-11T12:59:25.9370110Z   WASM_BINDGEN_TEST_TIMEOUT: 120
2026-02-11T12:59:25.9370320Z ##[endgroup]
2026-02-11T12:59:36.9219710Z [INFO]: 🎯  Checking for the Wasm target...
2026-02-11T12:59:37.1469530Z info: downloading component 'rust-std' for 'wasm32-unknown-unknown'
2026-02-11T12:59:37.5298570Z info: installing component 'rust-std' for 'wasm32-unknown-unknown'
2026-02-11T12:59:39.8228830Z    Compiling unicode-ident v1.0.19
2026-02-11T12:59:39.8251700Z    Compiling proc-macro2 v1.0.101
2026-02-11T12:59:39.8273070Z    Compiling quote v1.0.41
2026-02-11T12:59:40.3985710Z    Compiling wasm-bindgen-shared v0.2.104
2026-02-11T13:02:02.8063910Z    Compiling rustversion v1.0.22
2026-02-11T13:02:03.4135380Z    Compiling bumpalo v3.19.0
2026-02-11T13:02:03.8839590Z    Compiling log v0.4.28
2026-02-11T13:02:04.5070240Z    Compiling syn v2.0.106
2026-02-11T13:02:05.9955620Z    Compiling wasm-bindgen v0.2.104
2026-02-11T13:02:06.3260790Z    Compiling cfg-if v1.0.3
2026-02-11T13:02:06.3999470Z    Compiling once_cell v1.21.3
2026-02-11T13:02:06.6325890Z    Compiling version_check v0.9.5
2026-02-11T13:02:07.1096640Z    Compiling typenum v1.19.0
2026-02-11T13:02:07.1207470Z    Compiling generic-array v0.14.8
2026-02-11T13:02:07.8923870Z    Compiling stable_deref_trait v1.2.1
2026-02-11T13:02:08.0243140Z    Compiling serde_core v1.0.228
2026-02-11T13:02:08.9172840Z    Compiling subtle v2.6.1
2026-02-11T13:02:09.7286920Z    Compiling serde v1.0.228
2026-02-11T13:02:10.6772840Z    Compiling wasm-bindgen-backend v0.2.104
2026-02-11T13:02:12.2213000Z    Compiling wasm-bindgen-macro-support v0.2.104
2026-02-11T13:02:12.5059090Z    Compiling synstructure v0.13.2
2026-02-11T13:02:12.7363450Z    Compiling zerovec-derive v0.11.1
2026-02-11T13:02:13.4160170Z    Compiling zerofrom-derive v0.1.6
2026-02-11T13:02:14.0166380Z    Compiling wasm-bindgen-macro v0.2.104
2026-02-11T13:02:16.2561910Z    Compiling yoke-derive v0.8.0
2026-02-11T13:02:17.4380430Z    Compiling zerofrom v0.1.6
2026-02-11T13:02:17.6822380Z    Compiling displaydoc v0.2.5
2026-02-11T13:02:18.5436930Z    Compiling js-sys v0.3.81
2026-02-11T13:02:19.0323590Z    Compiling yoke v0.8.0
2026-02-11T13:02:19.3058020Z    Compiling zerovec v0.11.4
2026-02-11T13:02:19.3164980Z    Compiling serde_derive v1.0.228
2026-02-11T13:02:20.4660690Z    Compiling tinystr v0.8.1
2026-02-11T13:02:20.6919190Z    Compiling writeable v0.6.1
2026-02-11T13:02:21.1977800Z    Compiling litemap v0.8.0
2026-02-11T13:02:21.4247660Z    Compiling icu_locale_core v2.0.0
2026-02-11T13:02:23.7543640Z    Compiling potential_utf v0.1.3
2026-02-11T13:02:23.9612550Z    Compiling getrandom v0.2.16
2026-02-11T13:02:24.3243870Z    Compiling rand_core v0.6.4
2026-02-11T13:02:24.5872100Z    Compiling crypto-common v0.1.6
2026-02-11T13:02:24.6558590Z    Compiling zerotrie v0.2.2
2026-02-11T13:02:24.7183610Z    Compiling radium v0.7.0
2026-02-11T13:02:25.1474770Z    Compiling icu_properties_data v2.0.1
2026-02-11T13:02:25.2329850Z    Compiling icu_normalizer_data v2.0.0
2026-02-11T13:02:25.4800450Z    Compiling icu_provider v2.0.0
2026-02-11T13:02:25.7976120Z    Compiling icu_collections v2.0.0
2026-02-11T13:02:25.9885400Z    Compiling futures-sink v0.3.31
2026-02-11T13:02:26.0959760Z    Compiling futures-core v0.3.31
2026-02-11T13:02:26.1730330Z    Compiling memchr v2.7.6
2026-02-11T13:02:26.2359490Z    Compiling tap v1.0.1
2026-02-11T13:02:26.3551180Z    Compiling wyz v0.5.1
2026-02-11T13:02:26.5846120Z    Compiling futures-channel v0.3.31
2026-02-11T13:02:26.9154360Z    Compiling futures-macro v0.3.31
2026-02-11T13:02:26.9487590Z    Compiling pin-project-lite v0.2.16
2026-02-11T13:02:27.0456190Z    Compiling zerocopy v0.8.27
2026-02-11T13:02:27.1724940Z    Compiling slab v0.4.11
2026-02-11T13:02:27.4321760Z    Compiling futures-task v0.3.31
2026-02-11T13:02:27.5929920Z    Compiling funty v2.0.0
2026-02-11T13:02:28.0290610Z    Compiling futures-io v0.3.31
2026-02-11T13:02:28.2259020Z    Compiling smallvec v1.15.1
2026-02-11T13:02:28.4374990Z    Compiling pin-utils v0.1.0
2026-02-11T13:02:28.4678330Z    Compiling icu_normalizer v2.0.0
2026-02-11T13:02:28.5049980Z    Compiling futures-util v0.3.31
2026-02-11T13:02:28.9537360Z    Compiling bitvec v1.0.1
2026-02-11T13:02:29.9968170Z    Compiling icu_properties v2.0.1
2026-02-11T13:02:32.3742300Z    Compiling inout v0.1.4
2026-02-11T13:02:32.5351890Z    Compiling itoa v1.0.15
2026-02-11T13:02:32.6687420Z    Compiling semver v1.0.27
2026-02-11T13:02:33.0050770Z    Compiling percent-encoding v2.3.2
2026-02-11T13:02:33.2257010Z    Compiling form_urlencoded v1.2.2
2026-02-11T13:02:33.4404260Z    Compiling rustc_version v0.4.1
2026-02-11T13:02:33.8593990Z    Compiling cipher v0.4.4
2026-02-11T13:02:33.9583180Z    Compiling ff v0.13.1
2026-02-11T13:02:34.0720210Z    Compiling idna_adapter v1.2.1
2026-02-11T13:02:34.2473660Z    Compiling universal-hash v0.5.1
2026-02-11T13:02:34.4370390Z    Compiling wasm-bindgen-futures v0.4.54
2026-02-11T13:02:34.6294980Z    Compiling block-buffer v0.10.4
2026-02-11T13:02:34.7954590Z    Compiling ryu v1.0.20
2026-02-11T13:02:34.9188110Z    Compiling serde_json v1.0.145
2026-02-11T13:02:35.3233130Z    Compiling opaque-debug v0.3.1
2026-02-11T13:02:35.4483200Z    Compiling utf8_iter v1.0.4
2026-02-11T13:02:35.6356430Z    Compiling crunchy v0.2.4
2026-02-11T13:02:35.8571720Z    Compiling idna v1.1.0
2026-02-11T13:02:36.5387480Z    Compiling polyval v0.6.2
2026-02-11T13:02:36.7488410Z    Compiling digest v0.10.7
2026-02-11T13:02:36.9560610Z    Compiling group v0.13.0
2026-02-11T13:02:37.1936780Z    Compiling curve25519-dalek v4.1.3
2026-02-11T13:02:37.5451450Z    Compiling ppv-lite86 v0.2.21
2026-02-11T13:02:37.9712750Z    Compiling web-sys v0.3.81
2026-02-11T13:02:37.9822340Z    Compiling zeroize_derive v1.4.2
2026-02-11T13:02:38.8391480Z    Compiling tiny-keccak v2.0.2
2026-02-11T13:02:39.1441820Z    Compiling fnv v1.0.7
2026-02-11T13:02:39.2488640Z    Compiling bytes v1.10.1
2026-02-11T13:02:39.7034770Z    Compiling thiserror v1.0.69
2026-02-11T13:02:40.6857740Z    Compiling http v0.2.12
2026-02-11T13:02:40.8111210Z    Compiling zeroize v1.8.2
2026-02-11T13:02:41.1037220Z    Compiling rand_chacha v0.3.1
2026-02-11T13:02:42.8688400Z    Compiling pairing v0.23.0
2026-02-11T13:02:42.9497590Z    Compiling ghash v0.5.1
2026-02-11T13:02:43.0738160Z    Compiling url v2.5.7
2026-02-11T13:02:45.4144260Z    Compiling serde_urlencoded v0.7.1
2026-02-11T13:02:45.6802590Z    Compiling ctr v0.9.2
2026-02-11T13:02:45.9218510Z    Compiling aes v0.8.4
2026-02-11T13:02:45.9546560Z    Compiling aead v0.5.2
2026-02-11T13:02:46.0123580Z    Compiling thiserror-impl v1.0.69
2026-02-11T13:02:46.1884320Z    Compiling base64 v0.21.7
2026-02-11T13:02:46.8713470Z    Compiling keccak v0.1.5
2026-02-11T13:02:47.1078790Z    Compiling sync_wrapper v0.1.2
2026-02-11T13:02:47.2008120Z    Compiling tower-service v0.3.3
2026-02-11T13:02:47.3031930Z    Compiling reqwest v0.11.27
2026-02-11T13:02:47.3134760Z    Compiling sha3 v0.10.8
2026-02-11T13:02:47.9118500Z    Compiling aes-gcm v0.10.3
2026-02-11T13:02:48.6196160Z    Compiling pg-curve v0.2.0
2026-02-11T13:02:48.9959590Z    Compiling rand v0.8.5
2026-02-11T13:02:50.6615900Z    Compiling futures-executor v0.3.31
2026-02-11T13:02:51.2758380Z    Compiling arrayref v0.3.9
2026-02-11T13:02:51.3575810Z    Compiling ibe v0.3.0
2026-02-11T13:02:52.0494180Z    Compiling futures v0.3.31
2026-02-11T13:02:52.1454020Z    Compiling ibs v0.4.0
2026-02-11T13:02:52.7388580Z    Compiling irma v0.2.1
2026-02-11T13:02:53.1969350Z    Compiling bincode v1.3.3
2026-02-11T13:02:53.7178510Z    Compiling base64ct v1.8.0
2026-02-11T13:02:53.7284900Z    Compiling wasm-streams v0.3.0
2026-02-11T13:02:54.2515150Z    Compiling pg-core v0.3.0 (/Users/runner/work/postguard/postguard/pg-core)
2026-02-11T13:02:54.7839030Z warning: use of deprecated method `web_sys::AesGcmParams::additional_data`: Use `set_additional_data()` instead.
2026-02-11T13:02:54.7844820Z   --> pg-core/src/client/web/aesgcm.rs:56:10
2026-02-11T13:02:54.7914290Z    |
2026-02-11T13:02:54.8015980Z 56 |     pars.additional_data(aad);
2026-02-11T13:02:54.8118070Z    |          ^^^^^^^^^^^^^^^
2026-02-11T13:02:54.8219520Z    |
2026-02-11T13:02:54.8321160Z    = note: `#[warn(deprecated)]` on by default
2026-02-11T13:02:54.8422420Z 
2026-02-11T13:02:54.8566350Z warning: use of deprecated method `web_sys::AesGcmParams::tag_length`: Use `set_tag_length()` instead.
2026-02-11T13:02:54.8689210Z   --> pg-core/src/client/web/aesgcm.rs:57:10
2026-02-11T13:02:54.8798240Z    |
2026-02-11T13:02:54.8908660Z 57 |     pars.tag_length((TAG_SIZE * 8).try_into().unwrap()); // This can never fail, since the input is
2026-02-11T13:02:54.8999790Z    |          ^^^^^^^^^^
2026-02-11T13:02:54.9120850Z 
2026-02-11T13:02:54.9257140Z warning: use of deprecated method `web_sys::AesGcmParams::additional_data`: Use `set_additional_data()` instead.
2026-02-11T13:02:54.9366280Z   --> pg-core/src/client/web/aesgcm.rs:80:10
2026-02-11T13:02:54.9468540Z    |
2026-02-11T13:02:54.9570640Z 80 |     pars.additional_data(aad);
2026-02-11T13:02:54.9729480Z    |          ^^^^^^^^^^^^^^^
2026-02-11T13:02:54.9861390Z 
2026-02-11T13:02:54.9970280Z warning: use of deprecated method `web_sys::AesGcmParams::tag_length`: Use `set_tag_length()` instead.
2026-02-11T13:02:55.0075010Z   --> pg-core/src/client/web/aesgcm.rs:81:10
2026-02-11T13:02:55.0178410Z    |
2026-02-11T13:02:55.0281730Z 81 |     pars.tag_length((TAG_SIZE * 8).try_into().unwrap());
2026-02-11T13:02:55.0385030Z    |          ^^^^^^^^^^
2026-02-11T13:02:55.0488270Z 
2026-02-11T13:02:58.1113390Z    Compiling serde-wasm-bindgen v0.6.5
2026-02-11T13:02:58.3117190Z warning: `pg-core` (lib) generated 4 warnings
2026-02-11T13:02:58.3299470Z    Compiling wasm-bindgen-test-macro v0.3.54
2026-02-11T13:02:59.5827020Z    Compiling wasm-bindgen-test v0.3.54
2026-02-11T13:03:00.2202160Z    Compiling pg-wasm v0.3.0 (/Users/runner/work/postguard/postguard/pg-wasm)
2026-02-11T13:03:06.3528840Z warning: this method call resolves to `<&Box<[T]> as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<Box<[T]> as IntoIterator>::into_iter` in Rust 2024
2026-02-11T13:03:06.3632410Z   --> pg-wasm/tests/helpers.rs:44:14
2026-02-11T13:03:06.3735190Z    |
2026-02-11T13:03:06.3837420Z 44 |             .into_iter()
2026-02-11T13:03:06.3966750Z    |              ^^^^^^^^^
2026-02-11T13:03:06.4068840Z    |
2026-02-11T13:03:06.4170540Z    = warning: this changes meaning in Rust 2024
2026-02-11T13:03:06.5156520Z    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/intoiterator-box-slice.html>
2026-02-11T13:03:06.5158330Z    = note: `#[warn(boxed_slice_into_iter)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
2026-02-11T13:03:06.5260620Z help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
2026-02-11T13:03:06.5362410Z    |
2026-02-11T13:03:06.5464200Z 44 -             .into_iter()
2026-02-11T13:03:06.5571640Z 44 +             .iter()
2026-02-11T13:03:06.5673070Z    |
2026-02-11T13:03:06.5773460Z help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value
2026-02-11T13:03:06.5874880Z    |
2026-02-11T13:03:06.5976010Z 42 ~         IntoIterator::into_iter(self.raw
2026-02-11T13:03:06.6078420Z 43 ~             .written())
2026-02-11T13:03:06.6180420Z    |
2026-02-11T13:03:06.6281180Z 
2026-02-11T13:03:11.8231880Z warning: `pg-wasm` (test "helpers") generated 1 warning (run `cargo fix --test "helpers" -p pg-wasm` to apply 1 suggestion)
2026-02-11T13:03:21.2628650Z warning: `pg-wasm` (test "tests") generated 1 warning (1 duplicate)
2026-02-11T13:03:21.2725310Z     Finished `release` profile [optimized] target(s) in 3m 41s
2026-02-11T13:03:21.3878400Z [INFO]: ⬇️  Installing wasm-bindgen...
2026-02-11T13:03:23.6115700Z warning: use of deprecated method `web_sys::AesGcmParams::additional_data`: Use `set_additional_data()` instead.
2026-02-11T13:03:23.6144490Z   --> pg-core/src/client/web/aesgcm.rs:56:10
2026-02-11T13:03:23.6284100Z    |
2026-02-11T13:03:23.6385280Z 56 |     pars.additional_data(aad);
2026-02-11T13:03:23.6488370Z    |          ^^^^^^^^^^^^^^^
2026-02-11T13:03:23.6590250Z    |
2026-02-11T13:03:23.6693090Z    = note: `#[warn(deprecated)]` on by default
2026-02-11T13:03:23.6794400Z 
2026-02-11T13:03:23.6897580Z warning: use of deprecated method `web_sys::AesGcmParams::tag_length`: Use `set_tag_length()` instead.
2026-02-11T13:03:23.6901070Z   --> pg-core/src/client/web/aesgcm.rs:57:10
2026-02-11T13:03:23.7002030Z    |
2026-02-11T13:03:23.7004650Z 57 |     pars.tag_length((TAG_SIZE * 8).try_into().unwrap()); // This can never fail, since the input is
2026-02-11T13:03:23.7105680Z    |          ^^^^^^^^^^
2026-02-11T13:03:23.7206810Z 
2026-02-11T13:03:23.7396600Z warning: use of deprecated method `web_sys::AesGcmParams::additional_data`: Use `set_additional_data()` instead.
2026-02-11T13:03:23.7497720Z   --> pg-core/src/client/web/aesgcm.rs:80:10
2026-02-11T13:03:23.7606880Z    |
2026-02-11T13:03:23.7708300Z 80 |     pars.additional_data(aad);
2026-02-11T13:03:23.7815330Z    |          ^^^^^^^^^^^^^^^
2026-02-11T13:03:23.7922680Z 
2026-02-11T13:03:23.8050610Z warning: use of deprecated method `web_sys::AesGcmParams::tag_length`: Use `set_tag_length()` instead.
2026-02-11T13:03:23.8163410Z   --> pg-core/src/client/web/aesgcm.rs:81:10
2026-02-11T13:03:23.8266930Z    |
2026-02-11T13:03:23.8368320Z 81 |     pars.tag_length((TAG_SIZE * 8).try_into().unwrap());
2026-02-11T13:03:23.8481440Z    |          ^^^^^^^^^^
2026-02-11T13:03:23.8584740Z 
2026-02-11T13:03:23.8702670Z warning: `pg-core` (lib) generated 4 warnings
2026-02-11T13:03:23.8807140Z warning: this method call resolves to `<&Box<[T]> as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<Box<[T]> as IntoIterator>::into_iter` in Rust 2024
2026-02-11T13:03:23.8914270Z   --> pg-wasm/tests/helpers.rs:44:14
2026-02-11T13:03:23.9015890Z    |
2026-02-11T13:03:23.9120710Z 44 |             .into_iter()
2026-02-11T13:03:23.9222280Z    |              ^^^^^^^^^
2026-02-11T13:03:23.9323340Z    |
2026-02-11T13:03:23.9453180Z    = warning: this changes meaning in Rust 2024
2026-02-11T13:03:23.9554860Z    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/intoiterator-box-slice.html>
2026-02-11T13:03:23.9681610Z    = note: `#[warn(boxed_slice_into_iter)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
2026-02-11T13:03:23.9789800Z help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
2026-02-11T13:03:23.9891640Z    |
2026-02-11T13:03:23.9993560Z 44 -             .into_iter()
2026-02-11T13:03:24.0100330Z 44 +             .iter()
2026-02-11T13:03:24.0203080Z    |
2026-02-11T13:03:24.0307060Z help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value
2026-02-11T13:03:24.0378620Z    |
2026-02-11T13:03:24.0483090Z 42 ~         IntoIterator::into_iter(self.raw
2026-02-11T13:03:24.0585360Z 43 ~             .written())
2026-02-11T13:03:24.0687140Z    |
2026-02-11T13:03:24.0787890Z 
2026-02-11T13:03:24.0897650Z warning: `pg-wasm` (test "tests") generated 1 warning (run `cargo fix --test "tests" -p pg-wasm` to apply 1 suggestion)
2026-02-11T13:03:24.1003050Z warning: `pg-wasm` (test "helpers") generated 1 warning (1 duplicate)
2026-02-11T13:03:24.1111910Z     Finished `release` profile [optimized] target(s) in 1.45s
2026-02-11T13:03:24.1214270Z      Running unittests src/lib.rs (/Users/runner/work/postguard/postguard/target/wasm32-unknown-unknown/release/deps/pg_wasm-b412d7565132b142.wasm)
2026-02-11T13:03:25.3253860Z no tests to run!
2026-02-11T13:03:25.3357220Z      Running tests/helpers.rs (/Users/runner/work/postguard/postguard/target/wasm32-unknown-unknown/release/deps/helpers-12fc53c07f64c6a2.wasm)
2026-02-11T13:03:25.6255040Z                                                   
2026-02-11T13:03:25.6287250Z      Running tests/tests.rs (/Users/runner/work/postguard/postguard/target/wasm32-unknown-unknown/release/deps/tests-edd709fd2a570ad8.wasm)
2026-02-11T13:03:25.6477170Z no tests to run!
2026-02-11T13:03:25.9075370Z                                                   
2026-02-11T13:03:25.9176720Z Set timeout to 120 seconds...
2026-02-11T13:03:26.3233350Z Executing bindgen...                              
2026-02-11T13:03:31.4978300Z Error: driver failed to bind port during startup
2026-02-11T13:03:31.4979530Z                                                   
2026-02-11T13:03:31.5083000Z error: test failed, to rerun pass `--test tests`
2026-02-11T13:03:31.5083830Z                                                   
2026-02-11T13:03:31.5185670Z 
2026-02-11T13:03:31.5186160Z driver status: signal: 9 (SIGKILL)
2026-02-11T13:03:31.5293130Z Caused by:
2026-02-11T13:03:31.5398110Z   process didn't exit successfully: `/Users/runner/Library/Caches/.wasm-pack/wasm-bindgen-554d38e6b084304a/wasm-bindgen-test-runner /Users/runner/work/postguard/postguard/target/wasm32-unknown-unknown/release/deps/tests-edd709fd2a570ad8.wasm` (exit status: 1)
2026-02-11T13:03:31.5508900Z note: test exited abnormally; to see the full output pass --no-capture to the harness.
2026-02-11T13:03:31.5671900Z Error: Running Wasm tests with wasm-bindgen-test failed
2026-02-11T13:03:31.5672640Z                                                   
2026-02-11T13:03:31.5761950Z Caused by: Running Wasm tests with wasm-bindgen-test failed
2026-02-11T13:03:31.5863430Z Caused by: failed to execute `cargo test`: exited with exit status: 1
2026-02-11T13:03:31.5967790Z   full command: cd "./pg-wasm" && CARGO_TARGET_WASM32_UNKNOWN_UNKNOWN_RUNNER="/Users/runner/Library/Caches/.wasm-pack/wasm-bindgen-554d38e6b084304a/wasm-bindgen-test-runner" SAFARIDRIVER="/usr/bin/safaridriver" WASM_BINDGEN_TEST_ONLY_WEB="1" "cargo" "test" "--release" "--target" "wasm32-unknown-unknown"
2026-02-11T13:03:31.6100000Z ##[error]Process completed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions