The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build RealmDatabase, reference v20.1.2 (3aba88), with Swift 6.1 for Wasm on 30 May 2025 04:32:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/realm/realm-core.git
Reference: v20.1.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/realm/realm-core
 * tag               v20.1.2    -> FETCH_HEAD
HEAD is now at 3aba889 Prepare for release 20.1.2
Submodule path 'src/external/sha-1': checked out 'd9ae30f34095107ece9dceb224839f0dc2f9c1c7'
Submodule path 'src/external/sha-2': checked out '0e9aebf34101c6aa89355fd76ac9cd886735dee1'
Submodule path 'test/external/catch': checked out '8ac8190e494a381072c89f5e161b92a08d98b37b'
Submodule 'src/external/sha-1' (https://github.com/clibs/sha1.git) registered for path 'src/external/sha-1'
Submodule 'src/external/sha-2' (https://github.com/kalven/sha-2.git) registered for path 'src/external/sha-2'
Submodule 'test/external/catch' (https://github.com/catchorg/Catch2.git) registered for path 'test/external/catch'
Cloning into '/host/spi-builder-workspace/src/external/sha-1'...
Cloning into '/host/spi-builder-workspace/src/external/sha-2'...
Cloning into '/host/spi-builder-workspace/test/external/catch'...
Cloned https://github.com/realm/realm-core.git
Revision (git rev-parse @):
3aba889bd9c93c91ea7906b9ec4b60a5c5dcab45
SUCCESS checkout https://github.com/realm/realm-core.git at v20.1.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/realm/realm-core.git
https://github.com/realm/realm-core.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "cxx_language_standard" : "c++20",
  "dependencies" : [
  ],
  "manifest_display_name" : "RealmDatabase",
  "name" : "RealmDatabase",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    }
  ],
  "products" : [
    {
      "name" : "RealmCore",
      "targets" : [
        "RealmCoreResources"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "RealmQueryParser",
      "targets" : [
        "RealmQueryParser"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "RealmCapi",
      "targets" : [
        "Capi"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "RealmFFI",
      "targets" : [
        "RealmFFI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ObjectStoreTests",
      "targets" : [
        "ObjectStoreTests"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "CapiTests",
      "targets" : [
        "CapiTests"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "s2geometry",
      "module_type" : "ClangTarget",
      "name" : "s2geometry",
      "path" : "src/external/s2",
      "product_memberships" : [
        "RealmCore",
        "RealmQueryParser",
        "RealmCapi",
        "RealmFFI",
        "ObjectStoreTests",
        "CapiTests"
      ],
      "sources" : [
        "s1angle.cc",
        "s1interval.cc",
        "s2.cc",
        "s2cap.cc",
        "s2cell.cc",
        "s2cellid.cc",
        "s2edgeindex.cc",
        "s2edgeutil.cc",
        "s2latlng.cc",
        "s2latlngrect.cc",
        "s2loop.cc",
        "s2pointregion.cc",
        "s2polygon.cc",
        "s2polygonbuilder.cc",
        "s2polyline.cc",
        "s2r2rect.cc",
        "s2region.cc",
        "util/math/mathlimits.cc",
        "util/math/mathutil.cc"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RealmQueryParser",
      "module_type" : "ClangTarget",
      "name" : "RealmQueryParser",
      "path" : "src/realm/parser",
      "product_memberships" : [
        "RealmQueryParser",
        "RealmCapi",
        "RealmFFI",
        "ObjectStoreTests",
        "CapiTests"
      ],
      "sources" : [
        "driver.cpp",
        "generated/query_bison.cpp",
        "generated/query_flex.cpp",
        "keypath_mapping.cpp"
      ],
      "target_dependencies" : [
        "RealmCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RealmFFI",
      "module_type" : "SwiftTarget",
      "name" : "RealmFFI",
      "path" : "src/swift",
      "product_memberships" : [
        "RealmFFI"
      ],
      "sources" : [
        "FFI.swift"
      ],
      "target_dependencies" : [
        "Capi"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RealmCoreResources",
      "module_type" : "ClangTarget",
      "name" : "RealmCoreResources",
      "path" : "src/spm",
      "product_memberships" : [
        "RealmCore"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/src/spm/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "dummy.mm"
      ],
      "target_dependencies" : [
        "RealmCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RealmCore",
      "module_type" : "ClangTarget",
      "name" : "RealmCore",
      "path" : "src",
      "product_memberships" : [
        "RealmCore",
        "RealmQueryParser",
        "RealmCapi",
        "RealmFFI",
        "ObjectStoreTests",
        "CapiTests"
      ],
      "sources" : [
        "realm/alloc.cpp",
        "realm/alloc_slab.cpp",
        "realm/array.cpp",
        "realm/array_backlink.cpp",
        "realm/array_binary.cpp",
        "realm/array_blob.cpp",
        "realm/array_blobs_big.cpp",
        "realm/array_blobs_small.cpp",
        "realm/array_decimal128.cpp",
        "realm/array_fixed_bytes.cpp",
        "realm/array_integer.cpp",
        "realm/array_key.cpp",
        "realm/array_mixed.cpp",
        "realm/array_string.cpp",
        "realm/array_string_short.cpp",
        "realm/array_timestamp.cpp",
        "realm/array_unsigned.cpp",
        "realm/array_with_find.cpp",
        "realm/backup_restore.cpp",
        "realm/bplustree.cpp",
        "realm/chunked_binary.cpp",
        "realm/cluster.cpp",
        "realm/cluster_tree.cpp",
        "realm/collection.cpp",
        "realm/collection_parent.cpp",
        "realm/column_binary.cpp",
        "realm/db.cpp",
        "realm/decimal128.cpp",
        "realm/dictionary.cpp",
        "realm/disable_sync_to_disk.cpp",
        "realm/error_codes.cpp",
        "realm/exceptions.cpp",
        "realm/exceptions.mm",
        "realm/geospatial.cpp",
        "realm/group.cpp",
        "realm/group_writer.cpp",
        "realm/history.cpp",
        "realm/impl/copy_replication.cpp",
        "realm/impl/output_stream.cpp",
        "realm/impl/simulated_failure.cpp",
        "realm/impl/transact_log.cpp",
        "realm/index_string.cpp",
        "realm/link_translator.cpp",
        "realm/list.cpp",
        "realm/mixed.cpp",
        "realm/node.cpp",
        "realm/obj.cpp",
        "realm/obj_list.cpp",
        "realm/object-store/class.cpp",
        "realm/object-store/collection.cpp",
        "realm/object-store/collection_notifications.cpp",
        "realm/object-store/dictionary.cpp",
        "realm/object-store/impl/apple/external_commit_helper.cpp",
        "realm/object-store/impl/apple/keychain_helper.cpp",
        "realm/object-store/impl/collection_change_builder.cpp",
        "realm/object-store/impl/collection_notifier.cpp",
        "realm/object-store/impl/deep_change_checker.cpp",
        "realm/object-store/impl/list_notifier.cpp",
        "realm/object-store/impl/object_notifier.cpp",
        "realm/object-store/impl/realm_coordinator.cpp",
        "realm/object-store/impl/results_notifier.cpp",
        "realm/object-store/impl/transact_log_handler.cpp",
        "realm/object-store/impl/weak_realm_notifier.cpp",
        "realm/object-store/index_set.cpp",
        "realm/object-store/list.cpp",
        "realm/object-store/object.cpp",
        "realm/object-store/object_changeset.cpp",
        "realm/object-store/object_schema.cpp",
        "realm/object-store/object_store.cpp",
        "realm/object-store/placeholder.cpp",
        "realm/object-store/results.cpp",
        "realm/object-store/schema.cpp",
        "realm/object-store/sectioned_results.cpp",
        "realm/object-store/set.cpp",
        "realm/object-store/shared_realm.cpp",
        "realm/object-store/thread_safe_reference.cpp",
        "realm/object-store/util/scheduler.cpp",
        "realm/object-store/util/uuid.cpp",
        "realm/object_converter.cpp",
        "realm/object_id.cpp",
        "realm/query.cpp",
        "realm/query_engine.cpp",
        "realm/query_expression.cpp",
        "realm/query_value.cpp",
        "realm/replication.cpp",
        "realm/set.cpp",
        "realm/sort_descriptor.cpp",
        "realm/spec.cpp",
        "realm/status.cpp",
        "realm/string_data.cpp",
        "realm/table.cpp",
        "realm/table_ref.cpp",
        "realm/table_view.cpp",
        "realm/to_json.cpp",
        "realm/tokenizer.cpp",
        "realm/transaction.cpp",
        "realm/unicode.cpp",
        "realm/util/backtrace.cpp",
        "realm/util/base64.cpp",
        "realm/util/basic_system_errors.cpp",
        "realm/util/bson/bson.cpp",
        "realm/util/bson/regular_expression.cpp",
        "realm/util/cli_args.cpp",
        "realm/util/demangle.cpp",
        "realm/util/encrypted_file_mapping.cpp",
        "realm/util/enum.cpp",
        "realm/util/fifo_helper.cpp",
        "realm/util/file.cpp",
        "realm/util/file_mapper.cpp",
        "realm/util/interprocess_condvar.cpp",
        "realm/util/interprocess_mutex.cpp",
        "realm/util/json_parser.cpp",
        "realm/util/load_file.cpp",
        "realm/util/logger.cpp",
        "realm/util/memory_stream.cpp",
        "realm/util/misc_errors.cpp",
        "realm/util/misc_ext_errors.cpp",
        "realm/util/platform_info.cpp",
        "realm/util/random.cpp",
        "realm/util/resource_limits.cpp",
        "realm/util/serializer.cpp",
        "realm/util/sha_crypto.cpp",
        "realm/util/terminate.cpp",
        "realm/util/thread.cpp",
        "realm/util/time.cpp",
        "realm/util/timestamp_formatter.cpp",
        "realm/util/timestamp_logger.cpp",
        "realm/util/to_string.cpp",
        "realm/util/uri.cpp",
        "realm/utilities.cpp",
        "realm/uuid.cpp",
        "realm/version.cpp"
      ],
      "target_dependencies" : [
        "Bid",
        "s2geometry"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ObjectStoreTests",
      "module_type" : "ClangTarget",
      "name" : "ObjectStoreTests",
      "path" : "test/object-store",
      "product_memberships" : [
        "ObjectStoreTests"
      ],
      "sources" : [
        "collection_change_indices.cpp",
        "dictionary.cpp",
        "frozen_objects.cpp",
        "index_set.cpp",
        "list.cpp",
        "main.cpp",
        "migrations.cpp",
        "nested_collections.cpp",
        "object.cpp",
        "object_store.cpp",
        "primitive_list.cpp",
        "realm.cpp",
        "results.cpp",
        "schema.cpp",
        "sectioned_results.cpp",
        "set.cpp",
        "test_runner.cpp",
        "thread_safe_reference.cpp",
        "transaction_log_parsing.cpp",
        "uuid.cpp"
      ],
      "target_dependencies" : [
        "RealmQueryParser",
        "ObjectStoreTestUtils"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ObjectStoreTestUtils",
      "module_type" : "ClangTarget",
      "name" : "ObjectStoreTestUtils",
      "path" : "test/object-store/util",
      "product_memberships" : [
        "ObjectStoreTests",
        "CapiTests"
      ],
      "sources" : [
        "event_loop.cpp",
        "test_file.cpp",
        "test_utils.cpp"
      ],
      "target_dependencies" : [
        "RealmCore",
        "Catch2",
        "CoreTestUtils"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CoreTestUtils",
      "module_type" : "ClangTarget",
      "name" : "CoreTestUtils",
      "path" : "test/util",
      "product_memberships" : [
        "ObjectStoreTests",
        "CapiTests"
      ],
      "sources" : [
        "benchmark_results.cpp",
        "compare_groups.cpp",
        "crypt_key.cpp",
        "demangle.cpp",
        "dump_changesets.cpp",
        "misc.cpp",
        "quote.cpp",
        "random.cpp",
        "resource_limits.cpp",
        "spawned_process.cpp",
        "test_only.cpp",
        "test_path.cpp",
        "timer.cpp",
        "unit_test.cpp",
        "verified_integer.cpp",
        "verified_string.cpp",
        "wildcard.cpp"
      ],
      "target_dependencies" : [
        "RealmCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Catch2Generated",
      "module_type" : "ClangTarget",
      "name" : "Catch2Generated",
      "path" : "test/external/generated",
      "product_memberships" : [
        "ObjectStoreTests",
        "CapiTests"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/test/external/generated/catch2/catch_user_config.hpp",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
      ],
      "type" : "library"
    },
    {
      "c99name" : "Catch2",
      "module_type" : "ClangTarget",
      "name" : "Catch2",
      "path" : "test/external/catch/src",
      "product_memberships" : [
        "ObjectStoreTests",
        "CapiTests"
      ],
      "sources" : [
        "catch2/benchmark/catch_chronometer.cpp",
        "catch2/benchmark/detail/catch_analyse.cpp",
        "catch2/benchmark/detail/catch_benchmark_function.cpp",
        "catch2/benchmark/detail/catch_run_for_at_least.cpp",
        "catch2/benchmark/detail/catch_stats.cpp",
        "catch2/catch_approx.cpp",
        "catch2/catch_assertion_result.cpp",
        "catch2/catch_config.cpp",
        "catch2/catch_get_random_seed.cpp",
        "catch2/catch_message.cpp",
        "catch2/catch_registry_hub.cpp",
        "catch2/catch_session.cpp",
        "catch2/catch_tag_alias_autoregistrar.cpp",
        "catch2/catch_test_case_info.cpp",
        "catch2/catch_test_spec.cpp",
        "catch2/catch_timer.cpp",
        "catch2/catch_tostring.cpp",
        "catch2/catch_totals.cpp",
        "catch2/catch_translate_exception.cpp",
        "catch2/catch_version.cpp",
        "catch2/generators/catch_generator_exception.cpp",
        "catch2/generators/catch_generators.cpp",
        "catch2/generators/catch_generators_random.cpp",
        "catch2/interfaces/catch_interfaces_capture.cpp",
        "catch2/interfaces/catch_interfaces_config.cpp",
        "catch2/interfaces/catch_interfaces_exception.cpp",
        "catch2/interfaces/catch_interfaces_generatortracker.cpp",
        "catch2/interfaces/catch_interfaces_registry_hub.cpp",
        "catch2/interfaces/catch_interfaces_reporter.cpp",
        "catch2/interfaces/catch_interfaces_reporter_factory.cpp",
        "catch2/interfaces/catch_interfaces_testcase.cpp",
        "catch2/internal/catch_assertion_handler.cpp",
        "catch2/internal/catch_case_insensitive_comparisons.cpp",
        "catch2/internal/catch_clara.cpp",
        "catch2/internal/catch_commandline.cpp",
        "catch2/internal/catch_console_colour.cpp",
        "catch2/internal/catch_context.cpp",
        "catch2/internal/catch_debug_console.cpp",
        "catch2/internal/catch_debugger.cpp",
        "catch2/internal/catch_decomposer.cpp",
        "catch2/internal/catch_enforce.cpp",
        "catch2/internal/catch_enum_values_registry.cpp",
        "catch2/internal/catch_errno_guard.cpp",
        "catch2/internal/catch_exception_translator_registry.cpp",
        "catch2/internal/catch_fatal_condition_handler.cpp",
        "catch2/internal/catch_floating_point_helpers.cpp",
        "catch2/internal/catch_getenv.cpp",
        "catch2/internal/catch_istream.cpp",
        "catch2/internal/catch_jsonwriter.cpp",
        "catch2/internal/catch_lazy_expr.cpp",
        "catch2/internal/catch_leak_detector.cpp",
        "catch2/internal/catch_list.cpp",
        "catch2/internal/catch_message_info.cpp",
        "catch2/internal/catch_output_redirect.cpp",
        "catch2/internal/catch_parse_numbers.cpp",
        "catch2/internal/catch_polyfills.cpp",
        "catch2/internal/catch_random_number_generator.cpp",
        "catch2/internal/catch_random_seed_generation.cpp",
        "catch2/internal/catch_reporter_registry.cpp",
        "catch2/internal/catch_reporter_spec_parser.cpp",
        "catch2/internal/catch_result_type.cpp",
        "catch2/internal/catch_reusable_string_stream.cpp",
        "catch2/internal/catch_run_context.cpp",
        "catch2/internal/catch_section.cpp",
        "catch2/internal/catch_singletons.cpp",
        "catch2/internal/catch_source_line_info.cpp",
        "catch2/internal/catch_startup_exception_registry.cpp",
        "catch2/internal/catch_stdstreams.cpp",
        "catch2/internal/catch_string_manip.cpp",
        "catch2/internal/catch_stringref.cpp",
        "catch2/internal/catch_tag_alias_registry.cpp",
        "catch2/internal/catch_test_case_info_hasher.cpp",
        "catch2/internal/catch_test_case_registry_impl.cpp",
        "catch2/internal/catch_test_case_tracker.cpp",
        "catch2/internal/catch_test_failure_exception.cpp",
        "catch2/internal/catch_test_registry.cpp",
        "catch2/internal/catch_test_spec_parser.cpp",
        "catch2/internal/catch_textflow.cpp",
        "catch2/internal/catch_uncaught_exceptions.cpp",
        "catch2/internal/catch_wildcard_pattern.cpp",
        "catch2/internal/catch_xmlwriter.cpp",
        "catch2/matchers/catch_matchers.cpp",
        "catch2/matchers/catch_matchers_container_properties.cpp",
        "catch2/matchers/catch_matchers_exception.cpp",
        "catch2/matchers/catch_matchers_floating_point.cpp",
        "catch2/matchers/catch_matchers_predicate.cpp",
        "catch2/matchers/catch_matchers_quantifiers.cpp",
        "catch2/matchers/catch_matchers_string.cpp",
        "catch2/matchers/catch_matchers_templated.cpp",
        "catch2/matchers/internal/catch_matchers_impl.cpp",
        "catch2/reporters/catch_reporter_automake.cpp",
        "catch2/reporters/catch_reporter_common_base.cpp",
        "catch2/reporters/catch_reporter_compact.cpp",
        "catch2/reporters/catch_reporter_console.cpp",
        "catch2/reporters/catch_reporter_cumulative_base.cpp",
        "catch2/reporters/catch_reporter_event_listener.cpp",
        "catch2/reporters/catch_reporter_helpers.cpp",
        "catch2/reporters/catch_reporter_json.cpp",
        "catch2/reporters/catch_reporter_junit.cpp",
        "catch2/reporters/catch_reporter_multi.cpp",
        "catch2/reporters/catch_reporter_registrars.cpp",
        "catch2/reporters/catch_reporter_sonarqube.cpp",
        "catch2/reporters/catch_reporter_streaming_base.cpp",
        "catch2/reporters/catch_reporter_tap.cpp",
        "catch2/reporters/catch_reporter_teamcity.cpp",
        "catch2/reporters/catch_reporter_xml.cpp"
      ],
      "target_dependencies" : [
        "Catch2Generated"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CapiTests",
      "module_type" : "ClangTarget",
      "name" : "CapiTests",
      "path" : "test/object-store/c_api",
      "product_memberships" : [
        "CapiTests"
      ],
      "sources" : [
        "c_api.cpp",
        "c_api_file_tests.c",
        "main.cpp"
      ],
      "target_dependencies" : [
        "Capi",
        "ObjectStoreTestUtils"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Capi",
      "module_type" : "ClangTarget",
      "name" : "Capi",
      "path" : "src/realm/object-store/c_api",
      "product_memberships" : [
        "RealmCapi",
        "RealmFFI",
        "CapiTests"
      ],
      "sources" : [
        "config.cpp",
        "dictionary.cpp",
        "error.cpp",
        "list.cpp",
        "logging.cpp",
        "notifications.cpp",
        "object.cpp",
        "query.cpp",
        "realm.cpp",
        "scheduler.cpp",
        "schema.cpp",
        "set.cpp",
        "util.cpp"
      ],
      "target_dependencies" : [
        "RealmCore",
        "RealmQueryParser"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Bid",
      "module_type" : "ClangTarget",
      "name" : "Bid",
      "path" : "src/external/IntelRDFPMathLib20U2/LIBRARY/src",
      "product_memberships" : [
        "RealmCore",
        "RealmQueryParser",
        "RealmCapi",
        "RealmFFI",
        "ObjectStoreTests",
        "CapiTests"
      ],
      "sources" : [
        "bid128.c",
        "bid128_2_str_tables.c",
        "bid128_add.c",
        "bid128_compare.c",
        "bid128_div.c",
        "bid128_fma.c",
        "bid128_mul.c",
        "bid128_quantize.c",
        "bid128_string.c",
        "bid128_to_int64.c",
        "bid32_to_bid128.c",
        "bid64_to_bid128.c",
        "bid_binarydecimal.c",
        "bid_convert_data.c",
        "bid_decimal_data.c",
        "bid_decimal_globals.c",
        "bid_from_int.c",
        "bid_round.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/344] Compiling Bid bid128_mul.c
[1/344] Compiling Bid bid128_quantize.c
[2/344] Compiling Bid bid128_div.c
[3/344] Compiling mathlimits.cc
[4/344] Compiling Bid bid128_fma.c
[5/344] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/src/realm/object-store/c_api/config.cpp:1:
/host/spi-builder-workspace/src/realm/object-store/c_api/types.hpp:4:10: fatal error: module 'RealmFFI' is needed but has not been provided, and implicit use of module files is disabled
    4 | #include <realm.h>
      |          ^
1 error generated.
[6/344] Compiling Capi config.cpp
In file included from /host/spi-builder-workspace/src/realm/object-store/c_api/dictionary.cpp:1:
/host/spi-builder-workspace/src/realm/object-store/c_api/types.hpp:4:10: fatal error: module 'RealmFFI' is needed but has not been provided, and implicit use of module files is disabled
    4 | #include <realm.h>
      |          ^
1 error generated.
[6/344] Compiling Capi dictionary.cpp
[6/344] Compiling s2geometry s2r2rect.cc
In file included from /host/spi-builder-workspace/src/realm/object-store/c_api/error.cpp:1:
/host/spi-builder-workspace/src/realm/object-store/c_api/error.hpp:23:10: fatal error: module 'RealmFFI' is needed but has not been provided, and implicit use of module files is disabled
   23 | #include <realm.h>
      |          ^
[6/344] Compiling Capi error.cpp
In file included from /host/spi-builder-workspace/src/external/s2/util/math/mathutil.cc:11:
In file included from /host/spi-builder-workspace/src/external/s2/util/math/mathutil.h:21:
In file included from /host/spi-builder-workspace/src/external/s2/base/logging.h:18:
In file included from /host/spi-builder-workspace/src/realm/util/logger.hpp:23:
/host/spi-builder-workspace/src/realm/util/thread.hpp:40:10: fatal error: 'pthread.h' file not found
   40 | #include <pthread.h>
      |          ^~~~~~~~~~~
[6/344] Compiling mathutil.cc
[6/344] Compiling s2geometry s2polygonbuilder.cc
[6/344] Compiling s2geometry s2region.cc
[6/344] Compiling s2geometry s2polyline.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/338] Write sources
In file included from /host/spi-builder-workspace/src/external/s2/s2r2rect.cc:3:
In file included from /host/spi-builder-workspace/src/external/s2/s2r2rect.h:7:
In file included from /host/spi-builder-workspace/src/external/s2/base/logging.h:18:
In file included from /host/spi-builder-workspace/src/realm/util/logger.hpp:23:
/host/spi-builder-workspace/src/realm/util/thread.hpp:40:10: fatal error: 'pthread.h' file not found
   40 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[1/339] Compiling s2geometry s2r2rect.cc
[1/339] Compiling s2geometry s2pointregion.cc
[1/339] Compiling s2geometry s2polygon.cc
[1/339] Compiling s2geometry s2polyline.cc
[1/339] Compiling s2geometry s2polygonbuilder.cc
[1/339] Compiling mathutil.cc
[1/339] Compiling s2geometry s2region.cc
[1/339] Compiling s2geometry s2loop.cc
BUILD FAILURE 6.1 wasm