elastic-arm-116169ba: building g8q7kvmazmw00rw6fasllm89v6cxqwcx-opencode-browse-0.1.5.drv Using versionCheckHook Running phase: unpackPhase unpacking source archive /nix/store/xqckvlk7aar6mkpl29xybzyicdm9mhhb-source source root is source Executing cargoSetupPostUnpackHook Finished cargoSetupPostUnpackHook Running phase: patchPhase applying patch /nix/store/p8b07iyxgxn77k7a1khp61qs0sl9s4yq-relay-read-unread-body.patch patching file rust/crates/browse-relay/src/serve.rs patching file rust/crates/browse-relay/src/tests.rs Executing cargoSetupPostPatchHook Validating consistency between /build/source/rust/Cargo.lock and /build/opencode-browse-0.1.5-vendor/Cargo.lock Finished cargoSetupPostPatchHook Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase Running phase: buildPhase Executing cargoBuildHook /build/source/rust /build/source cargoBuildHook flags: -j 16 --target aarch64-unknown-linux-gnu --offline --profile release -p browse Compiling proc-macro2 v1.0.107 Compiling unicode-ident v1.0.27 Compiling quote v1.0.47 Compiling libc v0.2.191 Compiling cfg-if v1.0.5 Compiling zeroize v1.9.1 Compiling version_check v0.9.5 Compiling subtle v2.6.1 Compiling typenum v1.20.1 Compiling itoa v1.0.19 Compiling log v0.4.35 Compiling smallvec v1.16.5 Compiling bytes v1.12.1 Compiling find-msvc-tools v0.1.15 Compiling stable_deref_trait v1.2.1 Compiling shlex v2.0.1 Compiling parking_lot_core v0.9.12 Compiling pin-project-lite v0.2.17 Compiling foldhash v0.2.0 Compiling allocator-api2 v0.2.21 Compiling scopeguard v1.2.0 Compiling cc v1.11.2 Compiling equivalent v1.0.3 Compiling serde_core v1.0.229 Compiling lock_api v0.4.14 Compiling thiserror v2.0.21 Compiling memchr v2.8.3 Compiling httparse v1.10.1 Compiling writeable v0.6.4 Compiling zmij v1.0.23 Compiling zerocopy v0.8.63 Compiling serde v1.0.229 Compiling generic-array v0.14.9 Compiling utf_types v1.0.0 Compiling litemap v0.8.3 Compiling getrandom v0.3.4 Compiling hashbrown v0.17.1 Compiling futures-core v0.3.34 Compiling icu_properties_data v2.4.0 Compiling once_cell v1.21.4 Compiling serde_json v1.0.154 Compiling icu_normalizer_data v2.4.0 Compiling anyhow v1.0.104 Compiling utf8_iter v1.1.0 Compiling simd-adler32 v0.3.10 Compiling const-oid v0.9.6 Compiling http v1.5.0 Compiling der v0.7.10 Compiling adler2 v2.0.1 Compiling base16ct v0.2.0 Compiling base64 v0.22.1 Compiling crc32fast v1.5.5 Compiling tracing-core v0.1.36 Compiling rustls-pki-types v1.16.0 Compiling percent-encoding v2.3.2 Compiling syn v3.0.10 Compiling syn v2.0.119 Compiling futures-task v0.3.34 Compiling untrusted v0.9.0 Compiling slab v0.4.12 Compiling bitflags v2.13.2 Compiling indexmap v2.14.2 Compiling signal-hook v0.3.18 Compiling futures-sink v0.3.34 Compiling futures-util v0.3.34 Compiling miniz_oxide v0.9.1 Compiling aho-corasick v1.1.5 Compiling block-buffer v0.10.4 Compiling crypto-common v0.1.6 Compiling httpdate v1.0.3 Compiling regex-syntax v0.8.11 Compiling errno v0.3.15 Compiling getrandom v0.2.17 Compiling signal-hook-registry v1.4.8 Compiling digest v0.10.7 Compiling mio v1.2.5 Compiling socket2 v0.6.5 Compiling rand_core v0.6.4 Compiling ring v0.17.14 Compiling parking_lot v0.12.5 Compiling hmac v0.12.1 Compiling ff v0.13.1 Compiling rquickjs-sys v0.14.0 Compiling rand_core v0.9.5 Compiling cpufeatures v0.2.17 Compiling group v0.13.0 Compiling hkdf v0.12.4 Compiling crypto-bigint v0.5.5 Compiling sec1 v0.7.3 Compiling http-body v1.1.0 Compiling sha1 v0.10.7 Compiling rustix v1.1.6 Compiling rustls v0.23.46 Compiling data-encoding v2.11.1 Compiling utf-8 v0.7.6 Compiling atomic-waker v1.1.2 Compiling regex-lite v0.1.9 Compiling flate2 v1.1.11 Compiling form_urlencoded v1.2.2 Compiling miniz_oxide v0.8.9 Compiling regex-automata v0.4.18 Compiling fdeflate v0.3.7 Compiling base64 v0.23.1 Compiling winnow v1.0.5 Compiling litrs v1.0.1 Compiling elliptic-curve v0.13.8 Compiling linux-raw-sys v0.12.1 Compiling ureq-proto v0.7.1 Compiling png v0.18.1 Compiling primeorder v0.13.6 Compiling signal-hook-mio v0.2.5 Compiling document-features v0.2.12 Compiling http-body-util v0.1.5 Compiling p256 v0.13.2 Compiling sha2 v0.10.9 Compiling pbkdf2 v0.12.2 Compiling webpki-roots v1.0.12 Compiling ryu v1.0.23 Compiling toml_datetime v1.1.3+spec-1.1.0 Compiling unsafe-libyaml v0.2.11 Compiling toml_writer v1.2.0+spec-1.1.0 Compiling utf8-zero v0.8.1 Compiling toml_parser v1.1.5+spec-1.1.0 Compiling crossterm v0.29.0 Compiling synstructure v0.14.0 Compiling ppv-lite86 v0.2.21 Compiling tracing-attributes v0.1.31 Compiling toml_edit v0.25.19+spec-1.1.0 Compiling rand_chacha v0.9.0 Compiling rand v0.9.5 Compiling regex v1.13.1 Compiling zerofrom-derive v0.1.8 Compiling yoke-derive v0.8.4 Compiling zerovec-derive v0.11.7 Compiling displaydoc v0.2.7 Compiling tokio-macros v2.7.2 Compiling thiserror-impl v2.0.21 Compiling serde_derive v1.0.229 Compiling async-trait v0.1.92 Compiling rustls-webpki v0.103.17 Compiling tokio v1.54.1 Compiling tracing v0.1.44 Compiling zerofrom v0.1.8 Compiling yoke v0.8.4 Compiling tungstenite v0.27.0 Compiling zerovec v0.11.9 Compiling zerotrie v0.2.5 Compiling tinystr v0.8.5 Compiling potential_utf v0.1.6 Compiling icu_collections v2.4.0 Compiling icu_locale_core v2.4.0 Compiling icu_provider v2.4.0 Compiling serde_yaml v0.9.34+deprecated Compiling icu_normalizer v2.4.0 Compiling icu_properties v2.4.0 Compiling idna_adapter v1.2.2 Compiling idna v1.1.0 Compiling url v2.5.8 Compiling ureq v3.5.2 Compiling browse-core v0.1.5 (/build/source/rust/crates/browse-core) Compiling hyper v1.12.0 Compiling tokio-tungstenite v0.27.0 Compiling browse-page v0.1.5 (/build/source/rust/crates/browse-page) Compiling hyper-util v0.1.21 Compiling browse-relay v0.1.5 (/build/source/rust/crates/browse-relay) Compiling browse-capture v0.1.5 (/build/source/rust/crates/browse-capture) Compiling rquickjs-core v0.14.0 Compiling rquickjs v0.14.0 Compiling browse-script v0.1.5 (/build/source/rust/crates/browse-script) Compiling browse v0.1.5 (/build/source/rust/crates/browse) Finished `release` profile [optimized] target(s) in 1m 30s /build/source Executing cargoInstallPostBuildHook Finished cargoInstallPostBuildHook Finished cargoBuildHook buildPhase completed in 1 minutes 30 seconds Running phase: checkPhase Executing cargoCheckHook /build/source/rust /build/source cargoCheckHook flags: -j 16 --profile release --target aarch64-unknown-linux-gnu --offline -- Compiling cfg-if v1.0.5 Compiling zeroize v1.9.1 Compiling itoa v1.0.19 Compiling log v0.4.35 Compiling subtle v2.6.1 Compiling libc v0.2.191 Compiling smallvec v1.16.5 Compiling bytes v1.12.1 Compiling typenum v1.20.1 Compiling pin-project-lite v0.2.17 Compiling scopeguard v1.2.0 Compiling syn v2.0.119 Compiling allocator-api2 v0.2.21 Compiling foldhash v0.2.0 Compiling equivalent v1.0.3 Compiling memchr v2.8.3 Compiling futures-macro v0.3.34 Compiling lock_api v0.4.14 Compiling serde_core v1.0.229 Compiling zerocopy v0.8.63 Compiling thiserror v2.0.21 Compiling httparse v1.10.1 Compiling zmij v1.0.23 Compiling futures-core v0.3.34 Compiling anyhow v1.0.104 Compiling once_cell v1.21.4 Compiling base64 v0.22.1 Compiling zerofrom v0.1.8 Compiling utf-8 v0.7.6 Compiling stable_deref_trait v1.2.1 Compiling futures-task v0.3.34 Compiling data-encoding v2.11.1 Compiling futures-sink v0.3.34 Compiling hashbrown v0.17.1 Compiling slab v0.4.12 Compiling yoke v0.8.4 Compiling tracing-core v0.1.36 Compiling regex-lite v0.1.9 Compiling simd-adler32 v0.3.10 Compiling zerovec v0.11.9 Compiling adler2 v2.0.1 Compiling writeable v0.6.4 Compiling litemap v0.8.3 Compiling bitflags v2.13.2 Compiling http v1.5.0 Compiling futures-util v0.3.34 Compiling generic-array v0.14.9 Compiling utf_types v1.0.0 Compiling miniz_oxide v0.9.1 Compiling zerotrie v0.2.5 Compiling aho-corasick v1.1.5 Compiling utf8_iter v1.1.0 Compiling indexmap v2.14.2 Compiling crc32fast v1.5.5 Compiling regex-syntax v0.8.11 Compiling miniz_oxide v0.8.9 Compiling errno v0.3.15 Compiling mio v1.2.5 Compiling signal-hook-registry v1.4.8 Compiling block-buffer v0.10.4 Compiling crypto-common v0.1.6 Compiling parking_lot_core v0.9.12 Compiling getrandom v0.2.17 Compiling digest v0.10.7 Compiling parking_lot v0.12.5 Compiling socket2 v0.6.5 Compiling rand_core v0.6.4 Compiling cpufeatures v0.2.17 Compiling getrandom v0.3.4 Compiling sha1 v0.10.7 Compiling tinystr v0.8.5 Compiling rand_core v0.9.5 Compiling potential_utf v0.1.6 Compiling hmac v0.12.1 Compiling fdeflate v0.3.7 Compiling icu_locale_core v2.4.0 Compiling icu_collections v2.4.0 Compiling const-oid v0.9.6 Compiling flate2 v1.1.11 Compiling ff v0.13.1 Compiling tokio v1.54.1 Compiling der v0.7.10 Compiling icu_properties_data v2.4.0 Compiling icu_normalizer_data v2.4.0 Compiling base16ct v0.2.0 Compiling group v0.13.0 Compiling hkdf v0.12.4 Compiling crypto-bigint v0.5.5 Compiling http-body v1.1.0 Compiling rquickjs-sys v0.14.0 Compiling thiserror v1.0.69 Compiling regex-automata v0.4.18 Compiling png v0.18.1 Compiling percent-encoding v2.3.2 Compiling rquickjs-core v0.14.0 Compiling atomic-waker v1.1.2 Compiling httpdate v1.0.3 Compiling form_urlencoded v1.2.2 Compiling rustls-pki-types v1.16.0 Compiling serde v1.0.229 Compiling serde_json v1.0.154 Compiling byteorder v1.5.0 Compiling icu_provider v2.4.0 Compiling sec1 v0.7.3 Compiling icu_properties v2.4.0 Compiling icu_normalizer v2.4.0 Compiling untrusted v0.9.0 Compiling ring v0.17.14 Compiling http-body-util v0.1.5 Compiling pbkdf2 v0.12.2 Compiling sha2 v0.10.9 Compiling elliptic-curve v0.13.8 Compiling signal-hook v0.3.18 Compiling base64 v0.23.1 Compiling primeorder v0.13.6 Compiling linux-raw-sys v0.12.1 Compiling winnow v1.0.5 Compiling signal-hook-mio v0.2.5 Compiling webpki-roots v1.0.12 Compiling toml_writer v1.2.0+spec-1.1.0 Compiling ryu v1.0.23 Compiling toml_datetime v1.1.3+spec-1.1.0 Compiling p256 v0.13.2 Compiling rquickjs v0.14.0 Compiling ureq-proto v0.7.1 Compiling utf8-zero v0.8.1 Compiling unsafe-libyaml v0.2.11 Compiling jpeg-encoder v0.6.1 Compiling ppv-lite86 v0.2.21 Compiling rustix v1.1.6 Compiling idna_adapter v1.2.2 Compiling idna v1.1.0 Compiling rand_chacha v0.9.0 Compiling rand_chacha v0.3.1 Compiling tracing-attributes v0.1.31 Compiling thiserror-impl v1.0.69 Compiling rustls-webpki v0.103.17 Compiling rand v0.9.5 Compiling regex v1.13.1 Compiling rand v0.8.8 Compiling tungstenite v0.27.0 Compiling url v2.5.8 Compiling rustls v0.23.46 Compiling toml_parser v1.1.5+spec-1.1.0 Compiling crossterm v0.29.0 Compiling serde_yaml v0.9.34+deprecated Compiling tokio-tungstenite v0.27.0 Compiling tracing v0.1.44 Compiling browse-relay v0.1.5 (/build/source/rust/crates/browse-relay) Compiling toml_edit v0.25.19+spec-1.1.0 Compiling browse-page v0.1.5 (/build/source/rust/crates/browse-page) Compiling tungstenite v0.24.0 Compiling browse-core v0.1.5 (/build/source/rust/crates/browse-core) Compiling hyper v1.12.0 Compiling tokio-tungstenite v0.24.0 Compiling hyper-util v0.1.21 Compiling ureq v3.5.2 Compiling browse-capture v0.1.5 (/build/source/rust/crates/browse-capture) Compiling browse-script v0.1.5 (/build/source/rust/crates/browse-script) Compiling browse v0.1.5 (/build/source/rust/crates/browse) Finished `release` profile [optimized] target(s) in 1m 29s Running unittests src/main.rs (/build/source/target/aarch64-unknown-linux-gnu/release/deps/browse-4424419406767dec) running 53 tests test agents::tests::names_and_aliases ... ok test agents::tests::owned_entries ... ok test cli::tests::a_given_tab_is_never_filled_by_a_positional ... ok test cli::tests::boolean_flags_take_a_following_true_or_false ... ok test cli::tests::positional_enum_values_and_tabs_still_fill ... ok test cli::tests::positionals ... ok test cli::tests::required_options_take_free_words_even_for_enums ... ok test cli::tests::coercion ... ok test cli::tests::tabs_new_takes_a_boolean_after_its_url ... ok test cli::tests::globals_before_the_tool ... ok test cli::tests::stray_positionals_are_unexpected_arguments ... ok test cli::tests::tab_flag_keeps_numbers_and_passes_chosen_ids ... ok test dsh::tests::leaves_foreign_rows ... ok test dsh::tests::home_and_location ... ok test dsh::tests::bom_files ... ok test install::tests::flags ... ok test install::tests::plans ... ok test jsonc::tests::creates_missing_objects ... ok test jsonc::tests::edits_keep_comments ... ok test agents::tests::workbuddy_and_trae_cn_use_plain_mcp_servers ... ok test mcp::tests::modern_lists_carry_the_era_fields ... ok test agents::tests::workbuddy_and_trae_cn_config_paths ... ok test dsh::tests::patch_file ... ok test dsh::tests::keeps_comments_and_tags_elsewhere ... ok test method::tests::every_method_names_its_update_command_and_an_old_extension_s_kind ... ok test dsh::tests::document_header ... ok test picker::tests::fuzzy_search ... ok test agents::tests::toml_keeps_comments ... ok test dsh::tests::round_trips_bytes ... ok test agents::tests::json_keeps_comments_and_other_servers ... ok test dsh::tests::update_edits_only_config_values ... ok test dsh::tests::named_insert_patch ... ok test dsh::tests::update_allows_hash_in_command ... ok test agents::tests::yaml_keeps_comments ... ok test update::tests::a_version_missing_from_the_registry_is_a_wait_not_a_failure ... ok test update::tests::checks_name_the_install_kind_in_the_user_agent ... ok test update::tests::every_install_but_a_checkout_checks_in ... ok test update::tests::npm_errors_keep_the_gist ... ok test dsh::tests::rows_between_others ... ok test update::tests::other_tools_errors_keep_the_gist ... ok test setup::tests::opencode_gets_one_pooled_server_with_an_absolute_home_cwd ... ok test update::tests::packages_follow_their_dist_tag_by_equality ... ok test protocol::tests::every_release_protocol_decision_vector_passes ... ok test setup::tests::an_unreadable_or_non_utf8_opencode_config_is_left_alone ... ok test dsh::tests::update_refuses_unsafe_rows ... ok test setup::tests::an_opencode_config_with_a_byte_order_mark_is_updated_in_place ... ok test setup::tests::path_line_is_appended_to_a_startup_file_that_isnt_utf8 ... ok test setup::tests::an_opencode_entry_with_the_old_tilde_cwd_is_repaired_on_install ... ok test method::tests::a_platform_package_after_an_update ... ok test method::tests::each_manager_installs_into_its_own_folder ... ok test dsh::tests::empty_files ... ok test method::tests::detects_the_binary_a_checkout_and_anything_else ... ok test method::tests::detects_every_install_layout ... ok test result: ok. 53 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s Running tests/mcp_protocol.rs (/build/source/target/aarch64-unknown-linux-gnu/release/deps/mcp_protocol-5538b91f8517df44) running 1 test test mcp_speaks_both_eras_and_shares_tabs_across_connections ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s Running tests/package_update.rs (/build/source/target/aarch64-unknown-linux-gnu/release/deps/package_update-d0839752850025fb) running 10 tests test an_unrecognized_install_checks_in_and_installs_nothing ... FAILED test binary_install_checks_the_release_service ... FAILED test npx_run_checks_the_release_service ... ok test updates_off_still_checks_and_installs_nothing ... FAILED test npm_global_install_waits_quietly_when_npm_lags_the_release ... ok test bun_global_install ... ok test yarn_global_install ... ok test npm_global_install ... ok test a_relay_with_no_special_environment_checks_at_launch_and_stays_up ... FAILED test a_relay_updates_without_curl has been running for over 60 seconds test a_relay_updates_without_curl ... FAILED failures: ---- an_unrecognized_install_checks_in_and_installs_nothing stdout ---- thread 'an_unrecognized_install_checks_in_and_installs_nothing' (3706) panicked at crates/browse/tests/package_update.rs:541:55: called `Result::unwrap()` on an `Err` value: Os { code: 13, kind: PermissionDenied, message: "Permission denied" } note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ---- binary_install_checks_the_release_service stdout ---- thread 'binary_install_checks_the_release_service' (3707) panicked at crates/browse/tests/package_update.rs:301:5: Output { status: ExitStatus(unix_wait_status(0)), stdout: "browse 99.0.0 is out, but not for this install yet. Running 0.1.5.\n", stderr: "" } ---- updates_off_still_checks_and_installs_nothing stdout ---- thread 'updates_off_still_checks_and_installs_nothing' (3712) panicked at crates/browse/tests/package_update.rs:505:5: assertion `left == right` failed left: Null right: "99.0.0" ---- a_relay_with_no_special_environment_checks_at_launch_and_stays_up stdout ---- thread 'a_relay_with_no_special_environment_checks_at_launch_and_stays_up' (3705) panicked at crates/browse/tests/package_update.rs:119:9: timed out waiting for the install ---- a_relay_updates_without_curl stdout ---- thread 'a_relay_updates_without_curl' (3704) panicked at crates/browse/tests/package_update.rs:119:9: timed out waiting for the relay to restart on the new binary failures: a_relay_updates_without_curl a_relay_with_no_special_environment_checks_at_launch_and_stays_up an_unrecognized_install_checks_in_and_installs_nothing binary_install_checks_the_release_service updates_off_still_checks_and_installs_nothing test result: FAILED. 5 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 60.03s error: test failed, to rerun pass `-p browse --test package_update`