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 JWTProvider, reference master (f648dd), with Swift 6.0 for Linux on 4 Nov 2024 04:41:32 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/vapor-community/jwt-provider.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/vapor-community/jwt-provider
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at f648dd6 Merge pull request #24 from mihailstumkins/fix/incorrect-bearer-token-format
Cloned https://github.com/vapor-community/jwt-provider.git
Revision (git rev-parse @):
f648dd6814970d9c7b27b79e9ce62699561d8d14
SUCCESS checkout https://github.com/vapor-community/jwt-provider.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/vapor-community/jwt-provider.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/auth-provider.git
Fetching https://github.com/vapor/vapor.git
Fetching https://github.com/vapor/jwt.git
[1/2651] Fetching jwt
[2652/2913] Fetching jwt, auth-provider
Fetched https://github.com/vapor/auth-provider.git from cache (0.24s)
Fetched https://github.com/vapor/jwt.git from cache (0.24s)
[1/70129] Fetching vapor
Fetched https://github.com/vapor/vapor.git from cache (1.55s)
Computing version for https://github.com/vapor/auth-provider.git
Computed https://github.com/vapor/auth-provider.git at 1.2.0 (0.43s)
Fetching https://github.com/vapor/auth.git
[1/1048] Fetching auth
Fetched https://github.com/vapor/auth.git from cache (0.17s)
Computing version for https://github.com/vapor/auth.git
Computed https://github.com/vapor/auth.git at 1.2.1 (0.47s)
Fetching https://github.com/vapor/fluent.git
[1/13400] Fetching fluent
Fetched https://github.com/vapor/fluent.git from cache (0.44s)
Computing version for https://github.com/vapor/jwt.git
Computed https://github.com/vapor/jwt.git at 2.3.0 (0.44s)
Fetching https://github.com/vapor/json.git
Fetching https://github.com/vapor/crypto.git
[1/2786] Fetching crypto
[308/3784] Fetching crypto, json
Fetched https://github.com/vapor/crypto.git from cache (0.24s)
[619/998] Fetching json
Fetched https://github.com/vapor/json.git from cache (0.38s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 2.1.3 (0.45s)
Fetching https://github.com/vapor/ctls.git
Fetching https://github.com/vapor/random.git
[1/71] Fetching ctls
[72/219] Fetching ctls, random
Fetched https://github.com/vapor/ctls.git from cache (0.19s)
Fetched https://github.com/vapor/random.git from cache (0.19s)
Computing version for https://github.com/vapor/random.git
Computed https://github.com/vapor/random.git at 1.2.0 (0.47s)
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (0.63s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (0.43s)
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/debugging.git
Fetching https://github.com/vapor/bits.git
[1/260] Fetching debugging
[27/618] Fetching debugging, bits
Fetched https://github.com/vapor/bits.git from cache (0.18s)
Fetched https://github.com/vapor/debugging.git from cache (0.18s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.50s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.57s)
Computing version for https://github.com/vapor/json.git
Computed https://github.com/vapor/json.git at 2.2.2 (0.44s)
Fetching https://github.com/vapor/node.git
[1/4211] Fetching node
Fetched https://github.com/vapor/node.git from cache (0.30s)
Computing version for https://github.com/vapor/node.git
Computed https://github.com/vapor/node.git at 2.1.5 (0.48s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 2.4.5 (0.51s)
Fetching https://github.com/vapor/engine.git
Fetching https://github.com/vapor/console.git
Fetching https://github.com/vapor/routing.git
Fetching https://github.com/vapor/bcrypt.git
Fetching https://github.com/vapor/multipart.git
[1/99] Fetching bcrypt
[100/5569] Fetching bcrypt, console
[155/7497] Fetching bcrypt, console, multipart
[416/28187] Fetching bcrypt, console, multipart, routing
[4556/53654] Fetching bcrypt, console, multipart, routing, engine
Fetched https://github.com/vapor/bcrypt.git from cache (0.25s)
[13470/53555] Fetching console, multipart, routing, engine
Fetched https://github.com/vapor/routing.git from cache (0.96s)
[31458/32865] Fetching console, multipart, engine
Fetched https://github.com/vapor/engine.git from cache (2.40s)
Fetched https://github.com/vapor/console.git from cache (2.84s)
Fetched https://github.com/vapor/multipart.git from cache (2.89s)
Computing version for https://github.com/vapor/bcrypt.git
Computed https://github.com/vapor/bcrypt.git at 1.1.1 (2.30s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 2.2.1 (0.49s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 2.2.1 (0.84s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 2.3.1 (0.72s)
Computing version for https://github.com/vapor/engine.git
Computed https://github.com/vapor/engine.git at 2.2.5 (0.52s)
Fetching https://github.com/vapor/sockets.git
Fetching https://github.com/vapor/tls.git
[1/3312] Fetching sockets
[3313/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.25s)
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.58s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 2.5.1 (0.54s)
Fetching https://github.com/vapor/sqlite.git
[1/2112] Fetching sqlite
Fetched https://github.com/vapor/sqlite.git from cache (0.70s)
Computing version for https://github.com/vapor/sqlite.git
Computed https://github.com/vapor/sqlite.git at 2.3.1 (0.48s)
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/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
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/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.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
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/sqlite.git
Working copy of https://github.com/vapor/sqlite.git resolved at 2.3.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/json.git
Working copy of https://github.com/vapor/json.git resolved at 2.2.2
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/bcrypt.git
Working copy of https://github.com/vapor/bcrypt.git resolved at 1.1.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/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/sockets.git
Working copy of https://github.com/vapor/sockets.git resolved at 2.2.3
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/jwt.git
Working copy of https://github.com/vapor/jwt.git resolved at 2.3.0
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/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 2.2.1
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/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 2.1.3
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.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/37] Write sources
[34/37] Compiling CHTTP http_parser.c
[35/37] Write swift-version-24593BA9C3E375BF.txt
[37/62] Emitting module Debugging
[38/62] Emitting module PathIndexable
[38/62] Compiling CSQLite sqlite3.c
[40/62] Emitting module Bits
[41/64] Compiling Debugging Debuggable.swift
[42/65] Compiling Bits Operators.swift
[43/65] Compiling Bits String+BytesConvertible.swift
[45/65] Compiling PathIndexable PathIndexable+Subscripting.swift
[46/65] Compiling PathIndexable PathIndexable.swift
[48/66] Compiling Bits UnsignedInteger+BytesConvertible.swift
[49/66] Compiling Bits UnsignedInteger+Shifting.swift
[50/66] Compiling Bits Aliases.swift
[51/66] Compiling Bits Base64Encoder.swift
[52/66] Compiling Bits Byte+Alphabet.swift
[53/66] Compiling libc libc.swift
[54/66] Emitting module libc
[56/67] Compiling Bits Byte+ControlCharacters.swift
[57/67] Compiling Bits Byte+Convenience.swift
[58/67] Compiling Bits Byte+PatternMatching.swift
[59/67] Compiling Bits Bytes+Base64.swift
[60/67] Compiling Bits Bytes+Hex.swift
[61/67] Compiling Bits Bytes+Percent.swift
[62/67] Compiling Bits BytesConvertible.swift
[63/67] Compiling Bits Data+BytesConvertible.swift
[64/67] Compiling Bits HexEncoder.swift
[65/67] Compiling Bits Byte+Random.swift
[66/67] Compiling Bits Byte+UTF8Numbers.swift
[67/67] Compiling Bits ByteSequence+Conversions.swift
[69/90] Emitting module Core
[70/92] Compiling Core Result.swift
[71/92] Compiling Core Semaphore.swift
[72/92] Compiling Core Sequence.swift
[73/92] Compiling Core Collection+Safe.swift
[74/92] Compiling Core DataFile.swift
[75/92] Compiling Core Dispatch.swift
[76/92] Compiling Core String.swift
[77/92] Compiling Core WorkingDirectory.swift
[78/92] Compiling Core Lock.swift
[79/92] Compiling Core Portal.swift
[80/92] Compiling Core RFC1123.swift
[81/92] Compiling Core StaticDataBuffer.swift
[82/92] Compiling Core String+CaseInsensitiveCompare.swift
[83/92] Compiling Core String+Polymorphic.swift
[84/92] Compiling Core DispatchTime+Utilities.swift
[85/92] Compiling Core EmptyInitializable.swift
[86/92] Compiling Core Exports.swift
[87/92] Compiling Core Extendable.swift
[88/92] Compiling Core FileProtocol.swift
[89/92] Compiling Core Int+Hex.swift
[90/92] Compiling Core Array.swift
[91/92] Compiling Core Bits.swift
[92/92] Compiling Core Cache.swift
[94/178] Compiling Transport ServerStream.swift
[95/179] Compiling Random EmptyInitializable.swift
[96/179] Compiling Console Swift3.swift
[97/179] Compiling Console ConsoleColor+Terminal.swift
[98/179] Compiling Console ConsoleStyle+Terminal.swift
[99/179] Compiling Console String+ANSI.swift
[100/183] Compiling Transport ReadableStream.swift
[101/183] Compiling Transport FoundationStream.swift
[102/183] Compiling Transport StreamError.swift
[103/183] Compiling Transport Stream.swift
[104/183] Compiling Console LoadingBar.swift
[105/183] Compiling Console Console+ProgressBar.swift
[106/183] Emitting module Transport
[107/183] Compiling Console Bar.swift
[108/183] Compiling Console Console+LoadingBar.swift
[109/183] Compiling Random RandomProtocol.swift
[110/183] Emitting module Random
[111/183] Compiling Random URandom.swift
[112/183] Compiling Random Exports.swift
[113/183] Compiling Random OSRandom.swift
[114/183] Compiling Random Array+Random.swift
[115/183] Compiling Transport WriteableStream.swift
[116/185] Compiling Console ConsoleStyle.swift
[117/185] Compiling Console FileHandle+Stream.swift
[118/185] Compiling Console Pipe+Stream.swift
[119/185] Compiling Console Stream.swift
[122/185] Compiling Console Terminal+Command.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
[123/185] Compiling Console Terminal.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
[124/185] Compiling Console Bool+Polymorphic.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
[125/185] Compiling Console String+Trim.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
[126/185] Compiling Console Argument.swift
[127/185] Compiling Console Command+Print.swift
[128/185] Compiling Console Command.swift
[129/185] Compiling Console Group.swift
[130/185] Compiling Console Option.swift
[136/185] Emitting module Node
[141/185] Compiling Console ProgressBar.swift
[142/189] Compiling Console Console+Run.swift
[143/189] Compiling Console ConsoleError.swift
[144/189] Compiling Console ConsoleProtocol.swift
[145/189] Compiling Console Console+ConsoleStyle.swift
[146/189] Compiling Console Runnable.swift
[147/189] Compiling Console Value.swift
[148/189] Compiling Console ConsoleClear.swift
[149/189] Compiling Console ConsoleColor.swift
[150/189] Compiling Console Console+Ask.swift
[151/189] Compiling Console Console+Center.swift
[152/189] Compiling Console Console+Confirm.swift
[153/189] Compiling Console Console+Ephemeral.swift
[154/189] Compiling Console Console+Options.swift
[155/189] Compiling Console Console+Print.swift
[170/189] Emitting module Console
BUILD FAILURE 6.0 linux