The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NetworkScanner, reference main (03125f), with Swift 6.1 for Wasm on 29 May 2025 11:51:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/wadetregaskis/NetworkScanner.git
Reference: main
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/wadetregaskis/NetworkScanner
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 03125f5 Explicitly marked `Delegate` as `Sendable` because with the 5.10 compiler it complains otherwise.
Cloned https://github.com/wadetregaskis/NetworkScanner.git
Revision (git rev-parse @):
03125f57736a9467fa8a2b4c982422e69d3007d9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/wadetregaskis/NetworkScanner.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/wadetregaskis/NetworkScanner.git
https://github.com/wadetregaskis/NetworkScanner.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-async-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-async-algorithms.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log"
    },
    {
      "identity" : "networkinterfaceinfo",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/wadetregaskis/NetworkInterfaceInfo.git"
    }
  ],
  "manifest_display_name" : "NetworkScanner",
  "name" : "NetworkScanner",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "NetworkScanner",
      "targets" : [
        "NetworkScanner"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "NetworkScannerDemo",
      "targets" : [
        "NetworkScannerDemo"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NetworkScannerDemo",
      "module_type" : "SwiftTarget",
      "name" : "NetworkScannerDemo",
      "path" : "Sources/NetworkScannerDemo",
      "product_memberships" : [
        "NetworkScannerDemo"
      ],
      "sources" : [
        "NetworkScannerDemo.swift"
      ],
      "target_dependencies" : [
        "NetworkScanner"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "NetworkScanner",
      "module_type" : "SwiftTarget",
      "name" : "NetworkScanner",
      "path" : "Sources/NetworkScanner",
      "product_dependencies" : [
        "AsyncAlgorithms",
        "Logging",
        "NetworkInterfaceInfo",
        "NetworkInterfaceChangeMonitoring"
      ],
      "product_memberships" : [
        "NetworkScanner",
        "NetworkScannerDemo"
      ],
      "sources" : [
        "NetworkScanner.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
Fetching https://github.com/apple/swift-log
Fetching https://github.com/wadetregaskis/NetworkInterfaceInfo.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/3836] Fetching swift-log
[117/4350] Fetching swift-log, networkinterfaceinfo
Fetched https://github.com/wadetregaskis/NetworkInterfaceInfo.git from cache (0.29s)
[3606/3836] Fetching swift-log
[3607/8821] Fetching swift-log, swift-async-algorithms
Fetched https://github.com/apple/swift-log from cache (0.44s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.48s)
Computing version for https://github.com/wadetregaskis/NetworkInterfaceInfo.git
Computed https://github.com/wadetregaskis/NetworkInterfaceInfo.git at 5.1.2 (1.22s)
Fetching https://github.com/wadetregaskis/FoundationExtensions.git
[1/357] Fetching foundationextensions
Fetched https://github.com/wadetregaskis/FoundationExtensions.git from cache (0.36s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (1.42s)
Fetching https://github.com/apple/swift-collections.git
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.62s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (2.71s)
Computing version for https://github.com/wadetregaskis/FoundationExtensions.git
Computed https://github.com/wadetregaskis/FoundationExtensions.git at 3.5.2 (0.84s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.84s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/wadetregaskis/FoundationExtensions.git
Working copy of https://github.com/wadetregaskis/FoundationExtensions.git resolved at 3.5.2
Creating working copy for https://github.com/wadetregaskis/NetworkInterfaceInfo.git
Working copy of https://github.com/wadetregaskis/NetworkInterfaceInfo.git resolved at 5.1.2
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
Building for debugging...
[0/23] Write sources
[10/23] Write swift-version-24593BA9C3E375BF.txt
[12/55] Compiling FoundationExtensions Optional.swift
[13/56] Compiling InternalCollectionsUtilities Descriptions.swift
[14/56] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[15/56] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[16/56] Compiling Logging Locks.swift
[17/56] Compiling FoundationExtensions Date.swift
[18/56] Compiling FoundationExtensions Double.swift
[19/56] Compiling FoundationExtensions Float.swift
[20/56] Compiling FoundationExtensions IteratorProtocol.swift
[21/57] Compiling FoundationExtensions Comparable.swift
[22/57] Compiling FoundationExtensions Data.swift
[23/57] Emitting module InternalCollectionsUtilities
[24/57] Compiling FoundationExtensions AsyncSequence.swift
[25/57] Compiling FoundationExtensions BidirectionalCollection.swift
[26/57] Compiling FoundationExtensions BinaryInteger.swift
[27/57] Compiling FoundationExtensions CollectionOfUInt8.swift
[28/57] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[30/58] Compiling Logging MetadataProvider.swift
[31/58] Emitting module Logging
[32/58] Compiling Logging LogHandler.swift
[33/58] Compiling Logging Logging.swift
[33/59] Wrapping AST for InternalCollectionsUtilities for debugging
[35/129] Wrapping AST for Logging for debugging
[37/129] Compiling OrderedCollections _HashTable+Testing.swift
[38/129] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[39/131] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[40/131] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[41/131] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[42/131] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[43/131] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[44/131] Compiling OrderedCollections OrderedDictionary+Values.swift
[45/131] Compiling OrderedCollections _HashTable+Bucket.swift
[46/131] Compiling OrderedCollections _HashTable+BucketIterator.swift
[47/131] Compiling FoundationExtensions Locale.swift
[52/131] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[53/131] Compiling OrderedCollections OrderedDictionary+Initializers.swift
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Date.swift:9:25: error: cannot find 'RelativeDateTimeFormatter' in scope
 7 |     @usableFromInline
 8 |     internal static let relativeDateTimeFormatter = {
 9 |         var formatter = RelativeDateTimeFormatter()
   |                         `- error: cannot find 'RelativeDateTimeFormatter' in scope
10 |         formatter.dateTimeStyle = .named
11 |         formatter.unitsStyle = .full
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Date.swift:9:25: error: cannot find 'RelativeDateTimeFormatter' in scope
 7 |     @usableFromInline
 8 |     internal static let relativeDateTimeFormatter = {
 9 |         var formatter = RelativeDateTimeFormatter()
   |                         `- error: cannot find 'RelativeDateTimeFormatter' in scope
10 |         formatter.dateTimeStyle = .named
11 |         formatter.unitsStyle = .full
error: emit-module command failed with exit code 1 (use -v to see invocation)
[56/131] Emitting module FoundationExtensions
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Date.swift:9:25: error: cannot find 'RelativeDateTimeFormatter' in scope
 7 |     @usableFromInline
 8 |     internal static let relativeDateTimeFormatter = {
 9 |         var formatter = RelativeDateTimeFormatter()
   |                         `- error: cannot find 'RelativeDateTimeFormatter' in scope
10 |         formatter.dateTimeStyle = .named
11 |         formatter.unitsStyle = .full
[57/131] Compiling FoundationExtensions StringProtocol.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/13] Write swift-version-24593BA9C3E375BF.txt
[2/45] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[3/46] Compiling FoundationExtensions Date.swift
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Date.swift:9:25: error: cannot find 'RelativeDateTimeFormatter' in scope
 7 |     @usableFromInline
 8 |     internal static let relativeDateTimeFormatter = {
 9 |         var formatter = RelativeDateTimeFormatter()
   |                         `- error: cannot find 'RelativeDateTimeFormatter' in scope
10 |         formatter.dateTimeStyle = .named
11 |         formatter.unitsStyle = .full
[4/46] Compiling FoundationExtensions Double.swift
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Date.swift:9:25: error: cannot find 'RelativeDateTimeFormatter' in scope
 7 |     @usableFromInline
 8 |     internal static let relativeDateTimeFormatter = {
 9 |         var formatter = RelativeDateTimeFormatter()
   |                         `- error: cannot find 'RelativeDateTimeFormatter' in scope
10 |         formatter.dateTimeStyle = .named
11 |         formatter.unitsStyle = .full
[5/47] Compiling Logging MetadataProvider.swift
[6/47] Compiling FoundationExtensions Locale.swift
[7/47] Compiling Logging LogHandler.swift
[8/47] Compiling Logging Locks.swift
[9/47] Compiling FoundationExtensions Optional.swift
[10/47] Compiling FoundationExtensions Float.swift
[11/47] Compiling FoundationExtensions IteratorProtocol.swift
[12/47] Compiling FoundationExtensions Comparable.swift
[13/47] Compiling FoundationExtensions Data.swift
[14/47] Compiling FoundationExtensions AsyncSequence.swift
[15/47] Compiling FoundationExtensions BidirectionalCollection.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/47] Emitting module FoundationExtensions
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Date.swift:9:25: error: cannot find 'RelativeDateTimeFormatter' in scope
 7 |     @usableFromInline
 8 |     internal static let relativeDateTimeFormatter = {
 9 |         var formatter = RelativeDateTimeFormatter()
   |                         `- error: cannot find 'RelativeDateTimeFormatter' in scope
10 |         formatter.dateTimeStyle = .named
11 |         formatter.unitsStyle = .full
[19/47] Compiling FoundationExtensions BinaryInteger.swift
[20/47] Compiling FoundationExtensions CollectionOfUInt8.swift
[21/47] Emitting module Logging
[22/47] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[23/47] Compiling FoundationExtensions StringProtocol.swift
BUILD FAILURE 6.1 wasm