The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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: 6.0.1
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
 * tag               6.0.1      -> FETCH_HEAD
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 6.0.1
========================================
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-4606859-1":/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/4985] Fetching swift-async-algorithms
[51/5499] Fetching swift-async-algorithms, networkinterfaceinfo
[896/9335] Fetching swift-async-algorithms, networkinterfaceinfo, swift-log
Fetched https://github.com/wadetregaskis/NetworkInterfaceInfo.git from cache (0.53s)
[6229/8821] Fetching swift-async-algorithms, swift-log
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.94s)
Fetched https://github.com/apple/swift-log from cache (0.95s)
Computing version for https://github.com/wadetregaskis/NetworkInterfaceInfo.git
Computed https://github.com/wadetregaskis/NetworkInterfaceInfo.git at 5.1.2 (2.06s)
Fetching https://github.com/wadetregaskis/FoundationExtensions.git
[1/357] Fetching foundationextensions
Fetched https://github.com/wadetregaskis/FoundationExtensions.git from cache (0.37s)
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.56s)
Fetching https://github.com/apple/swift-collections.git
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.04s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (3.37s)
Computing version for https://github.com/wadetregaskis/FoundationExtensions.git
Computed https://github.com/wadetregaskis/FoundationExtensions.git at 3.5.2 (0.90s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.95s)
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/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
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/wadetregaskis/NetworkInterfaceInfo.git
Working copy of https://github.com/wadetregaskis/NetworkInterfaceInfo.git resolved at 5.1.2
Building for debugging...
[0/23] Write sources
[10/23] Write swift-version-24593BA9C3E375BF.txt
[12/55] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[13/55] Compiling InternalCollectionsUtilities Debugging.swift
[14/55] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[15/55] Compiling InternalCollectionsUtilities Descriptions.swift
[16/55] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/56] 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
[18/56] Compiling FoundationExtensions Optional.swift
[19/57] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[20/57] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[21/57] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[22/57] Compiling InternalCollectionsUtilities _SortedCollection.swift
[23/57] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[24/57] Compiling InternalCollectionsUtilities UInt+reversed.swift
[25/57] Emitting module InternalCollectionsUtilities
[26/57] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[27/57] Compiling InternalCollectionsUtilities Integer rank.swift
[28/57] Emitting module Logging
[29/57] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[30/58] Wrapping AST for InternalCollectionsUtilities for debugging
[32/58] Compiling Logging MetadataProvider.swift
[33/58] Compiling Logging LogHandler.swift
[34/58] Compiling Logging Locks.swift
[35/58] Compiling Logging Logging.swift
[37/129] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[38/129] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[38/131] Wrapping AST for Logging for debugging
[40/131] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[41/131] Compiling OrderedCollections OrderedDictionary+Elements.swift
[42/131] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[43/131] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[44/131] Compiling FoundationExtensions Locale.swift
[45/131] Compiling OrderedCollections OrderedDictionary+Codable.swift
[46/131] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[47/131] Compiling OrderedCollections OrderedDictionary+Sequence.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
[48/131] Compiling OrderedCollections OrderedDictionary+Values.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
[49/131] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[50/131] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[55/131] Compiling FoundationExtensions StringProtocol.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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 Locale.swift
[4/46] Compiling FoundationExtensions Optional.swift
[5/47] Compiling Logging MetadataProvider.swift
[6/47] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[7/47] Compiling InternalCollectionsUtilities Debugging.swift
[8/47] Compiling FoundationExtensions Date.swift
[9/47] Compiling FoundationExtensions Double.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/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
[11/47] Compiling FoundationExtensions Comparable.swift
[12/47] Compiling FoundationExtensions Data.swift
[13/47] Compiling FoundationExtensions Float.swift
[14/47] Compiling FoundationExtensions IteratorProtocol.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
[17/47] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[18/47] Compiling FoundationExtensions StringProtocol.swift
[21/47] Compiling FoundationExtensions BinaryInteger.swift
[22/47] Compiling FoundationExtensions CollectionOfUInt8.swift
[23/47] Emitting module Logging
[24/47] Compiling Logging Locks.swift
[25/47] Compiling Logging LogHandler.swift
BUILD FAILURE 6.1 wasm