The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build NetworkScanner with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.35.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wadetregaskis/NetworkScanner.git
Reference: 5.0.0
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               5.0.0      -> FETCH_HEAD
HEAD is now at faa75d9 Updated to the latest versions of swift-async-algorithms (1.x) and NetworkInterfaceInfo (5.x).
Cloned https://github.com/wadetregaskis/NetworkScanner.git
Revision (git rev-parse @):
faa75d9db6c279a23d74e8846259e0ecbe61170c
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/wadetregaskis/NetworkScanner.git at 5.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/wadetregaskis/NetworkScanner.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/wadetregaskis/NetworkInterfaceInfo.git
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-async-algorithms.git
[1/488] Fetching networkinterfaceinfo
[489/4763] Fetching networkinterfaceinfo, swift-async-algorithms
[789/7936] Fetching networkinterfaceinfo, swift-async-algorithms, swift-log
Fetched https://github.com/wadetregaskis/NetworkInterfaceInfo.git (0.42s)
Fetched https://github.com/apple/swift-async-algorithms.git (0.43s)
Fetched https://github.com/apple/swift-log (0.43s)
Computing version for https://github.com/wadetregaskis/NetworkInterfaceInfo.git
Computed https://github.com/wadetregaskis/NetworkInterfaceInfo.git at 5.0.0 (0.33s)
Fetching https://github.com/wadetregaskis/FoundationExtensions.git
[1/296] Fetching foundationextensions
Fetched https://github.com/wadetregaskis/FoundationExtensions.git (0.20s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.0 (0.35s)
Fetching https://github.com/apple/swift-collections.git
[1/13799] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.14s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (1.29s)
Computing version for https://github.com/wadetregaskis/FoundationExtensions.git
Computed https://github.com/wadetregaskis/FoundationExtensions.git at 3.4.0 (0.31s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.5.4 (0.38s)
Creating working copy for https://github.com/wadetregaskis/NetworkInterfaceInfo.git
Working copy of https://github.com/wadetregaskis/NetworkInterfaceInfo.git resolved at 5.0.0
Creating working copy for https://github.com/wadetregaskis/FoundationExtensions.git
Working copy of https://github.com/wadetregaskis/FoundationExtensions.git resolved at 3.4.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.5.4
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.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.0
Building for debugging...
[1/51] Emitting module _CollectionsUtilities
[2/53] Compiling _CollectionsUtilities _SortedCollection.swift
[3/53] Compiling _CollectionsUtilities _UniqueCollection.swift
[4/53] Compiling _CollectionsUtilities UInt+reversed.swift
[5/53] Compiling _CollectionsUtilities _UnsafeBitSet+Index.swift
[6/53] Compiling _CollectionsUtilities _UnsafeBitSet+_Word.swift
[7/53] Compiling _CollectionsUtilities _UnsafeBitSet.swift
[8/53] Compiling _CollectionsUtilities Debugging.swift
[9/53] Compiling _CollectionsUtilities Descriptions.swift
[10/53] Compiling _CollectionsUtilities RandomAccessCollection+Offsets.swift
[11/53] Compiling _CollectionsUtilities Specialize.swift
[14/54] Emitting module FoundationExtensions
[15/54] Compiling _CollectionsUtilities UnsafeBufferPointer+Extras.swift
[16/54] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[17/54] Compiling _CollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[18/54] Compiling _CollectionsUtilities Integer rank.swift
[19/54] Compiling _CollectionsUtilities UInt+first and last set bit.swift
[20/54] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[21/54] Compiling _CollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[22/54] Compiling _CollectionsUtilities UnsafeRawPointer extensions.swift
[24/56] Wrapping AST for _CollectionsUtilities for debugging
[26/106] Compiling HashTreeCollections _Hash.swift
[27/106] Compiling HashTreeCollections _HashLevel.swift
[28/332] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[29/333] Compiling BitCollections BitArray+Initializers.swift
[30/333] Compiling BitCollections BitArray+Invariants.swift
[31/333] Compiling BitCollections BitArray+ExpressibleByArrayLiteral.swift
[32/333] Compiling BitCollections BitArray+ExpressibleByStringLiteral.swift
[33/333] Compiling BitCollections BitArray+BitwiseOperations.swift
[34/333] Compiling BitCollections BitArray+ChunkedBitsIterators.swift
[35/333] Compiling BitCollections BitArray+Codable.swift
[36/333] Compiling BitCollections BitArray+Collection.swift
[37/333] Compiling FoundationExtensions Locale.swift
[38/333] Compiling BitCollections BitArray+Descriptions.swift
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:22:5: error: missing return in instance method expected to return 'Self'
    }
    ^
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:42:5: error: missing return in instance method expected to return 'Self'
    }
    ^
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:74:5: error: missing return in instance method expected to return 'Self'
    }
    ^
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:108:5: error: missing return in instance method expected to return 'Self'
    }
    ^
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:128:5: error: missing return in instance method expected to return 'Self'
    }
    ^
[39/333] Compiling BitCollections BitArray+Equatable.swift
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:22:5: error: missing return in instance method expected to return 'Self'
    }
    ^
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:42:5: error: missing return in instance method expected to return 'Self'
    }
    ^
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:74:5: error: missing return in instance method expected to return 'Self'
    }
    ^
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:108:5: error: missing return in instance method expected to return 'Self'
    }
    ^
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:128:5: error: missing return in instance method expected to return 'Self'
    }
    ^
[40/333] Compiling FoundationExtensions Optional.swift
[41/333] Compiling Logging MetadataProvider.swift
[42/333] Compiling FoundationExtensions StringProtocol.swift
[43/333] Compiling HeapModule _HeapNode.swift
[0/1] Planning build
Building for debugging...
[1/24] Compiling Logging Locks.swift
[2/24] Compiling FoundationExtensions Data.swift
[3/24] Compiling FoundationExtensions Comparable.swift
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:22:5: error: missing return in instance method expected to return 'Self'
    }
    ^
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:42:5: error: missing return in instance method expected to return 'Self'
    }
    ^
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:74:5: error: missing return in instance method expected to return 'Self'
    }
    ^
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:108:5: error: missing return in instance method expected to return 'Self'
    }
    ^
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:128:5: error: missing return in instance method expected to return 'Self'
    }
    ^
[4/24] Emitting module Logging
[5/24] Emitting module FoundationExtensions
[6/24] Compiling Logging LogHandler.swift
BUILD FAILURE 5.8 linux

Build Machine: Linux 2