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 Selenops, reference master (8c2ee9), with Swift 6.0 for Linux on 1 Nov 2024 11:59:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/zntfdr/Selenops.git
Reference: master
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/zntfdr/Selenops
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 8c2ee90 remove file headers
Cloned https://github.com/zntfdr/Selenops.git
Revision (git rev-parse @):
8c2ee90339cf47edf8087ac40a924bb1db6e4fec
SUCCESS checkout https://github.com/zntfdr/Selenops.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/zntfdr/Selenops.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/3184] Fetching swiftsoup
[3185/9706] Fetching swiftsoup, swift-tools-support-core
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.35s)
[1/12353] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.42s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.65s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.0.1 (0.42s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.0.6 (0.44s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.7.5 (0.43s)
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.0.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 0.0.6
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.7.5
warning: 'swiftsoup': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/InfoMac.plist
    /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/InfoWatchOS.plist
    /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/InfotvOS.plist
    /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Info.plist
Building for debugging...
[0/21] Write sources
[6/21] Copying PrivacyInfo.xcprivacy
[6/21] Write sources
[8/21] Compiling TSCclibc libc.c
[9/21] Write swift-version-24593BA9C3E375BF.txt
[11/104] Emitting module ArgumentParser
[12/107] Compiling TSCLibc libc.swift
[13/107] Emitting module TSCLibc
[14/108] Compiling SwiftSoup DocumentType.swift
[15/108] Compiling SwiftSoup Element.swift
[16/108] Compiling SwiftSoup Elements.swift
[17/108] Compiling SwiftSoup Entities.swift
[18/108] Compiling SwiftSoup CssSelector.swift
[19/108] Compiling SwiftSoup DataNode.swift
[20/108] Compiling SwiftSoup DataUtil.swift
[21/108] Compiling SwiftSoup Document.swift
[22/108] Compiling SwiftSoup Collector.swift
[23/108] Compiling SwiftSoup CombiningEvaluator.swift
[24/108] Compiling SwiftSoup Comment.swift
[25/108] Compiling SwiftSoup Connection.swift
[26/108] Wrapping AST for TSCLibc for debugging
[28/146] Compiling TSCBasic EditDistance.swift
[29/146] Compiling TSCBasic FileInfo.swift
[30/146] Compiling TSCBasic FileSystem.swift
[31/146] Compiling TSCBasic GraphAlgorithms.swift
[32/146] Compiling TSCBasic LazyCache.swift
[33/146] Compiling TSCBasic Lock.swift
[34/146] Compiling TSCBasic OSLog.swift
[35/146] Compiling TSCBasic PathShims.swift
[36/146] Compiling TSCBasic JSON.swift
[37/146] Compiling TSCBasic JSONMapper.swift
[38/146] Compiling TSCBasic KeyedPair.swift
[39/146] Compiling TSCBasic Process.swift
[40/146] Compiling TSCBasic ProcessEnv.swift
[41/146] Compiling TSCBasic ProcessSet.swift
[42/146] Compiling TSCBasic RegEx.swift
[43/146] Compiling SwiftSoup Tag.swift
[44/146] Compiling SwiftSoup TextNode.swift
[45/146] Compiling SwiftSoup Token.swift
[46/146] Compiling SwiftSoup TokenQueue.swift
[47/146] Compiling SwiftSoup Tokeniser.swift
[48/146] Compiling SwiftSoup TokeniserState.swift
[49/146] Compiling SwiftSoup TreeBuilder.swift
[50/153] Compiling TSCBasic Await.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 |     return try await(body).get()
   |                            `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
19 | }
20 |
[51/153] Compiling TSCBasic ByteString.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 |     return try await(body).get()
   |                            `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
19 | }
20 |
[52/153] Compiling TSCBasic CStringArray.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 |     return try await(body).get()
   |                            `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
19 | }
20 |
[53/153] Compiling TSCBasic CacheableSequence.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 |     return try await(body).get()
   |                            `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
19 | }
20 |
[54/153] Compiling TSCBasic CodableResult.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 |     return try await(body).get()
   |                            `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
19 | }
20 |
[55/153] Compiling TSCBasic CollectionAlgorithms.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 |     return try await(body).get()
   |                            `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
