Build Information
Successful build of MicroExpress, reference master (6cdd4c
), with Swift 6.0 for Linux on 28 Nov 2024 18:57:53 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/helje5/MicroExpress.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/helje5/MicroExpress
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 6cdd4cb Create LICENSE
Cloned https://github.com/helje5/MicroExpress.git
Revision (git rev-parse @):
6cdd4cbd284fb08fe49464330ff3674465973d73
SUCCESS checkout https://github.com/helje5/MicroExpress.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/helje5/MicroExpress.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 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-nio.git
[1/71999] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.50s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.45s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.18s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (0.40s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
[0/13] Write sources
[5/13] Compiling CNIODarwin shim.c
[5/13] Compiling CNIOLinux ifaddrs-android.c
[7/13] Compiling CNIOSHA1 c_nio_sha1.c
[8/13] Compiling CNIOLinux shim.c
[9/13] Compiling CNIOHTTPParser c_nio_http_parser.c
[10/13] Compiling CNIOZlib empty.c
[11/13] Write swift-version-24593BA9C3E375BF.txt
[12/16] Compiling c-atomics.c
[14/19] Compiling NIOPriorityQueue PriorityQueue.swift
[15/19] Emitting module NIOPriorityQueue
[16/19] Compiling NIOPriorityQueue Heap.swift
[17/20] Compiling NIOConcurrencyHelpers atomics.swift
[18/20] Emitting module NIOConcurrencyHelpers
[19/20] Compiling NIOConcurrencyHelpers lock.swift
[22/71] Compiling NIO Heap.swift
[23/71] Compiling NIO IO.swift
[24/71] Compiling NIO IOData.swift
[25/71] Compiling NIO IntegerTypes.swift
[26/71] Compiling NIO Interfaces.swift
[27/71] Compiling NIO Linux.swift
[28/71] Compiling NIO LinuxCPUSet.swift
[29/77] Compiling NIO ByteBuffer-int.swift
[30/77] Compiling NIO ByteBuffer-views.swift
[31/77] Compiling NIO Channel.swift
[32/77] Compiling NIO ChannelHandler.swift
[33/77] Compiling NIO ChannelHandlers.swift
[34/77] Compiling NIO ChannelInvoker.swift
[35/77] Compiling NIO ChannelOption.swift
[36/77] Emitting module NIO
[37/77] Compiling NIO RecvByteBufferAllocator.swift
[38/77] Compiling NIO Resolver.swift
[39/77] Compiling NIO Selectable.swift
[40/77] Compiling NIO Selector.swift
[41/77] Compiling NIO ServerSocket.swift
[42/77] Compiling NIO Socket.swift
[43/77] Compiling NIO SocketAddresses.swift
[44/77] Compiling NIO MarkedCircularBuffer.swift
[45/77] Compiling NIO MulticastChannel.swift
[46/77] Compiling NIO NIOAny.swift
[47/77] Compiling NIO NonBlockingFileIO.swift
[48/77] Compiling NIO PendingDatagramWritesManager.swift
[49/77] Compiling NIO PendingWritesManager.swift
[50/77] Compiling NIO PriorityQueue.swift
[51/77] Compiling NIO ChannelPipeline.swift
[52/77] Compiling NIO CircularBuffer.swift
[53/77] Compiling NIO Codec.swift
[54/77] Compiling NIO CompositeError.swift
[55/77] Compiling NIO ContiguousCollection.swift
[56/77] Compiling NIO DeadChannel.swift
[57/77] Compiling NIO Embedded.swift
[58/77] Compiling NIO EventLoop.swift
[59/77] Compiling NIO EventLoopFuture.swift
[60/77] Compiling NIO FileDescriptor.swift
[61/77] Compiling NIO FileHandle.swift
[62/77] Compiling NIO FileRegion.swift
[63/77] Compiling NIO GetaddrinfoResolver.swift
[64/77] Compiling NIO HappyEyeballs.swift
[65/77] Compiling NIO SocketChannel.swift
[66/77] Compiling NIO SocketOptionProvider.swift
[67/77] Compiling NIO System.swift
[68/77] Compiling NIO Thread.swift
[69/77] Compiling NIO TypeAssistedChannelHandler.swift
[70/77] Compiling NIO Utilities.swift
[71/77] Compiling NIO AddressedEnvelope.swift
[72/77] Compiling NIO BaseSocket.swift
[73/77] Compiling NIO BaseSocketChannel.swift
[74/77] Compiling NIO BlockingIOThreadPool.swift
[75/77] Compiling NIO Bootstrap.swift
[76/77] Compiling NIO ByteBuffer-aux.swift
[77/77] Compiling NIO ByteBuffer-core.swift
[79/87] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[80/88] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[81/88] Compiling NIOHTTP1 HTTPResponseCompressor.swift
[82/88] Compiling NIOHTTP1 HTTPUpgradeHandler.swift
[83/88] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[84/88] Compiling NIOHTTP1 HTTPTypes.swift
[85/88] Compiling NIOHTTP1 HTTPEncoder.swift
[86/88] Compiling NIOHTTP1 ByteCollectionUtils.swift
[87/88] Compiling NIOHTTP1 HTTPDecoder.swift
[88/88] Emitting module NIOHTTP1
[90/97] Compiling MicroExpress Middleware.swift
[91/97] Compiling MicroExpress IncomingMessage.swift
[92/97] Compiling MicroExpress QueryString.swift
/host/spi-builder-workspace/Sources/MicroExpress/QueryString.swift:24:25: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
22 | req.userInfo[paramDictKey] =
23 | Dictionary(grouping: queryItems, by: { $0.name })
24 | .mapValues { $0.flatMap({ $0.value })
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
25 | .joined(separator: ",") }
26 | }
[93/97] Emitting module MicroExpress
/host/spi-builder-workspace/Sources/MicroExpress/Express.swift:12:5: warning: 'init(numThreads:)' is deprecated: replaced by 'init(numberOfThreads:)'
10 |
11 | let loopGroup =
12 | MultiThreadedEventLoopGroup(numThreads: System.coreCount)
| |- warning: 'init(numThreads:)' is deprecated: replaced by 'init(numberOfThreads:)'
| `- note: use 'init(numberOfThreads:)' instead
13 |
14 | open func listen(_ port: Int) {
/host/spi-builder-workspace/Sources/MicroExpress/Router.swift:41:3: warning: 'public' modifier is redundant for instance method declared in a public extension
39 | /// Register a middleware which triggers on a `GET`
40 | /// with a specific path prefix.
41 | public func get(_ path: String = "",
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
42 | middleware: @escaping Middleware)
43 | {
/host/spi-builder-workspace/Sources/MicroExpress/ServerResponse.swift:62:3: warning: 'public' modifier is redundant for subscript declared in a public extension
60 | /// A more convenient header accessor. Not correct for
61 | /// any header.
62 | public subscript(name: String) -> String? {
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
63 | set {
64 | assert(!didWriteHeader, "header is out!")
[94/97] Compiling MicroExpress CORS.swift
[95/97] Compiling MicroExpress Express.swift
/host/spi-builder-workspace/Sources/MicroExpress/Express.swift:12:5: warning: 'init(numThreads:)' is deprecated: replaced by 'init(numberOfThreads:)'
10 |
11 | let loopGroup =
12 | MultiThreadedEventLoopGroup(numThreads: System.coreCount)
| |- warning: 'init(numThreads:)' is deprecated: replaced by 'init(numberOfThreads:)'
| `- note: use 'init(numberOfThreads:)' instead
13 |
14 | open func listen(_ port: Int) {
/host/spi-builder-workspace/Sources/MicroExpress/Express.swift:23:26: warning: 'addHTTPServerHandlers(first:)' is deprecated: Please use configureHTTPServerPipeline
21 |
22 | .childChannelInitializer { channel in
23 | channel.pipeline.addHTTPServerHandlers().then {
| `- warning: 'addHTTPServerHandlers(first:)' is deprecated: Please use configureHTTPServerPipeline
24 | channel.pipeline.add(handler:
25 | HTTPHandler(router: self))
[96/97] Compiling MicroExpress ServerResponse.swift
/host/spi-builder-workspace/Sources/MicroExpress/ServerResponse.swift:62:3: warning: 'public' modifier is redundant for subscript declared in a public extension
60 | /// A more convenient header accessor. Not correct for
61 | /// any header.
62 | public subscript(name: String) -> String? {
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
63 | set {
64 | assert(!didWriteHeader, "header is out!")
[97/97] Compiling MicroExpress Router.swift
/host/spi-builder-workspace/Sources/MicroExpress/Router.swift:41:3: warning: 'public' modifier is redundant for instance method declared in a public extension
39 | /// Register a middleware which triggers on a `GET`
40 | /// with a specific path prefix.
41 | public func get(_ path: String = "",
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
42 | middleware: @escaping Middleware)
43 | {
Build complete! (20.61s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
}
],
"manifest_display_name" : "MicroExpress",
"name" : "MicroExpress",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "MicroExpress",
"targets" : [
"MicroExpress"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MicroExpress",
"module_type" : "SwiftTarget",
"name" : "MicroExpress",
"path" : "Sources/MicroExpress",
"product_dependencies" : [
"NIO",
"NIOHTTP1"
],
"product_memberships" : [
"MicroExpress"
],
"sources" : [
"CORS.swift",
"Express.swift",
"IncomingMessage.swift",
"Middleware.swift",
"QueryString.swift",
"Router.swift",
"ServerResponse.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
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
Done.