Build Information
Failed to build SkelpoMiddleware with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.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: 5.10
Building package at path: $workDir
https://github.com/skelpo/skelpomiddleware.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/vapor/random.git
Fetching https://github.com/vapor/jwt.git
Fetching https://github.com/vapor/tls.git
Fetching https://github.com/vapor/ctls.git
Fetching https://github.com/vapor/engine.git
Fetching https://github.com/vapor/jwt-provider.git
[1/2429] Fetching jwt
[366/2577] Fetching jwt, random
[2360/3032] Fetching jwt, random, jwt-provider
[3033/4176] Fetching jwt, random, jwt-provider, tls
[3136/29643] Fetching jwt, random, jwt-provider, tls, engine
[6215/29714] Fetching jwt, random, jwt-provider, tls, engine, ctls
Fetched https://github.com/vapor/random.git from cache (0.44s)
Fetching https://github.com/vapor/auth-provider.git
[9448/29566] Fetching jwt, jwt-provider, tls, engine, ctls
[24474/29828] Fetching jwt, jwt-provider, tls, engine, ctls, auth-provider
Fetched https://github.com/vapor/auth-provider.git from cache (0.33s)
Fetching https://github.com/vapor/multipart.git
[24728/29566] Fetching jwt, jwt-provider, tls, engine, ctls
[29567/31266] Fetching jwt, jwt-provider, tls, engine, ctls, multipart
Fetched https://github.com/vapor/ctls.git from cache (1.32s)
Fetching https://github.com/vapor/console.git
Fetched https://github.com/vapor/tls.git from cache (1.32s)
Fetching https://github.com/vapor/json.git
Fetched https://github.com/vapor/jwt.git from cache (1.32s)
Fetching https://github.com/vapor/fluent.git
Fetched https://github.com/vapor/jwt-provider.git from cache (1.33s)
Fetching https://github.com/vapor/bcrypt.git
Fetched https://github.com/vapor/engine.git from cache (1.36s)
Fetching https://github.com/vapor/core.git
[511/15005] Fetching multipart, fluent
[1842/35148] Fetching multipart, fluent, core
[1843/36146] Fetching multipart, fluent, core, json
[2197/41424] Fetching multipart, fluent, core, json, console
[4076/41523] Fetching multipart, fluent, core, json, console, bcrypt
Fetched https://github.com/vapor/bcrypt.git from cache (0.54s)
Fetching https://github.com/vapor/bits.git
[27834/41424] Fetching multipart, fluent, core, json, console
[39244/41782] Fetching multipart, fluent, core, json, console, bits
Fetched https://github.com/vapor/bits.git from cache (0.33s)
Fetching https://github.com/vapor/node.git
Fetched https://github.com/vapor/json.git from cache (1.00s)
Fetching https://github.com/vapor/vapor.git
Fetched https://github.com/vapor/console.git from cache (1.01s)
Fetching https://github.com/vapor/debugging.git
Fetched https://github.com/vapor/fluent.git from cache (1.02s)
Fetching https://github.com/vapor/routing.git
[20670/21843] Fetching multipart, core
[21844/26054] Fetching multipart, core, node
[26055/26314] Fetching multipart, core, node, debugging
[26284/46982] Fetching multipart, core, node, debugging, routing
Fetched https://github.com/vapor/multipart.git from cache (2.07s)
Fetching https://github.com/vapor/sqlite.git
[28097/45282] Fetching core, node, debugging, routing
Fetched https://github.com/vapor/core.git from cache (1.53s)
Fetching https://github.com/vapor/sockets.git
[11674/25139] Fetching node, debugging, routing
Fetched https://github.com/vapor/node.git from cache (0.70s)
[7877/20928] Fetching debugging, routing
Fetching https://github.com/vapor/crypto.git
[16145/88205] Fetching debugging, routing, vapor
[18837/90216] Fetching debugging, routing, vapor, sqlite
[24156/93002] Fetching debugging, routing, vapor, sqlite, crypto
[25108/96314] Fetching debugging, routing, vapor, sqlite, crypto, sockets
Fetched https://github.com/vapor/crypto.git from cache (0.46s)
Fetching https://github.com/vapor/auth.git
Fetched https://github.com/vapor/sockets.git from cache (0.48s)
[36364/90216] Fetching debugging, routing, vapor, sqlite
[39056/91264] Fetching debugging, routing, vapor, sqlite, auth
Fetched https://github.com/vapor/sqlite.git from cache (0.84s)
[38061/89253] Fetching debugging, routing, vapor, auth
Fetched https://github.com/vapor/auth.git from cache (0.40s)
[38390/88205] Fetching debugging, routing, vapor
Fetched https://github.com/vapor/debugging.git from cache (1.45s)
[39506/87945] Fetching routing, vapor
Fetched https://github.com/vapor/routing.git from cache (1.45s)
[20856/67277] Fetching vapor
Fetched https://github.com/vapor/vapor.git from cache (2.71s)
Computing version for https://github.com/vapor/jwt-provider.git
Computed https://github.com/vapor/jwt-provider.git at 1.3.0 (0.41s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 2.4.0 (0.44s)
Computing version for https://github.com/vapor/auth-provider.git
Computed https://github.com/vapor/auth-provider.git at 1.2.0 (0.40s)
Computing version for https://github.com/vapor/jwt.git
Computed https://github.com/vapor/jwt.git at 2.3.0 (0.40s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 2.2.0 (0.44s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 2.1.1 (0.40s)
Computing version for https://github.com/vapor/node.git
Computed https://github.com/vapor/node.git at 2.1.1 (0.40s)
Computing version for https://github.com/vapor/json.git
Computed https://github.com/vapor/json.git at 2.2.1 (0.42s)
Computing version for https://github.com/vapor/engine.git
Computed https://github.com/vapor/engine.git at 2.2.1 (0.42s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 2.1.1 (0.40s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.0 (0.41s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 2.3.0 (0.40s)
Computing version for https://github.com/vapor/bcrypt.git
Computed https://github.com/vapor/bcrypt.git at 1.1.0 (0.40s)
Computing version for https://github.com/vapor/auth.git
Computed https://github.com/vapor/auth.git at 1.2.1 (0.40s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.0 (0.40s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.0 (0.40s)
Computing version for https://github.com/vapor/random.git
Computed https://github.com/vapor/random.git at 1.2.0 (0.41s)
Computing version for https://github.com/vapor/sockets.git
Computed https://github.com/vapor/sockets.git at 2.2.1 (0.43s)
Computing version for https://github.com/vapor/tls.git
Computed https://github.com/vapor/tls.git at 2.1.1 (0.41s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.2 (0.39s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 2.4.2 (0.42s)
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/fluent.git
Working copy of https://github.com/vapor/fluent.git resolved at 2.4.2
Creating working copy for https://github.com/vapor/ctls.git
Working copy of https://github.com/vapor/ctls.git resolved at 1.1.2
Creating working copy for https://github.com/vapor/engine.git
Working copy of https://github.com/vapor/engine.git resolved at 2.2.1
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/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/auth.git
Working copy of https://github.com/vapor/auth.git resolved at 1.2.1
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.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/console.git
Working copy of https://github.com/vapor/console.git resolved at 2.3.0
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/sockets.git
Working copy of https://github.com/vapor/sockets.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/bcrypt.git
Working copy of https://github.com/vapor/bcrypt.git resolved at 1.1.0
Creating working copy for https://github.com/vapor/tls.git
Working copy of https://github.com/vapor/tls.git resolved at 2.1.1
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.0
Creating working copy for https://github.com/vapor/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 2.2.0
Creating working copy for https://github.com/vapor/node.git
Working copy of https://github.com/vapor/node.git resolved at 2.1.1
Creating working copy for https://github.com/vapor/json.git
Working copy of https://github.com/vapor/json.git resolved at 2.2.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/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 2.1.1
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.0
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 2.4.0
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 2.1.1
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: couldn't find pc file for ctls
Building for debugging...
[0/42] Write sources
[39/42] Compiling CHTTP http_parser.c
/host/spi-builder-workspace/.build/checkouts/sqlite/Sources/CSQLite/sqlite3.c:105368:38: warning: implicit conversion from 'long long' to 'double' changes value from 9223372036854775806 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
if( n==0 && r>=0 && r<LARGEST_INT64-1 ){
~~~~~~~~~~~~~~^~
/host/spi-builder-workspace/.build/checkouts/sqlite/Sources/CSQLite/sqlite3.c:105370:46: warning: implicit conversion from 'long long' to 'double' changes value from 9223372036854775806 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
}else if( n==0 && r<0 && (-r)<LARGEST_INT64-1 ){
~~~~~~~~~~~~~~^~
2 warnings generated.
[40/42] Write swift-version-24593BA9C3E375BF.txt
[40/42] Compiling CSQLite sqlite3.c
[43/67] Emitting module Bits
[44/69] Compiling Bits Operators.swift
[45/69] Compiling Bits String+BytesConvertible.swift
[46/69] Emitting module Debugging
[47/69] Compiling Debugging Debuggable.swift
[48/70] Compiling PathIndexable PathIndexable.swift
[49/70] Compiling PathIndexable PathIndexable+Subscripting.swift
[50/70] Emitting module PathIndexable
[53/71] Compiling Bits UnsignedInteger+BytesConvertible.swift
[54/71] Compiling Bits UnsignedInteger+Shifting.swift
[55/71] Compiling Bits Byte+ControlCharacters.swift
[56/71] Compiling Bits Byte+Convenience.swift
[57/71] Compiling Bits Byte+PatternMatching.swift
[58/71] Compiling Bits Aliases.swift
[59/71] Compiling Bits Base64Encoder.swift
[60/71] Compiling Bits Byte+Alphabet.swift
[61/71] Compiling Bits Data+BytesConvertible.swift
[62/71] Compiling Bits HexEncoder.swift
[63/71] Compiling Bits Bytes+Percent.swift
[64/71] Compiling Bits BytesConvertible.swift
[65/71] Compiling Bits Byte+Random.swift
[66/71] Compiling Bits Byte+UTF8Numbers.swift
[67/71] Compiling Bits ByteSequence+Conversions.swift
[68/71] Compiling Bits Bytes+Base64.swift
[69/71] Compiling Bits Bytes+Hex.swift
[70/72] Emitting module libc
[71/72] Compiling libc libc.swift
[74/95] Compiling Core DispatchTime+Utilities.swift
[75/95] Compiling Core EmptyInitializable.swift
[76/95] Compiling Core Exports.swift
[77/97] Emitting module Core
[78/97] Compiling Core Result.swift
[79/97] Compiling Core Semaphore.swift
[80/97] Compiling Core Sequence.swift
[81/97] Compiling Core Extendable.swift
[82/97] Compiling Core FileProtocol.swift
[83/97] Compiling Core Int+Hex.swift
[84/97] Compiling Core Lock.swift
[85/97] Compiling Core Portal.swift
[86/97] Compiling Core RFC1123.swift
[87/97] Compiling Core String.swift
[88/97] Compiling Core WorkingDirectory.swift
[89/97] Compiling Core Collection+Safe.swift
[90/97] Compiling Core DataFile.swift
[91/97] Compiling Core Dispatch.swift
[92/97] Compiling Core StaticDataBuffer.swift
[93/97] Compiling Core String+CaseInsensitiveCompare.swift
[94/97] Compiling Core String+Polymorphic.swift
[95/97] Compiling Core Array.swift
[96/97] Compiling Core Bits.swift
[97/97] Compiling Core Cache.swift
[99/183] Compiling Random URandom.swift
[100/183] Compiling Random RandomProtocol.swift
[101/183] Compiling Transport Stream.swift
[102/183] Compiling Transport StreamError.swift
[103/184] Compiling Random Array+Random.swift
[104/184] Emitting module Random
[105/184] Compiling Random EmptyInitializable.swift
[106/184] Compiling Random Exports.swift
[107/184] Compiling Random OSRandom.swift
[109/185] Compiling Transport ReadableStream.swift
[110/185] Compiling Node Getters.swift
[111/185] Compiling Node Setters.swift
[112/185] Compiling Transport ServerStream.swift
[113/185] Compiling Node Bool+Convertible.swift
[114/185] Compiling Node Date+Convertible.swift
[115/185] Compiling Transport FoundationStream.swift
[116/185] Emitting module Transport
[117/185] Compiling Node StructuredDataWrapper+Cases.swift
[118/185] Compiling Node StructuredDataWrapper+Convenience.swift
[119/185] Compiling Node StructuredDataWrapper+Equatable.swift
[120/185] Compiling Node StructuredDataWrapper+Literals.swift
[121/185] Compiling Transport WriteableStream.swift
[122/190] Compiling Node StructuredData+Init.swift
[123/190] Compiling Node StructuredData+PathIndexable.swift
[124/190] Compiling Node StructuredData+Polymorphic.swift
[125/190] Compiling Node StructuredData.swift
[127/190] Emitting module Node
[135/199] Compiling Console Terminal+Command.swift
[136/199] Compiling Console Terminal.swift
[137/212] Compiling Crypto Cipher+Method.swift
[138/212] Compiling Crypto Cipher.swift
[139/212] Compiling Crypto ByteStream.swift
[140/212] Compiling Crypto Exports.swift
[141/212] Compiling Crypto Helpers.swift
[142/216] Compiling Crypto HMAC+Method.swift
[143/216] Compiling Crypto HMAC.swift
[144/216] Compiling Crypto Hash+Method.swift
[145/216] Compiling Crypto Hash.swift
[146/216] Compiling Crypto Hash+Random.swift
[147/216] Compiling Node UnsignedInteger+Convertible.swift
[148/216] Compiling Node Context.swift
[149/216] Compiling Node Node.swift
[150/216] Compiling Node NodeConvertible.swift
[156/216] Compiling BCrypt Export.swift
[157/217] Compiling Node NodeRepresentable.swift
[158/217] Compiling Node Array+Convertible.swift
[159/217] Compiling Node Dictionary+Convertible.swift
[160/217] Compiling Node Fuzzy+Any.swift
[161/217] Compiling Node FuzzyConverter.swift
[162/217] Compiling Node NodeInitializable.swift
[163/217] Compiling Node Optional+Convertible.swift
[164/217] Compiling Node Set+Convertible.swift
[165/217] Compiling Node Number.swift
[166/217] Compiling Node StructuredData+Equatable.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>')
let spawned = posix_spawnp(pid, argv[0], &fileActions, nil, argv + [nil], env + [nil])
^
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Terminal/Terminal.swift:147:45: note: coalesce using '??' to provide a default when the optional value contains 'nil'
let spawned = posix_spawnp(pid, argv[0], &fileActions, nil, argv + [nil], env + [nil])
^
?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Terminal/Terminal.swift:147:45: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
let spawned = posix_spawnp(pid, argv[0], &fileActions, nil, argv + [nil], env + [nil])
^
!
/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>')
let spawned = posix_spawnp(pid, argv[0], &fileActions, nil, argv + [nil], env + [nil])
^
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Terminal/Terminal.swift:147:45: note: coalesce using '??' to provide a default when the optional value contains 'nil'
let spawned = posix_spawnp(pid, argv[0], &fileActions, nil, argv + [nil], env + [nil])
^
?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Terminal/Terminal.swift:147:45: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
let spawned = posix_spawnp(pid, argv[0], &fileActions, nil, argv + [nil], env + [nil])
^
!
[169/217] 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>')
let spawned = posix_spawnp(pid, argv[0], &fileActions, nil, argv + [nil], env + [nil])
^
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Terminal/Terminal.swift:147:45: note: coalesce using '??' to provide a default when the optional value contains 'nil'
let spawned = posix_spawnp(pid, argv[0], &fileActions, nil, argv + [nil], env + [nil])
^
?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Terminal/Terminal.swift:147:45: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
let spawned = posix_spawnp(pid, argv[0], &fileActions, nil, argv + [nil], env + [nil])
^
!
[170/217] 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>')
let spawned = posix_spawnp(pid, argv[0], &fileActions, nil, argv + [nil], env + [nil])
^
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Terminal/Terminal.swift:147:45: note: coalesce using '??' to provide a default when the optional value contains 'nil'
let spawned = posix_spawnp(pid, argv[0], &fileActions, nil, argv + [nil], env + [nil])
^
?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Terminal/Terminal.swift:147:45: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
let spawned = posix_spawnp(pid, argv[0], &fileActions, nil, argv + [nil], env + [nil])
^
!
[171/217] Emitting module Console
[177/217] Compiling BCrypt Convenience.swift
[178/217] Compiling BCrypt Serializer.swift
[179/220] Compiling BCrypt Salt.swift
[180/245] Compiling BCrypt Keys.swift
[181/245] Compiling BCrypt Parser.swift
[184/245] Compiling Node Exports.swift
[185/245] Compiling Node Identifier.swift
[191/245] Compiling Sockets RawSocket.swift
[192/245] Compiling Sockets Select.swift
[193/245] Compiling Sockets Socket.swift
[194/245] Compiling Sockets TCPReadableSocket.swift
[195/245] Compiling Sockets TCPSocket.swift
[196/245] Compiling Sockets InternetSocket.swift
[197/245] Compiling Sockets Pipe.swift
[198/245] Compiling Sockets SocketOptions.swift
[199/245] Compiling Sockets TCPEstablishedSocket.swift
[200/245] Compiling Sockets TCPInternetSocket.swift
[201/245] Emitting module URI
[202/245] Compiling URI URI+Byte.swift
[203/245] Compiling URI URI+Modification.swift
[207/248] Compiling Sockets Conversions.swift
[208/248] Compiling Sockets Error.swift
[209/248] Emitting module BCrypt
[210/248] Compiling URI URI+Ports.swift
[211/248] Compiling URI URI+String.swift
[212/248] Compiling URI Parser.swift
[213/248] Compiling URI URI.swift
error: fatalError
error: emit-module command failed with exit code 1 (use -v to see invocation)
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: couldn't find pc file for ctls
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/42] Emitting module URI
[3/43] Compiling Console String+Trim.swift
[4/43] Compiling Console Bool+Polymorphic.swift
[6/58] Compiling Console Console+Ask.swift
[7/58] Compiling Sockets SocketOptions.swift
[8/60] Compiling Console Command+Print.swift
[9/60] Compiling Console Command.swift
[10/60] Compiling Console Group.swift
[11/61] Compiling Console ProgressBar.swift
[12/61] Compiling Console Argument.swift
[13/61] Compiling Console Bar.swift
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC+Method.swift:23:28: error: cannot find type 'EVP_MD' in scope
var evp: UnsafePointer<EVP_MD> {
^~~~~~
[14/61] Compiling Console Console+LoadingBar.swift
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC+Method.swift:23:28: error: cannot find type 'EVP_MD' in scope
var evp: UnsafePointer<EVP_MD> {
^~~~~~
[15/62] Compiling Crypto PseudoRandom.swift
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:25:23: error: cannot find 'HMAC_CTX' in scope
var context = HMAC_CTX()
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:26:9: error: cannot find 'HMAC_CTX_init' in scope
HMAC_CTX_init(&context)
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC+Method.swift:23:28: error: cannot find type 'EVP_MD' in scope
var evp: UnsafePointer<EVP_MD> {
^~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:28:22: error: cannot convert value of type '_' to expected argument type 'OpaquePointer?'
HMAC_Init_ex(&context, key, Int32(key.count), method.evp, nil)
^
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:32:25: error: cannot convert value of type '_' to expected argument type 'OpaquePointer?'
HMAC_Update(&context, bytes, bytes.count)
^
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:38:20: error: cannot convert value of type '_' to expected argument type 'OpaquePointer?'
HMAC_Final(&context, &digest, &length);
^
[19/62] Compiling Console Console+Center.swift
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:25:23: error: cannot find 'HMAC_CTX' in scope
var context = HMAC_CTX()
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:26:9: error: cannot find 'HMAC_CTX_init' in scope
HMAC_CTX_init(&context)
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC+Method.swift:23:28: error: cannot find type 'EVP_MD' in scope
var evp: UnsafePointer<EVP_MD> {
^~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:28:22: error: cannot convert value of type '_' to expected argument type 'OpaquePointer?'
HMAC_Init_ex(&context, key, Int32(key.count), method.evp, nil)
^
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:32:25: error: cannot convert value of type '_' to expected argument type 'OpaquePointer?'
HMAC_Update(&context, bytes, bytes.count)
^
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:38:20: error: cannot convert value of type '_' to expected argument type 'OpaquePointer?'
HMAC_Final(&context, &digest, &length);
^
[20/62] Compiling Sockets TCPReadableSocket.swift
[21/63] Compiling Console Terminal+Command.swift
[22/63] Emitting module Console
[23/66] 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>')
let spawned = posix_spawnp(pid, argv[0], &fileActions, nil, argv + [nil], env + [nil])
^
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Terminal/Terminal.swift:147:45: note: coalesce using '??' to provide a default when the optional value contains 'nil'
let spawned = posix_spawnp(pid, argv[0], &fileActions, nil, argv + [nil], env + [nil])
^
?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Terminal/Terminal.swift:147:45: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
let spawned = posix_spawnp(pid, argv[0], &fileActions, nil, argv + [nil], env + [nil])
^
!
[24/71] Compiling Crypto LibreSSLError.swift
[25/71] Compiling Console LoadingBar.swift
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher+Method.swift:144:35: error: cannot find type 'EVP_CIPHER' in scope
public var evp: UnsafePointer<EVP_CIPHER> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:71:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
UnsafeMutablePointer<EVP_CIPHER_CTX>,
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:72:27: error: cannot find type 'EVP_CIPHER' in scope
UnsafePointer<EVP_CIPHER>,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:77:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
UnsafeMutablePointer<EVP_CIPHER_CTX>,
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:84:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
UnsafeMutablePointer<EVP_CIPHER_CTX>,
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:23:26: error: cannot find 'EVP_CIPHER_key_length' in scope
let keyLen = Int(EVP_CIPHER_key_length(method.evp))
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:32:29: error: cannot find 'EVP_CIPHER_iv_length' in scope
let ivLen = Int(EVP_CIPHER_iv_length(method.evp))
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:89:19: error: cannot find 'EVP_CIPHER_CTX' in scope
var ctx = EVP_CIPHER_CTX()
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:125:13: error: cannot find 'EVP_CIPHER_CTX_cleanup' in scope
EVP_CIPHER_CTX_cleanup(&ctx)
^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:871:11: note: macro 'EVP_CIPHER_CTX_cleanup' unavailable: function like macros not supported
# define EVP_CIPHER_CTX_cleanup(c) EVP_CIPHER_CTX_reset(c)
^
[26/71] Compiling Console Console+ProgressBar.swift
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher+Method.swift:144:35: error: cannot find type 'EVP_CIPHER' in scope
public var evp: UnsafePointer<EVP_CIPHER> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:71:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
UnsafeMutablePointer<EVP_CIPHER_CTX>,
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:72:27: error: cannot find type 'EVP_CIPHER' in scope
UnsafePointer<EVP_CIPHER>,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:77:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
UnsafeMutablePointer<EVP_CIPHER_CTX>,
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:84:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
UnsafeMutablePointer<EVP_CIPHER_CTX>,
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:23:26: error: cannot find 'EVP_CIPHER_key_length' in scope
let keyLen = Int(EVP_CIPHER_key_length(method.evp))
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:32:29: error: cannot find 'EVP_CIPHER_iv_length' in scope
let ivLen = Int(EVP_CIPHER_iv_length(method.evp))
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:89:19: error: cannot find 'EVP_CIPHER_CTX' in scope
var ctx = EVP_CIPHER_CTX()
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:125:13: error: cannot find 'EVP_CIPHER_CTX_cleanup' in scope
EVP_CIPHER_CTX_cleanup(&ctx)
^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:871:11: note: macro 'EVP_CIPHER_CTX_cleanup' unavailable: function like macros not supported
# define EVP_CIPHER_CTX_cleanup(c) EVP_CIPHER_CTX_reset(c)
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/71] Emitting module Crypto
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher+Method.swift:144:35: error: cannot find type 'EVP_CIPHER' in scope
public var evp: UnsafePointer<EVP_CIPHER> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:71:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
UnsafeMutablePointer<EVP_CIPHER_CTX>,
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:72:27: error: cannot find type 'EVP_CIPHER' in scope
UnsafePointer<EVP_CIPHER>,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:77:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
UnsafeMutablePointer<EVP_CIPHER_CTX>,
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:84:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
UnsafeMutablePointer<EVP_CIPHER_CTX>,
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC+Method.swift:23:28: error: cannot find type 'EVP_MD' in scope
var evp: UnsafePointer<EVP_MD> {
^~~~~~
[28/71] Emitting module Node
[29/72] Compiling Sockets TCPSocket.swift
[31/72] Compiling Console Console+Confirm.swift
[32/72] Compiling Console Console+Ephemeral.swift
[33/72] Compiling Crypto Random.swift
[35/73] Compiling Console Option.swift
[36/73] Compiling Console Value.swift
error: fatalError
[38/74] Emitting module BCrypt
BUILD FAILURE 5.10 linux