The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build nio-h2, reference 0.1.0 (504a69), with Swift 6.1 for Linux on 25 Apr 2025 12:25:03 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/moritzsternemann/nio-h2.git
Reference: 0.1.0
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/moritzsternemann/nio-h2
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 504a69e Initial commit
Cloned https://github.com/moritzsternemann/nio-h2.git
Revision (git rev-parse @):
504a69e2b76a6173ceba63f817551712dcd55ac2
SUCCESS checkout https://github.com/moritzsternemann/nio-h2.git at 0.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/moritzsternemann/nio-h2.git
https://github.com/moritzsternemann/nio-h2.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio"
    },
    {
      "identity" : "swift-nio-ssl",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-ssl"
    },
    {
      "identity" : "swift-nio-http2",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "0.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-http2"
    }
  ],
  "manifest_display_name" : "nio-h2",
  "name" : "nio-h2",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "nio-h2-example",
      "targets" : [
        "NIOH2Example"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "NIOH2",
      "targets" : [
        "NIOH2"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NIOH2Example",
      "module_type" : "SwiftTarget",
      "name" : "NIOH2Example",
      "path" : "Sources/NIOH2Example",
      "product_memberships" : [
        "nio-h2-example"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "NIOH2"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "NIOH2",
      "module_type" : "SwiftTarget",
      "name" : "NIOH2",
      "path" : "Sources/NIOH2",
      "product_dependencies" : [
        "NIO",
        "NIOOpenSSL",
        "NIOHTTP1",
        "NIOHTTP2"
      ],
      "product_memberships" : [
        "nio-h2-example",
        "NIOH2"
      ],
      "sources" : [
        "ChannelHandlers/HTTP2ClientRequestSerializer.swift",
        "ChannelHandlers/HTTP2ClientResponseParser.swift",
        "ChannelHandlers/HTTP2StreamChannelCreator.swift",
        "ChannelHandlers/QueueHandler.swift",
        "Extensions/EventLoopFuture+DoCatch.swift",
        "Extensions/EventLoopFuture+FutureType.swift",
        "Extensions/EventLoopFuture+Map.swift",
        "Extensions/EventLoopGroup.swift",
        "Extensions/HTTPHeaders.swift",
        "Extensions/URL+HTTP.swift",
        "HTTP/HTTPBody.swift",
        "HTTP/HTTPMessage.swift",
        "HTTP/HTTPRequest.swift",
        "HTTP/HTTPResponse.swift",
        "HTTP2Client.swift",
        "Utils/HTTPHeaderName.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-nio-ssl
Fetching https://github.com/apple/swift-nio-http2
Fetching https://github.com/apple/swift-nio
[1/11492] Fetching swift-nio-http2
[2530/86923] Fetching swift-nio-http2, swift-nio
[2531/101716] Fetching swift-nio-http2, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl from cache (4.37s)
Fetched https://github.com/apple/swift-nio-http2 from cache (4.40s)
Fetched https://github.com/apple/swift-nio from cache (4.48s)
Computing version for https://github.com/apple/swift-nio-http2
Computed https://github.com/apple/swift-nio-http2 at 0.1.0 (6.99s)
Fetching https://github.com/apple/swift-nio-nghttp2-support.git
[1/10] Fetching swift-nio-nghttp2-support
Fetched https://github.com/apple/swift-nio-nghttp2-support.git from cache (0.22s)
Computing version for https://github.com/apple/swift-nio-nghttp2-support.git
Computed https://github.com/apple/swift-nio-nghttp2-support.git at 1.0.0 (1.00s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 1.4.0 (0.53s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
[1/16] Fetching swift-nio-ssl-support
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.19s)
Computing version for https://github.com/apple/swift-nio-ssl-support.git
Computed https://github.com/apple/swift-nio-ssl-support.git at 1.0.0 (0.86s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 1.14.4 (0.63s)
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.24s)
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.84s)
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 1.14.4
Creating working copy for https://github.com/apple/swift-nio-nghttp2-support.git
Working copy of https://github.com/apple/swift-nio-nghttp2-support.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-nio-http2
Working copy of https://github.com/apple/swift-nio-http2 resolved at 0.1.0
Creating working copy for https://github.com/apple/swift-nio-ssl
Working copy of https://github.com/apple/swift-nio-ssl resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-nio-ssl-support.git
Working copy of https://github.com/apple/swift-nio-ssl-support.git resolved at 1.0.0
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-nghttp2-support': ignoring declared target(s) 'swift-nio-nghttp2-support' in the system package
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: couldn't find pc file for libnghttp2
warning: couldn't find pc file for libnghttp2
Building for debugging...
[0/31] Write sources
[9/31] Compiling CNIONghttp2 empty.c
[10/31] Compiling CNIOZlib empty.c
[11/31] Compiling CNIODarwin shim.c
[12/31] Compiling CNIOLinux ifaddrs-android.c
[13/31] Compiling CNIOSHA1 c_nio_sha1.c
[14/31] Compiling CNIOLinux shim.c
[15/31] Write swift-version-24593BA9C3E375BF.txt
[16/31] Compiling CNIOHTTPParser c_nio_http_parser.c
[17/31] Compiling CNIOOpenSSL helpers.c
[18/31] Compiling CNIOOpenSSL shims.c
[19/34] Compiling c-atomics.c
[21/37] Emitting module NIOConcurrencyHelpers
[22/37] Compiling NIOPriorityQueue PriorityQueue.swift
[23/37] Compiling NIOConcurrencyHelpers atomics.swift
[24/37] Compiling NIOConcurrencyHelpers lock.swift
[25/38] Emitting module NIOPriorityQueue
[26/38] Compiling NIOPriorityQueue Heap.swift
[28/39] Wrapping AST for NIOConcurrencyHelpers for debugging
[29/39] Wrapping AST for NIOPriorityQueue for debugging
[31/89] Compiling NIO MarkedCircularBuffer.swift
[32/89] Compiling NIO MulticastChannel.swift
[33/89] Compiling NIO NIOAny.swift
[34/89] Compiling NIO NonBlockingFileIO.swift
[35/89] Compiling NIO PendingDatagramWritesManager.swift
[36/89] Compiling NIO PendingWritesManager.swift
[37/89] Compiling NIO PriorityQueue.swift
[38/89] Compiling NIO Heap.swift
[39/89] Compiling NIO IO.swift
[40/89] Compiling NIO IOData.swift
[41/89] Compiling NIO IntegerTypes.swift
[42/89] Compiling NIO Interfaces.swift
[43/89] Compiling NIO Linux.swift
[44/89] Compiling NIO LinuxCPUSet.swift
[45/89] Compiling NIO RecvByteBufferAllocator.swift
[46/89] Compiling NIO Resolver.swift
[47/89] Compiling NIO Selectable.swift
[48/89] Compiling NIO Selector.swift
[49/89] Compiling NIO ServerSocket.swift
[50/89] Compiling NIO Socket.swift
[51/89] Compiling NIO SocketAddresses.swift
[52/95] Compiling NIO ByteBuffer-int.swift
[53/95] Compiling NIO ByteBuffer-views.swift
[54/95] Compiling NIO Channel.swift
[55/95] Compiling NIO ChannelHandler.swift
[56/95] Compiling NIO ChannelHandlers.swift
[57/95] Compiling NIO ChannelInvoker.swift
[58/95] Compiling NIO ChannelOption.swift
[59/95] Compiling NIO ChannelPipeline.swift
[60/95] Compiling NIO CircularBuffer.swift
[61/95] Compiling NIO Codec.swift
[62/95] Compiling NIO CompositeError.swift
[63/95] Compiling NIO ContiguousCollection.swift
[64/95] Compiling NIO DeadChannel.swift
[65/95] Compiling NIO Embedded.swift
[66/95] Compiling NIO EventLoop.swift
[67/95] Compiling NIO EventLoopFuture.swift
[68/95] Compiling NIO FileDescriptor.swift
[69/95] Compiling NIO FileHandle.swift
[70/95] Compiling NIO FileRegion.swift
[71/95] Compiling NIO GetaddrinfoResolver.swift
[72/95] Compiling NIO HappyEyeballs.swift
[73/95] Compiling NIO AddressedEnvelope.swift
[74/95] Compiling NIO BaseSocket.swift
[75/95] Compiling NIO BaseSocketChannel.swift
[76/95] Compiling NIO BlockingIOThreadPool.swift
[77/95] Compiling NIO Bootstrap.swift
[78/95] Compiling NIO ByteBuffer-aux.swift
[79/95] Compiling NIO ByteBuffer-core.swift
[80/95] Emitting module NIO
[81/95] Compiling NIO SocketChannel.swift
[82/95] Compiling NIO SocketOptionProvider.swift
[83/95] Compiling NIO System.swift
[84/95] Compiling NIO Thread.swift
[85/95] Compiling NIO TypeAssistedChannelHandler.swift
[86/95] Compiling NIO Utilities.swift
[87/102] Wrapping AST for NIO for debugging
[89/109] Compiling NIOTLS TLSEvents.swift
[90/109] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[91/110] Emitting module NIOTLS
[92/110] Compiling NIOTLS SNIHandler.swift
[93/110] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[94/111] Compiling NIOHTTP1 HTTPUpgradeHandler.swift
[95/111] Compiling NIOHTTP1 HTTPResponseCompressor.swift
[96/111] Compiling NIOHTTP1 HTTPEncoder.swift
[98/111] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[99/111] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[100/111] Compiling NIOHTTP1 HTTPTypes.swift
[100/111] Wrapping AST for NIOTLS for debugging
[102/127] Emitting module NIOHTTP1
[103/127] Compiling NIOOpenSSL OpenSSLHandler.swift
[104/127] Compiling NIOOpenSSL OpenSSLServerHandler.swift
[105/128] Wrapping AST for NIOHTTP1 for debugging
[107/143] Compiling NIOHTTP2 HTTP2StreamMultiplexer.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[108/143] Compiling NIOHTTP2 HTTP2ToHTTP1Codec.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[109/145] Compiling NIOHTTP2 HTTP2PingData.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[110/145] Compiling NIOHTTP2 HTTP2PipelineHelpers.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[111/145] Compiling NIOHTTP2 HTTP2HeaderBlock.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[112/145] Compiling NIOHTTP2 HTTP2Parser.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[113/145] Compiling NIOHTTP2 HTTP2DataProvider.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[114/145] Compiling NIOHTTP2 HTTP2Error.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[115/145] Compiling NIOHTTP2 HTTP2ErrorCode.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[116/145] Compiling NIOHTTP2 HTTP2Frame.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
error: emit-module command failed with exit code 1 (use -v to see invocation)
[117/145] Emitting module NIOHTTP2
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[118/145] Compiling NIOHTTP2 HTTP2Settings.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[119/145] Compiling NIOHTTP2 HTTP2Stream.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[120/145] Compiling NIOHTTP2 HTTP2StreamChannel.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[121/145] Compiling NIOHTTP2 HTTP2StreamID.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[122/145] Compiling NIOHTTP2 HTTP2UserEvents.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[123/145] Compiling NIOHTTP2 NGHTTP2Session.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:308:29: error: cannot find 'SSL_get_peer_certificate' in scope
306 |     /// if available.
307 |     func getPeerCertificate() -> OpenSSLCertificate? {
308 |         guard let certPtr = SSL_get_peer_certificate(.make(optional: ssl)) else {
    |                             `- error: cannot find 'SSL_get_peer_certificate' in scope
309 |             return nil
310 |         }
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:308:55: error: cannot infer contextual base in reference to member 'make'
306 |     /// if available.
307 |     func getPeerCertificate() -> OpenSSLCertificate? {
308 |         guard let certPtr = SSL_get_peer_certificate(.make(optional: ssl)) else {
    |                                                       `- error: cannot infer contextual base in reference to member 'make'
309 |             return nil
310 |         }
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:130:34: error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
128 |         CNIOOpenSSL_SSL_CTX_set_mode(ctx, Int(SSL_MODE_RELEASE_BUFFERS | SSL_MODE_AUTO_RETRY))
129 |
130 |         var opensslOptions = Int(SSL_OP_NO_COMPRESSION)
    |                                  `- error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
131 |
132 |         // Handle TLS versions
/usr/include/openssl/ssl.h:387:10: note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
 385 | # define SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION   SSL_OP_BIT(16)
 386 |     /* Don't use compression even if supported */
 387 | # define SSL_OP_NO_COMPRESSION                           SSL_OP_BIT(17)
     |          `- note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
 388 |     /* Permit unsafe legacy renegotiation */
 389 | # define SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION        SSL_OP_BIT(18)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:135:35: error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
133 |         switch configuration.minimumTLSVersion {
134 |         case .tlsv13:
135 |             opensslOptions |= Int(SSL_OP_NO_TLSv1_2)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
136 |             fallthrough
137 |         case .tlsv12:
/usr/include/openssl/ssl.h:420:10: note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
     |          `- note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
 422 | # define SSL_OP_NO_TLSv1_3                               SSL_OP_BIT(29)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:138:35: error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
136 |             fallthrough
137 |         case .tlsv12:
138 |             opensslOptions |= Int(SSL_OP_NO_TLSv1_1)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
139 |             fallthrough
140 |         case .tlsv11:
/usr/include/openssl/ssl.h:421:10: note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
     |          `- note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
 422 | # define SSL_OP_NO_TLSv1_3                               SSL_OP_BIT(29)
 423 | # define SSL_OP_NO_DTLSv1                                SSL_OP_BIT(26)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:141:35: error: cannot find 'SSL_OP_NO_TLSv1' in scope
139 |             fallthrough
140 |         case .tlsv11:
141 |             opensslOptions |= Int(SSL_OP_NO_TLSv1)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1' in scope
142 |             fallthrough
143 |         case .tlsv1:
/usr/include/openssl/ssl.h:419:10: note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
 417 | # define SSL_OP_NO_ANTI_REPLAY                           SSL_OP_BIT(24)
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
     |          `- note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:144:35: error: cannot find 'SSL_OP_NO_SSLv3' in scope
142 |             fallthrough
143 |         case .tlsv1:
144 |             opensslOptions |= Int(SSL_OP_NO_SSLv3)
    |                                   `- error: cannot find 'SSL_OP_NO_SSLv3' in scope
145 |             fallthrough
146 |         case .sslv3:
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
 416 |      */
 417 | # define SSL_OP_NO_ANTI_REPLAY                           SSL_OP_BIT(24)
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
     |          `- note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:155:35: error: cannot find 'SSL_OP_NO_SSLv3' in scope
153 |         switch configuration.maximumTLSVersion {
154 |         case .some(.sslv2):
155 |             opensslOptions |= Int(SSL_OP_NO_SSLv3)
    |                                   `- error: cannot find 'SSL_OP_NO_SSLv3' in scope
156 |             fallthrough
157 |         case .some(.sslv3):
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
 416 |      */
 417 | # define SSL_OP_NO_ANTI_REPLAY                           SSL_OP_BIT(24)
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
     |          `- note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:158:35: error: cannot find 'SSL_OP_NO_TLSv1' in scope
156 |             fallthrough
157 |         case .some(.sslv3):
158 |             opensslOptions |= Int(SSL_OP_NO_TLSv1)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1' in scope
159 |             fallthrough
160 |         case .some(.tlsv1):
/usr/include/openssl/ssl.h:419:10: note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
 417 | # define SSL_OP_NO_ANTI_REPLAY                           SSL_OP_BIT(24)
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
     |          `- note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:161:35: error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
159 |             fallthrough
160 |         case .some(.tlsv1):
161 |             opensslOptions |= Int(SSL_OP_NO_TLSv1_1)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
162 |             fallthrough
163 |         case .some(.tlsv11):
/usr/include/openssl/ssl.h:421:10: note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
     |          `- note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
 422 | # define SSL_OP_NO_TLSv1_3                               SSL_OP_BIT(29)
 423 | # define SSL_OP_NO_DTLSv1                                SSL_OP_BIT(26)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:164:35: error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
162 |             fallthrough
163 |         case .some(.tlsv11):
164 |             opensslOptions |= Int(SSL_OP_NO_TLSv1_2)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
165 |             fallthrough
166 |         case .some(.tlsv12):
/usr/include/openssl/ssl.h:420:10: note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
     |          `- note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
 422 | # define SSL_OP_NO_TLSv1_3                               SSL_OP_BIT(29)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'swift-nio-nghttp2-support': ignoring declared target(s) 'swift-nio-nghttp2-support' in the system package
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: couldn't find pc file for libnghttp2
warning: couldn't find pc file for libnghttp2
[0/1] Planning build
Building for debugging...
[0/12] Write swift-version-24593BA9C3E375BF.txt
[2/18] Compiling NIOConcurrencyHelpers lock.swift
[3/18] Compiling NIOPriorityQueue PriorityQueue.swift
[4/18] Emitting module NIOPriorityQueue
[5/18] Compiling NIOPriorityQueue Heap.swift
[6/19] Emitting module NIOConcurrencyHelpers
[7/19] Compiling NIOConcurrencyHelpers atomics.swift
[9/19] Wrapping AST for NIOConcurrencyHelpers for debugging
[11/69] Compiling NIO ByteBuffer-int.swift
[12/69] Compiling NIO ByteBuffer-views.swift
[13/69] Compiling NIO Channel.swift
[14/69] Compiling NIO ChannelHandler.swift
[15/69] Compiling NIO ChannelHandlers.swift
[16/69] Compiling NIO ChannelInvoker.swift
[17/69] Compiling NIO ChannelOption.swift
[18/75] Emitting module NIO
[19/75] Compiling NIO ChannelPipeline.swift
[20/75] Compiling NIO CircularBuffer.swift
[21/75] Compiling NIO Codec.swift
[22/75] Compiling NIO CompositeError.swift
[23/75] Compiling NIO ContiguousCollection.swift
[24/75] Compiling NIO DeadChannel.swift
[25/75] Compiling NIO Embedded.swift
[26/75] Compiling NIO RecvByteBufferAllocator.swift
[27/75] Compiling NIO Resolver.swift
[28/75] Compiling NIO Selectable.swift
[29/75] Compiling NIO Selector.swift
[30/75] Compiling NIO ServerSocket.swift
[31/75] Compiling NIO Socket.swift
[32/75] Compiling NIO SocketAddresses.swift
[33/75] Compiling NIO EventLoop.swift
[34/75] Compiling NIO EventLoopFuture.swift
[35/75] Compiling NIO FileDescriptor.swift
[36/75] Compiling NIO FileHandle.swift
[37/75] Compiling NIO FileRegion.swift
[38/75] Compiling NIO GetaddrinfoResolver.swift
[39/75] Compiling NIO HappyEyeballs.swift
[40/75] Compiling NIO Heap.swift
[41/75] Compiling NIO IO.swift
[42/75] Compiling NIO IOData.swift
[43/75] Compiling NIO IntegerTypes.swift
[44/75] Compiling NIO Interfaces.swift
[45/75] Compiling NIO Linux.swift
[46/75] Compiling NIO LinuxCPUSet.swift
[47/75] Compiling NIO MarkedCircularBuffer.swift
[48/75] Compiling NIO MulticastChannel.swift
[49/75] Compiling NIO NIOAny.swift
[50/75] Compiling NIO NonBlockingFileIO.swift
[51/75] Compiling NIO PendingDatagramWritesManager.swift
[52/75] Compiling NIO PendingWritesManager.swift
[53/75] Compiling NIO PriorityQueue.swift
[54/75] Compiling NIO AddressedEnvelope.swift
[55/75] Compiling NIO BaseSocket.swift
[56/75] Compiling NIO BaseSocketChannel.swift
[57/75] Compiling NIO BlockingIOThreadPool.swift
[58/75] Compiling NIO Bootstrap.swift
[59/75] Compiling NIO ByteBuffer-aux.swift
[60/75] Compiling NIO ByteBuffer-core.swift
[61/75] Compiling NIO SocketChannel.swift
[62/75] Compiling NIO SocketOptionProvider.swift
[63/75] Compiling NIO System.swift
[64/75] Compiling NIO Thread.swift
[65/75] Compiling NIO TypeAssistedChannelHandler.swift
[66/75] Compiling NIO Utilities.swift
[67/86] Wrapping AST for NIO for debugging
[69/89] Compiling NIOTLS TLSEvents.swift
[70/89] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[71/89] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[72/90] Emitting module NIOTLS
[73/90] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[74/90] Compiling NIOTLS SNIHandler.swift
[75/90] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[76/90] Compiling NIOHTTP1 HTTPResponseCompressor.swift
[77/91] Compiling NIOHTTP1 HTTPUpgradeHandler.swift
[78/91] Compiling NIOHTTP1 HTTPEncoder.swift
[79/91] Compiling NIOHTTP1 HTTPTypes.swift
[81/90] Compiling NIOHTTP1 ByteCollectionUtils.swift
[82/90] Compiling NIOHTTP1 HTTPDecoder.swift
[83/90] Emitting module NIOHTTP1
[84/110] Wrapping AST for NIOHTTP1 for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[86/122] Emitting module NIOHTTP2
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[87/122] Compiling NIOHTTP2 HTTP2StreamMultiplexer.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[88/122] Compiling NIOHTTP2 HTTP2ToHTTP1Codec.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[89/122] Compiling NIOHTTP2 HTTP2DataProvider.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[90/122] Compiling NIOHTTP2 HTTP2Error.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[91/122] Compiling NIOHTTP2 HTTP2StreamChannel.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[92/122] Compiling NIOHTTP2 HTTP2StreamID.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[93/122] Compiling NIOHTTP2 HTTP2Settings.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[94/122] Compiling NIOHTTP2 HTTP2Stream.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[95/124] Compiling NIOHTTP2 HTTP2ErrorCode.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[96/124] Compiling NIOHTTP2 HTTP2Frame.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[97/124] Compiling NIOHTTP2 HTTP2HeaderBlock.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[98/124] Compiling NIOHTTP2 HTTP2Parser.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[99/124] Compiling NIOHTTP2 HTTP2PingData.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[100/124] Compiling NIOHTTP2 HTTP2PipelineHelpers.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:308:29: error: cannot find 'SSL_get_peer_certificate' in scope
306 |     /// if available.
307 |     func getPeerCertificate() -> OpenSSLCertificate? {
308 |         guard let certPtr = SSL_get_peer_certificate(.make(optional: ssl)) else {
    |                             `- error: cannot find 'SSL_get_peer_certificate' in scope
309 |             return nil
310 |         }
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:308:55: error: cannot infer contextual base in reference to member 'make'
306 |     /// if available.
307 |     func getPeerCertificate() -> OpenSSLCertificate? {
308 |         guard let certPtr = SSL_get_peer_certificate(.make(optional: ssl)) else {
    |                                                       `- error: cannot infer contextual base in reference to member 'make'
309 |             return nil
310 |         }
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:130:34: error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
128 |         CNIOOpenSSL_SSL_CTX_set_mode(ctx, Int(SSL_MODE_RELEASE_BUFFERS | SSL_MODE_AUTO_RETRY))
129 |
130 |         var opensslOptions = Int(SSL_OP_NO_COMPRESSION)
    |                                  `- error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
131 |
132 |         // Handle TLS versions
/usr/include/openssl/ssl.h:387:10: note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
 385 | # define SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION   SSL_OP_BIT(16)
 386 |     /* Don't use compression even if supported */
 387 | # define SSL_OP_NO_COMPRESSION                           SSL_OP_BIT(17)
     |          `- note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
 388 |     /* Permit unsafe legacy renegotiation */
 389 | # define SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION        SSL_OP_BIT(18)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:135:35: error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
133 |         switch configuration.minimumTLSVersion {
134 |         case .tlsv13:
135 |             opensslOptions |= Int(SSL_OP_NO_TLSv1_2)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
136 |             fallthrough
137 |         case .tlsv12:
/usr/include/openssl/ssl.h:420:10: note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
     |          `- note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
 422 | # define SSL_OP_NO_TLSv1_3                               SSL_OP_BIT(29)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:138:35: error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
136 |             fallthrough
137 |         case .tlsv12:
138 |             opensslOptions |= Int(SSL_OP_NO_TLSv1_1)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
139 |             fallthrough
140 |         case .tlsv11:
/usr/include/openssl/ssl.h:421:10: note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
     |          `- note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
 422 | # define SSL_OP_NO_TLSv1_3                               SSL_OP_BIT(29)
 423 | # define SSL_OP_NO_DTLSv1                                SSL_OP_BIT(26)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:141:35: error: cannot find 'SSL_OP_NO_TLSv1' in scope
139 |             fallthrough
140 |         case .tlsv11:
141 |             opensslOptions |= Int(SSL_OP_NO_TLSv1)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1' in scope
142 |             fallthrough
143 |         case .tlsv1:
/usr/include/openssl/ssl.h:419:10: note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
 417 | # define SSL_OP_NO_ANTI_REPLAY                           SSL_OP_BIT(24)
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
     |          `- note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:144:35: error: cannot find 'SSL_OP_NO_SSLv3' in scope
142 |             fallthrough
143 |         case .tlsv1:
144 |             opensslOptions |= Int(SSL_OP_NO_SSLv3)
    |                                   `- error: cannot find 'SSL_OP_NO_SSLv3' in scope
145 |             fallthrough
146 |         case .sslv3:
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
 416 |      */
 417 | # define SSL_OP_NO_ANTI_REPLAY                           SSL_OP_BIT(24)
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
     |          `- note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:155:35: error: cannot find 'SSL_OP_NO_SSLv3' in scope
153 |         switch configuration.maximumTLSVersion {
154 |         case .some(.sslv2):
155 |             opensslOptions |= Int(SSL_OP_NO_SSLv3)
    |                                   `- error: cannot find 'SSL_OP_NO_SSLv3' in scope
156 |             fallthrough
157 |         case .some(.sslv3):
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
 416 |      */
 417 | # define SSL_OP_NO_ANTI_REPLAY                           SSL_OP_BIT(24)
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
     |          `- note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:158:35: error: cannot find 'SSL_OP_NO_TLSv1' in scope
156 |             fallthrough
157 |         case .some(.sslv3):
158 |             opensslOptions |= Int(SSL_OP_NO_TLSv1)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1' in scope
159 |             fallthrough
160 |         case .some(.tlsv1):
/usr/include/openssl/ssl.h:419:10: note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
 417 | # define SSL_OP_NO_ANTI_REPLAY                           SSL_OP_BIT(24)
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
     |          `- note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:161:35: error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
159 |             fallthrough
160 |         case .some(.tlsv1):
161 |             opensslOptions |= Int(SSL_OP_NO_TLSv1_1)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
162 |             fallthrough
163 |         case .some(.tlsv11):
/usr/include/openssl/ssl.h:421:10: note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
     |          `- note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
 422 | # define SSL_OP_NO_TLSv1_3                               SSL_OP_BIT(29)
 423 | # define SSL_OP_NO_DTLSv1                                SSL_OP_BIT(26)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:164:35: error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
162 |             fallthrough
163 |         case .some(.tlsv11):
164 |             opensslOptions |= Int(SSL_OP_NO_TLSv1_2)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
165 |             fallthrough
166 |         case .some(.tlsv12):
/usr/include/openssl/ssl.h:420:10: note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
     |          `- note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
 422 | # define SSL_OP_NO_TLSv1_3                               SSL_OP_BIT(29)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:167:35: error: cannot find 'CNIOOpenSSL_SSL_OP_NO_TLSv1_3' in scope
165 |             fallthrough
166 |         case .some(.tlsv12):
167 |             opensslOptions |= Int(CNIOOpenSSL_SSL_OP_NO_TLSv1_3)
    |                                   `- error: cannot find 'CNIOOpenSSL_SSL_OP_NO_TLSv1_3' in scope
168 |         case .some(.tlsv13), .none:
169 |             break
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:308:29: error: cannot find 'SSL_get_peer_certificate' in scope
306 |     /// if available.
307 |     func getPeerCertificate() -> OpenSSLCertificate? {
308 |         guard let certPtr = SSL_get_peer_certificate(.make(optional: ssl)) else {
    |                             `- error: cannot find 'SSL_get_peer_certificate' in scope
309 |             return nil
310 |         }
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:308:55: error: cannot infer contextual base in reference to member 'make'
306 |     /// if available.
307 |     func getPeerCertificate() -> OpenSSLCertificate? {
308 |         guard let certPtr = SSL_get_peer_certificate(.make(optional: ssl)) else {
    |                                                       `- error: cannot infer contextual base in reference to member 'make'
309 |             return nil
310 |         }
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:130:34: error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
128 |         CNIOOpenSSL_SSL_CTX_set_mode(ctx, Int(SSL_MODE_RELEASE_BUFFERS | SSL_MODE_AUTO_RETRY))
129 |
130 |         var opensslOptions = Int(SSL_OP_NO_COMPRESSION)
    |                                  `- error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
131 |
132 |         // Handle TLS versions
/usr/include/openssl/ssl.h:387:10: note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
 385 | # define SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION   SSL_OP_BIT(16)
 386 |     /* Don't use compression even if supported */
 387 | # define SSL_OP_NO_COMPRESSION                           SSL_OP_BIT(17)
     |          `- note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
 388 |     /* Permit unsafe legacy renegotiation */
 389 | # define SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION        SSL_OP_BIT(18)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:135:35: error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
133 |         switch configuration.minimumTLSVersion {
134 |         case .tlsv13:
135 |             opensslOptions |= Int(SSL_OP_NO_TLSv1_2)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
136 |             fallthrough
137 |         case .tlsv12:
/usr/include/openssl/ssl.h:420:10: note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
     |          `- note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
 422 | # define SSL_OP_NO_TLSv1_3                               SSL_OP_BIT(29)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:138:35: error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
136 |             fallthrough
137 |         case .tlsv12:
138 |             opensslOptions |= Int(SSL_OP_NO_TLSv1_1)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
139 |             fallthrough
140 |         case .tlsv11:
/usr/include/openssl/ssl.h:421:10: note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
     |          `- note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
 422 | # define SSL_OP_NO_TLSv1_3                               SSL_OP_BIT(29)
 423 | # define SSL_OP_NO_DTLSv1                                SSL_OP_BIT(26)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:141:35: error: cannot find 'SSL_OP_NO_TLSv1' in scope
139 |             fallthrough
140 |         case .tlsv11:
141 |             opensslOptions |= Int(SSL_OP_NO_TLSv1)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1' in scope
142 |             fallthrough
143 |         case .tlsv1:
/usr/include/openssl/ssl.h:419:10: note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
 417 | # define SSL_OP_NO_ANTI_REPLAY                           SSL_OP_BIT(24)
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
     |          `- note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:144:35: error: cannot find 'SSL_OP_NO_SSLv3' in scope
142 |             fallthrough
143 |         case .tlsv1:
144 |             opensslOptions |= Int(SSL_OP_NO_SSLv3)
    |                                   `- error: cannot find 'SSL_OP_NO_SSLv3' in scope
145 |             fallthrough
146 |         case .sslv3:
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
 416 |      */
 417 | # define SSL_OP_NO_ANTI_REPLAY                           SSL_OP_BIT(24)
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
     |          `- note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:155:35: error: cannot find 'SSL_OP_NO_SSLv3' in scope
153 |         switch configuration.maximumTLSVersion {
154 |         case .some(.sslv2):
155 |             opensslOptions |= Int(SSL_OP_NO_SSLv3)
    |                                   `- error: cannot find 'SSL_OP_NO_SSLv3' in scope
156 |             fallthrough
157 |         case .some(.sslv3):
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
 416 |      */
 417 | # define SSL_OP_NO_ANTI_REPLAY                           SSL_OP_BIT(24)
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
     |          `- note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:158:35: error: cannot find 'SSL_OP_NO_TLSv1' in scope
156 |             fallthrough
157 |         case .some(.sslv3):
158 |             opensslOptions |= Int(SSL_OP_NO_TLSv1)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1' in scope
159 |             fallthrough
160 |         case .some(.tlsv1):
/usr/include/openssl/ssl.h:419:10: note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
 417 | # define SSL_OP_NO_ANTI_REPLAY                           SSL_OP_BIT(24)
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
     |          `- note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:161:35: error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
159 |             fallthrough
160 |         case .some(.tlsv1):
161 |             opensslOptions |= Int(SSL_OP_NO_TLSv1_1)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
162 |             fallthrough
163 |         case .some(.tlsv11):
/usr/include/openssl/ssl.h:421:10: note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
     |          `- note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
 422 | # define SSL_OP_NO_TLSv1_3                               SSL_OP_BIT(29)
 423 | # define SSL_OP_NO_DTLSv1                                SSL_OP_BIT(26)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:164:35: error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
162 |             fallthrough
163 |         case .some(.tlsv11):
164 |             opensslOptions |= Int(SSL_OP_NO_TLSv1_2)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
165 |             fallthrough
166 |         case .some(.tlsv12):
/usr/include/openssl/ssl.h:420:10: note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
     |          `- note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
 422 | # define SSL_OP_NO_TLSv1_3                               SSL_OP_BIT(29)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:167:35: error: cannot find 'CNIOOpenSSL_SSL_OP_NO_TLSv1_3' in scope
165 |             fallthrough
166 |         case .some(.tlsv12):
167 |             opensslOptions |= Int(CNIOOpenSSL_SSL_OP_NO_TLSv1_3)
    |                                   `- error: cannot find 'CNIOOpenSSL_SSL_OP_NO_TLSv1_3' in scope
168 |         case .some(.tlsv13), .none:
169 |             break
[106/126] Compiling NIOHTTP2 HTTP2UserEvents.swift
[109/126] Emitting module NIOOpenSSL
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[118/126] Compiling NIOOpenSSL SSLVerificationCallbacks.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/CNIONghttp2/include/c_nio_nghttp2.h:17:10: error: 'nghttp2/nghttp2.h' file not found
15 | #define C_NIO_NGHTTP2_H
16 |
17 | #include <nghttp2/nghttp2.h>
   |          `- error: 'nghttp2/nghttp2.h' file not found
18 |
19 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2DataProvider.swift:14:8: error: could not build C module 'CNIONghttp2'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import CNIONghttp2
    |        `- error: could not build C module 'CNIONghttp2'
 15 | import NIO
 16 | import NIOHTTP1
[120/126] Compiling NIOOpenSSL TLSConfiguration.swift
BUILD FAILURE 6.1 linux