19 | }
20 |
[56/158] Compiling TSCBasic ObjectIdentifierProtocol.swift
[57/158] Compiling TSCBasic OrderedDictionary.swift
[58/158] Compiling TSCBasic OrderedSet.swift
[59/158] Compiling TSCBasic Path.swift
[60/158] Compiling TSCBasic Result.swift
[61/158] Compiling TSCBasic SHA256.swift
[62/158] Compiling TSCBasic SortedArray.swift
[63/158] Compiling TSCBasic StringConversions.swift
[64/158] Compiling TSCBasic SynchronizedQueue.swift
[65/158] Compiling TSCBasic TemporaryFile.swift
[74/159] Compiling TSCBasic TerminalController.swift
[75/159] Compiling TSCBasic Thread.swift
[76/159] Compiling TSCBasic Tuple.swift
[77/159] Compiling TSCBasic misc.swift
[78/159] Compiling SwiftSoup NodeTraversor.swift
[79/159] Compiling SwiftSoup NodeVisitor.swift
[80/159] Compiling SwiftSoup OrderedSet.swift
[81/159] Compiling TSCBasic DeltaAlgorithm.swift
[82/159] Compiling TSCBasic DiagnosticsEngine.swift
[83/159] Compiling TSCBasic DictionaryExtensions.swift
[84/159] Compiling TSCBasic DictionaryLiteralExtensions.swift
[95/159] Compiling TSCBasic CollectionExtensions.swift
[96/159] Compiling TSCBasic Condition.swift
[104/159] Compiling TSCBasic OutputByteStream.swift
[105/159] Emitting module SwiftSoup
[105/159] Wrapping AST for ArgumentParser for debugging
[107/159] Emitting module TSCBasic
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:372:59: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
370 |         defer { free(devNull) }
371 |         // Open /dev/null as stdin.
372 |         posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
    |                                                           |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
    |                                                           |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
373 |
374 |         var outputPipe: [Int32] = [0, 0]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:395:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
393 |         let argv = CStringArray(arguments)
394 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
395 |         let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
    |                                                      |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
    |                                                      |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                      `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
396 |
397 |         guard rv == 0 else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:372:59: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
370 |         defer { free(devNull) }
371 |         // Open /dev/null as stdin.
372 |         posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
    |                                                           |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
    |                                                           |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
373 |
374 |         var outputPipe: [Int32] = [0, 0]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:395:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
393 |         let argv = CStringArray(arguments)
394 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
395 |         let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
    |                                                      |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
    |                                                      |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                      `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
396 |
397 |         guard rv == 0 else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:372:59: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
370 |         defer { free(devNull) }
371 |         // Open /dev/null as stdin.
372 |         posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
    |                                                           |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
    |                                                           |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
373 |
374 |         var outputPipe: [Int32] = [0, 0]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:395:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
393 |         let argv = CStringArray(arguments)
394 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
395 |         let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
    |                                                      |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
    |                                                      |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                      `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
396 |
397 |         guard rv == 0 else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:372:59: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
370 |         defer { free(devNull) }
371 |         // Open /dev/null as stdin.
372 |         posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
    |                                                           |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
    |                                                           |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
373 |
374 |         var outputPipe: [Int32] = [0, 0]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:395:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
393 |         let argv = CStringArray(arguments)
394 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
395 |         let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
    |                                                      |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
    |                                                      |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                      `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
396 |
397 |         guard rv == 0 else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:372:59: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
370 |         defer { free(devNull) }
371 |         // Open /dev/null as stdin.
372 |         posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
    |                                                           |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
    |                                                           |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
373 |
374 |         var outputPipe: [Int32] = [0, 0]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:395:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
393 |         let argv = CStringArray(arguments)
394 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
395 |         let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
    |                                                      |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
    |                                                      |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                      `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
396 |
397 |         guard rv == 0 else {
[134/159] Compiling SwiftSoup UnfairLock.swift
[135/159] Compiling SwiftSoup UnicodeScalar.swift
[136/159] Compiling SwiftSoup Validate.swift
[137/159] Compiling SwiftSoup Whitelist.swift
[138/159] Compiling SwiftSoup XmlDeclaration.swift
[139/159] Compiling SwiftSoup XmlTreeBuilder.swift
[140/159] Compiling SwiftSoup resource_bundle_accessor.swift
BUILD FAILURE 6.0 linux