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 SkelpoMiddleware, reference master (b9809b), with Swift 6.0 for Linux on 31 Oct 2024 12:17:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/skelpo/skelpomiddleware.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/skelpo/skelpomiddleware
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b9809bf Added Content-Type header to error reponses returned from APIErrorMiddleware
Cloned https://github.com/skelpo/skelpomiddleware.git
Revision (git rev-parse @):
b9809bfcdb90d7ede9488a9d5953de07b307fd26
SUCCESS checkout https://github.com/skelpo/skelpomiddleware.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/skelpo/skelpomiddleware.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/vapor/jwt-provider.git
Fetching https://github.com/vapor/vapor.git
[1/455] Fetching jwt-provider
[456/70559] Fetching jwt-provider, vapor
Fetched https://github.com/vapor/jwt-provider.git from cache (1.42s)
Fetched https://github.com/vapor/vapor.git from cache (1.45s)
Computing version for https://github.com/vapor/jwt-provider.git
Computed https://github.com/vapor/jwt-provider.git at 1.3.0 (0.43s)
Fetching https://github.com/vapor/jwt.git
Fetching https://github.com/vapor/auth-provider.git
[1/262] Fetching auth-provider
[263/2900] Fetching auth-provider, jwt
Fetched https://github.com/vapor/auth-provider.git from cache (0.26s)
Fetched https://github.com/vapor/jwt.git from cache (0.26s)
Computing version for https://github.com/vapor/auth-provider.git
Computed https://github.com/vapor/auth-provider.git at 1.2.0 (0.42s)
Fetching https://github.com/vapor/auth.git
[1/1048] Fetching auth
Fetched https://github.com/vapor/auth.git from cache (0.23s)
Computing version for https://github.com/vapor/auth.git
Computed https://github.com/vapor/auth.git at 1.2.1 (0.43s)
Fetching https://github.com/vapor/fluent.git
[1/13400] Fetching fluent
Fetched https://github.com/vapor/fluent.git from cache (0.48s)
Computing version for https://github.com/vapor/jwt.git
Computed https://github.com/vapor/jwt.git at 2.3.0 (0.43s)
Fetching https://github.com/vapor/json.git
Fetching https://github.com/vapor/crypto.git
[1/2786] Fetching crypto
[1311/3784] Fetching crypto, json
Fetched https://github.com/vapor/crypto.git from cache (0.38s)
Fetched https://github.com/vapor/json.git from cache (0.39s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 2.1.3 (0.43s)
Fetching https://github.com/vapor/random.git
Fetching https://github.com/vapor/ctls.git
[1/148] Fetching random
[149/219] Fetching random, ctls
Fetched https://github.com/vapor/ctls.git from cache (0.22s)
Fetched https://github.com/vapor/random.git from cache (0.22s)
Computing version for https://github.com/vapor/random.git
Computed https://github.com/vapor/random.git at 1.2.0 (0.43s)
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (0.66s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (0.42s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.43s)
Fetching https://github.com/vapor/bits.git
Fetching https://github.com/vapor/debugging.git
[1/358] Fetching bits
[359/618] Fetching bits, debugging
Fetched https://github.com/vapor/bits.git from cache (0.23s)
Fetched https://github.com/vapor/debugging.git from cache (0.23s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.42s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.43s)
Computing version for https://github.com/vapor/json.git
Computed https://github.com/vapor/json.git at 2.2.2 (0.43s)
Fetching https://github.com/vapor/node.git
[1/4211] Fetching node
Fetched https://github.com/vapor/node.git from cache (0.24s)
Computing version for https://github.com/vapor/node.git
Computed https://github.com/vapor/node.git at 2.1.5 (0.44s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 2.4.5 (0.48s)
Fetching https://github.com/vapor/console.git
Fetching https://github.com/vapor/engine.git
Fetching https://github.com/vapor/multipart.git
Fetching https://github.com/vapor/bcrypt.git
Fetching https://github.com/vapor/routing.git
[1/25467] Fetching engine
[2/27395] Fetching engine, multipart
[1777/27494] Fetching engine, multipart, bcrypt
[2131/48184] Fetching engine, multipart, bcrypt, routing
[3309/53654] Fetching engine, multipart, bcrypt, routing, console
Fetched https://github.com/vapor/bcrypt.git from cache (0.84s)
Fetched https://github.com/vapor/console.git from cache (0.84s)
Fetched https://github.com/vapor/routing.git from cache (0.85s)
[25988/27395] Fetching engine, multipart
Fetched https://github.com/vapor/engine.git from cache (1.36s)
Fetched https://github.com/vapor/multipart.git from cache (1.38s)
Computing version for https://github.com/vapor/bcrypt.git
Computed https://github.com/vapor/bcrypt.git at 1.1.1 (0.43s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 2.2.1 (0.43s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 2.2.1 (0.45s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 2.3.1 (0.43s)
Computing version for https://github.com/vapor/engine.git
Computed https://github.com/vapor/engine.git at 2.2.5 (0.44s)
Fetching https://github.com/vapor/tls.git
Fetching https://github.com/vapor/sockets.git
[1/3312] Fetching sockets
[863/4456] Fetching sockets, tls
Fetched https://github.com/vapor/tls.git from cache (0.25s)
Fetched https://github.com/vapor/sockets.git from cache (0.26s)
Computing version for https://github.com/vapor/tls.git
Computed https://github.com/vapor/tls.git at 2.1.3 (0.43s)
Computing version for https://github.com/vapor/sockets.git
Computed https://github.com/vapor/sockets.git at 2.2.3 (0.42s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 2.5.1 (0.43s)
Fetching https://github.com/vapor/sqlite.git
[1/2112] Fetching sqlite
Fetched https://github.com/vapor/sqlite.git from cache (0.53s)
Computing version for https://github.com/vapor/sqlite.git
Computed https://github.com/vapor/sqlite.git at 2.3.1 (0.44s)
Creating working copy for https://github.com/vapor/sockets.git
Working copy of https://github.com/vapor/sockets.git resolved at 2.2.3
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 2.4.5
Creating working copy for https://github.com/vapor/json.git
Working copy of https://github.com/vapor/json.git resolved at 2.2.2
Creating working copy for https://github.com/vapor/random.git
Working copy of https://github.com/vapor/random.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/fluent.git
Working copy of https://github.com/vapor/fluent.git resolved at 2.5.1
Creating working copy for https://github.com/vapor/engine.git
Working copy of https://github.com/vapor/engine.git resolved at 2.2.5
Creating working copy for https://github.com/vapor/tls.git
Working copy of https://github.com/vapor/tls.git resolved at 2.1.3
Creating working copy for https://github.com/vapor/auth-provider.git
Working copy of https://github.com/vapor/auth-provider.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/bcrypt.git
Working copy of https://github.com/vapor/bcrypt.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/jwt.git
Working copy of https://github.com/vapor/jwt.git resolved at 2.3.0
Creating working copy for https://github.com/vapor/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/node.git
Working copy of https://github.com/vapor/node.git resolved at 2.1.5
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/sqlite.git
Working copy of https://github.com/vapor/sqlite.git resolved at 2.3.1
Creating working copy for https://github.com/vapor/ctls.git
Working copy of https://github.com/vapor/ctls.git resolved at 1.1.3
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 2.1.3
Creating working copy for https://github.com/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 2.3.1
Creating working copy for https://github.com/vapor/jwt-provider.git
Working copy of https://github.com/vapor/jwt-provider.git resolved at 1.3.0
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/auth.git
Working copy of https://github.com/vapor/auth.git resolved at 1.2.1
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
Building for debugging...
[0/42] Write sources
[39/42] Compiling CHTTP http_parser.c
[40/42] Compiling CSQLite sqlite3.c
[40/42] Write swift-version-24593BA9C3E375BF.txt
[43/67] Emitting module Bits
[44/69] Compiling Bits UnsignedInteger+BytesConvertible.swift
[45/69] Compiling Bits UnsignedInteger+Shifting.swift
[46/69] Compiling Debugging Debuggable.swift
[47/69] Emitting module Debugging
[49/70] Compiling PathIndexable PathIndexable+Subscripting.swift
[50/70] Emitting module PathIndexable
[51/70] Compiling PathIndexable PathIndexable.swift
[52/71] Compiling Bits Operators.swift
[53/71] Compiling Bits String+BytesConvertible.swift
[55/71] Emitting module libc
[56/71] Compiling libc libc.swift
[58/72] Compiling Bits Bytes+Percent.swift
[59/72] Compiling Bits BytesConvertible.swift
[60/72] Compiling Bits Byte+Random.swift
[61/72] Compiling Bits Byte+UTF8Numbers.swift
[62/72] Compiling Bits ByteSequence+Conversions.swift
[63/72] Compiling Bits Aliases.swift
[64/72] Compiling Bits Base64Encoder.swift
[65/72] Compiling Bits Byte+Alphabet.swift
[66/72] Compiling Bits Bytes+Base64.swift
[67/72] Compiling Bits Bytes+Hex.swift
[68/72] Compiling Bits Data+BytesConvertible.swift
[69/72] Compiling Bits HexEncoder.swift
[70/72] Compiling Bits Byte+ControlCharacters.swift
[71/72] Compiling Bits Byte+Convenience.swift
[72/72] Compiling Bits Byte+PatternMatching.swift
[74/95] Compiling Core Result.swift
[75/95] Compiling Core Semaphore.swift
[76/95] Compiling Core Sequence.swift
[77/97] Emitting module Core
[78/97] Compiling Core Lock.swift
[79/97] Compiling Core Portal.swift
[80/97] Compiling Core RFC1123.swift
[81/97] Compiling Core Extendable.swift
[82/97] Compiling Core FileProtocol.swift
[83/97] Compiling Core Int+Hex.swift
[84/97] Compiling Core String.swift
[85/97] Compiling Core WorkingDirectory.swift
[86/97] Compiling Core Collection+Safe.swift
[87/97] Compiling Core DataFile.swift
[88/97] Compiling Core Dispatch.swift
[89/97] Compiling Core DispatchTime+Utilities.swift
[90/97] Compiling Core EmptyInitializable.swift
[91/97] Compiling Core Exports.swift
[92/97] Compiling Core Array.swift
[93/97] Compiling Core Bits.swift
[94/97] Compiling Core Cache.swift
[95/97] Compiling Core StaticDataBuffer.swift
[96/97] Compiling Core String+CaseInsensitiveCompare.swift
[97/97] Compiling Core String+Polymorphic.swift
[99/183] Compiling Random Array+Random.swift
[100/183] Compiling Random RandomProtocol.swift
[101/183] Compiling Random URandom.swift
[102/183] Emitting module Random
[103/183] Compiling Transport ServerStream.swift
[104/183] Compiling Transport FoundationStream.swift
[105/184] Compiling Random EmptyInitializable.swift
[106/184] Compiling Random Exports.swift
[107/184] Compiling Random OSRandom.swift
[109/185] Compiling Transport Stream.swift
[110/185] Compiling Transport StreamError.swift
[111/185] Compiling Transport ReadableStream.swift
[112/185] Compiling Node Getters.swift
[113/185] Compiling Node Setters.swift
[114/185] Emitting module Transport
[115/185] Compiling Node Bool+Convertible.swift
[116/185] Compiling Node Date+Convertible.swift
[117/185] Compiling Node StructuredData+Init.swift
[118/185] Compiling Node StructuredData+PathIndexable.swift
[119/185] Compiling Node StructuredData+Polymorphic.swift
[120/185] Compiling Node StructuredData.swift
[121/185] Compiling Node StructuredDataWrapper+Cases.swift
[122/185] Compiling Node StructuredDataWrapper+Convenience.swift
[123/185] Compiling Node StructuredDataWrapper+Equatable.swift
[124/185] Compiling Node StructuredDataWrapper+Literals.swift
[125/189] Compiling Node UnsignedInteger+Convertible.swift
[126/189] Compiling Node Context.swift
[127/189] Compiling Node Node.swift
[128/189] Compiling Node NodeConvertible.swift
[129/189] Compiling Node NodeInitializable.swift
[132/193] Compiling Console Terminal+Command.swift
[133/193] Compiling Console Terminal.swift
[134/193] Compiling Transport WriteableStream.swift
[135/194] Compiling Node Integer+Convertible.swift
[136/194] Compiling Node Schema+Convertible.swift
[137/194] Compiling Node SchemaWrapper+Convertible.swift
[138/194] Compiling Node String+Convertible.swift
[139/194] Compiling Node UUID+Convertible.swift
[141/216] Compiling Node NodeRepresentable.swift
[142/216] Compiling Node Array+Convertible.swift
[143/216] Compiling Node Dictionary+Convertible.swift
[144/216] Compiling Node Fuzzy+Any.swift
[145/216] Compiling Node FuzzyConverter.swift
[151/216] Compiling Crypto HMAC+Method.swift
[152/216] Compiling Crypto HMAC.swift
[153/216] Compiling Crypto Hash+Method.swift
[154/216] Compiling Crypto Hash.swift
[155/216] Compiling Crypto Hash+Random.swift
[156/216] Compiling Node Optional+Convertible.swift
[157/216] Compiling Node Set+Convertible.swift
[158/216] Compiling Node Number.swift
[159/216] Compiling Node StructuredData+Equatable.swift
[165/216] Emitting module Node
[166/216] Compiling BCrypt BCryptError.swift
[167/216] Compiling BCrypt Base64.swift
[168/216] Compiling Crypto ByteStream.swift
[169/216] Compiling Crypto Exports.swift
[170/216] Compiling Crypto Helpers.swift
[171/244] Emitting module Console
[172/244] Compiling Sockets Conversions.swift
[173/244] Compiling Sockets Error.swift
[174/244] Compiling Sockets FDSet.swift
[175/244] Compiling Sockets Address+C.swift
[176/244] Compiling Sockets Address.swift
[177/244] Compiling BCrypt Salt.swift
[178/245] Compiling BCrypt Parser.swift
[179/245] Compiling BCrypt Keys.swift
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Terminal/Terminal.swift:147:45: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
145 |
146 |         _pids.append(pid)
147 |         let spawned = posix_spawnp(pid, argv[0], &fileActions, nil, argv + [nil], env + [nil])
    |                                             |- 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'
148 |         if spawned != 0 {
149 |             throw ConsoleError.spawnProcess
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Terminal/Terminal.swift:147:45: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
145 |
146 |         _pids.append(pid)
147 |         let spawned = posix_spawnp(pid, argv[0], &fileActions, nil, argv + [nil], env + [nil])
    |                                             |- 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'
148 |         if spawned != 0 {
149 |             throw ConsoleError.spawnProcess
[182/245] Compiling Node StructuredDataWrapper.swift
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Terminal/Terminal.swift:147:45: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
145 |
146 |         _pids.append(pid)
147 |         let spawned = posix_spawnp(pid, argv[0], &fileActions, nil, argv + [nil], env + [nil])
    |                                             |- 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'
148 |         if spawned != 0 {
149 |             throw ConsoleError.spawnProcess
[183/245] Compiling Node Errors.swift
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Terminal/Terminal.swift:147:45: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
145 |
146 |         _pids.append(pid)
147 |         let spawned = posix_spawnp(pid, argv[0], &fileActions, nil, argv + [nil], env + [nil])
    |                                             |- 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'
148 |         if spawned != 0 {
149 |             throw ConsoleError.spawnProcess
BUILD FAILURE 6.0 linux