flaky test: testRaceNewRequestsVsShutdown: Attempting to use HTTP1ConnectionProvider with unexpected state: closing (expected: [opened])

Test Suite 'Selected tests' started at 2020-03-05 6:23:11.382 pm
Test Suite 'AsyncHTTPClientTests.xctest' started at 2020-03-05 6:23:11.383 pm
Test Suite 'HTTPClientTests' started at 2020-03-05 6:23:11.383 pm
Test Case '-[AsyncHTTPClientTests.HTTPClientTests testRaceNewRequestsVsShutdown]' started.
Precondition failed: Attempting to use HTTP1ConnectionProvider with unexpected state: closing (expected: [opened]): file /Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift, line 487
2020-03-05 18:23:11.502863+0000 xctest[4058:75217] Precondition failed: Attempting to use HTTP1ConnectionProvider with unexpected state: closing (expected: [opened]): file /Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift, line 487

bt:
(lldb) bt
* thread #9, name = 'NIO-ELT-2-#0'
    frame #0: 0x00007fff6f31e3e0 libswiftCore.dylib`_swift_runtime_on_report
    frame #1: 0x00007fff6f398243 libswiftCore.dylib`_swift_stdlib_reportFatalErrorInFile + 211
    frame #2: 0x00007fff6f05fa2e libswiftCore.dylib`closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in Swift._assertionFailure(_: Swift.StaticString, _: Swift.String, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never + 286
    frame #3: 0x00007fff6f05f637 libswiftCore.dylib`closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in Swift._assertionFailure(_: Swift.StaticString, _: Swift.String, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never + 87
    frame #4: 0x00007fff6f05fc27 libswiftCore.dylib`function signature specialization <Arg[1] = [Closure Propagated : closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in Swift._assertionFailure(_: Swift.StaticString, _: Swift.String, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never, Argument Types : [Swift.StaticStringSwift.UnsafeBufferPointer<Swift.UInt8>Swift.UIntSwift.UInt32]> of generic specialization <()> of Swift.String.withUTF8<A>((Swift.UnsafeBufferPointer<Swift.UInt8>) throws -> A) throws -> A + 183
    frame #5: 0x00007fff6f05e210 libswiftCore.dylib`Swift._assertionFailure(_: Swift.StaticString, _: Swift.String, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never + 528
  * frame #6: 0x000000011356dbf5 AsyncHTTPClientTests`closure #1 in ConnectionPool.HTTP1ConnectionProvider.activityPrecondition(expected=1 value, self=0x0000000100b16e00) at ConnectionPool.swift:487:17
    frame #7: 0x000000011355e2ef AsyncHTTPClientTests`thunk for @callee_guaranteed () -> (@error @owned Error) at <compiler-generated>:0
    frame #8: 0x0000000113570434 AsyncHTTPClientTests`thunk for @callee_guaranteed () -> (@error @owned Error)partial apply at <compiler-generated>:0
    frame #9: 0x0000000113266765 AsyncHTTPClientTests`Lock.withLock<T>(body=0x0000000113570420 AsyncHTTPClientTests`reabstraction thunk helper from @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".81" at <compiler-generated>, self=(mutex = 0x0000000100b17000)) at lock.swift:79:20
    frame #10: 0x000000011356d300 AsyncHTTPClientTests`ConnectionPool.HTTP1ConnectionProvider.activityPrecondition(expected=1 value, self=0x0000000100b16e00) at ConnectionPool.swift:486:28
    frame #11: 0x00000001135682b3 AsyncHTTPClientTests`ConnectionPool.HTTP1ConnectionProvider.makeConnection(eventLoop=0x0000000100e1b2b0, self=0x0000000100b16e00) at ConnectionPool.swift:372:18
    frame #12: 0x000000011356a3a6 AsyncHTTPClientTests`closure #1 in ConnectionPool.HTTP1ConnectionProvider.configureCloseCallback(result=(success = () @ 0x000070000359bff0), self=0x0000000100b16e00, connection=0x0000000102b092d0) at ConnectionPool.swift:439:30
    frame #13: 0x000000011356b1f0 AsyncHTTPClientTests`thunk for @escaping @callee_guaranteed (@guaranteed Result<(), Error>) -> () at <compiler-generated>:0
    frame #14: 0x0000000113180ff1 AsyncHTTPClientTests`closure #1 in EventLoopFuture.whenComplete(callback=0x000000011356f910 AsyncHTTPClientTests`partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed Swift.Result<(), Swift.Error>) -> () to @escaping @callee_guaranteed (@in_guaranteed Swift.Result<(), Swift.Error>) -> () at <compiler-generated>, self=0x0000000102b05bc0) at EventLoopFuture.swift:738:13
    frame #15: 0x0000000113179544 AsyncHTTPClientTests`CallbackList._run(self=NIO.CallbackList @ 0x000070000359c430) at EventLoopFuture.swift:88:27
    frame #16: 0x000000011317a3eb AsyncHTTPClientTests`EventLoopPromise._resolve(value=, self=NIO.EventLoopPromise<()> @ 0x000070000359c520) at EventLoopFuture.swift:226:42
    frame #17: 0x000000011317a2c2 AsyncHTTPClientTests`EventLoopPromise.succeed(value=() @ 0xffffffffffffffff, self=NIO.EventLoopPromise<()> @ 0x000070000359c5d0) at EventLoopFuture.swift:171:14
    frame #18: 0x00000001130d5109 AsyncHTTPClientTests`closure #4 in BaseSocketChannel.close0(self=0x0000000102b07d10) at BaseSocketChannel.swift:851:31
    frame #19: 0x00000001131f573c AsyncHTTPClientTests`thunk for @escaping @callee_guaranteed () -> () at <compiler-generated>:0
    frame #20: 0x00000001131f88c1 AsyncHTTPClientTests`partial apply for thunk for @escaping @callee_guaranteed () -> () at <compiler-generated>:0
    frame #21: 0x00000001131f575c AsyncHTTPClientTests`thunk for @escaping @callee_guaranteed () -> (@out ()) at <compiler-generated>:0
    frame #22: 0x00000001131f57b8 AsyncHTTPClientTests`closure #3 in SelectableEventLoop.run(task=0x00000001131f86f0 AsyncHTTPClientTests`partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out ()) to @escaping @callee_guaranteed () -> () at <compiler-generated>) at SelectableEventLoop.swift:382:25
    frame #23: 0x00000001130c890f AsyncHTTPClientTests`thunk for @callee_guaranteed () -> (@error @owned Error) at <compiler-generated>:0
    frame #24: 0x00000001131f86b4 AsyncHTTPClientTests`thunk for @callee_guaranteed () -> (@error @owned Error)partial apply at <compiler-generated>:0
    frame #25: 0x00000001131efe13 AsyncHTTPClientTests`closure #1 in withAutoReleasePool<T>(execute=0x00000001131f86a0 AsyncHTTPClientTests`reabstraction thunk helper from @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".8" at <compiler-generated>) at SelectableEventLoop.swift:25:13
    frame #26: 0x00000001131efe6f AsyncHTTPClientTests`partial apply for closure #1 in withAutoReleasePool<A>(_:) at <compiler-generated>:0
    frame #27: 0x00007fff6f6b6d8e libswiftObjectiveC.dylib`ObjectiveC.autoreleasepool<A>(invoking: () throws -> A) throws -> A + 46
    frame #28: 0x00000001131efdaa AsyncHTTPClientTests`withAutoReleasePool<T>(execute=0x00000001131f86a0 AsyncHTTPClientTests`reabstraction thunk helper from @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".8" at <compiler-generated>) at SelectableEventLoop.swift:24:16
    frame #29: 0x00000001131f427e AsyncHTTPClientTests`SelectableEventLoop.run(self=0x0000000100e1b2b0) at SelectableEventLoop.swift:381:21
    frame #30: 0x00000001131707b9 AsyncHTTPClientTests`closure #1 in static MultiThreadedEventLoopGroup.setupThreadAndEventLoop(t=0x0000000100e1af90, initializer=0x0000000113177db0 AsyncHTTPClientTests`partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@in_guaranteed NIO.NIOThread) -> (@out ()) to @escaping @callee_guaranteed (@guaranteed NIO.NIOThread) -> () at <compiler-generated>, self=NIO.MultiThreadedEventLoopGroup, lock=(mutex = 0x0000000100c12df0), _loop=0x0000000100e1b2b0, loopUpAndRunningGroup=0x0000000100c12e30) at EventLoop.swift:792:23
    frame #31: 0x000000011317523b AsyncHTTPClientTests`partial apply for closure #1 in static MultiThreadedEventLoopGroup.setupThreadAndEventLoop(name:initializer:) at <compiler-generated>:0
    frame #32: 0x0000000113170eaf AsyncHTTPClientTests`thunk for @escaping @callee_guaranteed (@guaranteed NIOThread) -> () at <compiler-generated>:0
    frame #33: 0x0000000113247341 AsyncHTTPClientTests`partial apply for thunk for @escaping @callee_guaranteed (@guaranteed NIOThread) -> () at <compiler-generated>:0
    frame #34: 0x000000011324482c AsyncHTTPClientTests`closure #1 in static NIOThread.spawnAndRun(p=(_rawValue = 0x0000000100c12dc0 -> 0x00007fff9531b770 libswiftCore.dylib`InitialAllocationPool + 4848)) at Thread.swift:118:13
    frame #35: 0x00000001132448a9 AsyncHTTPClientTests`@objc closure #1 in static NIOThread.spawnAndRun(name:detachThread:body:) at <compiler-generated>:0
    frame #36: 0x00007fff6fc07109 libsystem_pthread.dylib`_pthread_start + 148
    frame #37: 0x00007fff6fc02b8b libsystem_pthread.dylib`thread_start + 15

p self:
(lldb) p self
(AsyncHTTPClient.ConnectionPool.HTTP1ConnectionProvider) $R1 = 0x0000000100b16e00 {
  eventLoop = 0x0000000100e1b2b0 {
    _selector = 0x0000000100e1beb0 {
      lifecycleState = open
      eventsCapacity = 64
      events = 0x0000000106017800
      registrations = 7 key/value pairs {
        [0] = {
          key = 17
          value = socketChannel {
            socketChannel = {
              0 = 0x4000000100e23b10 {
                NIO.BaseStreamSocketChannel = {
                  NIO.BaseSocketChannel = {
                    parent = nil
                    socket = 0x0000000100e23c60 {
                      NIO.BaseSocket = {
                        descriptor = 17
                      }
                    }
                    closePromise = {
                      futureResult = 0x0000000100e24040 {
                        _value = nil
                        eventLoop = 0x0000000100e1b2b0 {...}
                        _callbacks = {
                          firstCallback = nil
                          furtherCallbacks = nil
                        }
                      }
                    }
                    selectableEventLoop = 0x0000000100e1b2b0 {...}
                    _offEventLoopLock = 0x0000000100e23fa0 (mutex = 0x0000000100e23fc0)
                    isActiveAtomic = 0x0000000100e24000 {}
                    socketDescription = "BaseSocket { fd=17 }"
                    readPending = false
                    pendingConnect = some {
                      futureResult = 0x0000000100e24120 {
                        _value = nil
                        eventLoop = 0x0000000100e1b2b0 {...}
                        _callbacks = {
                          firstCallback = 0x0000000113183e60 AsyncHTTPClientTests`partial apply forwarder for closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () at <compiler-generated>
                          furtherCallbacks = 1 value {
                            [0] = 0x0000000113178590 AsyncHTTPClientTests`partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) at <compiler-generated>
                          }
                        }
                      }
                    }
                    recvAllocator = {
                      minIndex = 3
                      maxIndex = 38
                      minimum = 64
                      maximum = 65536
                      initial = 1024
                      index = 32
                      nextReceiveBufferSize = 1024
                      decreaseNow = false
                    }
                    maxMessagesPerRead = 4
                    inFlushNow = false
                    autoRead = true
                    _pipeline = 0x0000000100e241c0 {
                      head = 0x0000000100e24210 {
                        next = 0x0000000100e24270 {
                          next = nil
                          prev = 0x0000000100e24210 {...}
                          pipeline = 0x0000000100e241c0 {...}
                          name = "tail"
                          inboundHandler = 0x0000000100b107b0
                          outboundHandler = nil
                          removeHandlerInvoked = false
                          userTriggeredRemovalStarted = false
                        }
                        prev = nil
                        pipeline = 0x0000000100e241c0 {...}
                        name = "head"
                        inboundHandler = nil
                        outboundHandler = 0x0000000100b11490
                        removeHandlerInvoked = false
                        userTriggeredRemovalStarted = false
                      }
                      tail = 0x0000000100e24270 {...}
                      idx = 0
                      destroyed = false
                      eventLoop = 0x0000000100e1b2b0 {...}
                      _channel = 0x0000000100e23b10 {
                        NIO.BaseStreamSocketChannel = {
                          NIO.BaseSocketChannel = {
                            parent = nil
                            socket = 0x0000000100e23c60 {...}
                            closePromise = {
                              futureResult = 0x0000000100e24040 {...}
                            }
                            selectableEventLoop = 0x0000000100e1b2b0 {...}
                            _offEventLoopLock = 0x0000000100e23fa0 {...}
                            isActiveAtomic = 0x0000000100e24000 {...}
                            socketDescription = "BaseSocket { fd=17 }"
                            readPending = false
                            pendingConnect = some {
                              futureResult = 0x0000000100e24120 {...}
                            }
                            recvAllocator = {
                              minIndex = 3
                              maxIndex = 38
                              minimum = 64
                              maximum = 65536
                              initial = 1024
                              index = 32
                              nextReceiveBufferSize = 1024
                              decreaseNow = false
                            }
                            maxMessagesPerRead = 4
                            inFlushNow = false
                            autoRead = true
                            _pipeline = 0x0000000100e241c0 {...}
                            _addressCache = {
                              local = v6 {
                                v6 = {
                                  _storage = 0x4000000100e243b0 {
                                    value = {
                                      address = {
                                        sin6_len = 28
                                        sin6_family = 30
                                        sin6_port = 47054
                                        sin6_flowinfo = 0
                                        sin6_addr = {
                                          __u6_addr = {
                                            __u6_addr8 = (0 = 0, 1 = 0, 2 = 0, 3 = 0, 4 = 0, 5 = 0, 6 = 0, 7 = 0, 8 = 0, 9 = 0, 10 = 0, 11 = 0, 12 = 0, 13 = 0, 14 = 0, 15 = 1)
                                            __u6_addr16 = (0 = 0, 1 = 0, 2 = 0, 3 = 0, 4 = 0, 5 = 0, 6 = 0, 7 = 256)
                                            __u6_addr32 = (0 = 0, 1 = 0, 2 = 0, 3 = 16777216)
                                          }
                                        }
                                        sin6_scope_id = 0
                                      }
                                      host = "::1"
                                    }
                                  }
                                }
                              }
                              remote = nil
                            }
                            _bufferAllocatorCache = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                            interestedEvent = (rawValue = 9)
                            lifecycleManager = {
                              eventLoop = 0x0000000100e1b2b0 {...}
                              isActiveAtomic = 0x0000000100e24000 {...}
                              hasSeenEOFNotification = false
                              currentState = fullyRegistered
                            }
                            bufferAllocator = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                          }
                          connectTimeoutScheduled = nil
                          allowRemoteHalfClosure = false
                          inputShutdown = false
                          outputShutdown = false
                          pendingWrites = 0x0000000100e23cd0 {
                            state = {
                              pendingWrites = {
                                _buffer = {
                                  _buffer = {
                                    _buffer = {
                                      _storage = 16 values {
                                        [0] = 0x000000011376e0e8
                                        [1] = 0x000000011376e0e8
                                        [2] = 0x000000011376e0e8
                                        [3] = 0x000000011376e0e8
                                        [4] = 0x000000011376e0e8
                                        [5] = 0x000000011376e0e8
                                        [6] = 0x000000011376e0e8
                                        [7] = 0x000000011376e0e8
                                        [8] = 0x000000011376e0e8
                                        [9] = 0x000000011376e0e8
                                        [10] = 0x000000011376e0e8
                                        [11] = 0x000000011376e0e8
                                        [12] = 0x000000011376e0e8
                                        [13] = 0x000000011376e0e8
                                        [14] = 0x000000011376e0e8
                                        [15] = 0x000000011376e0e8
                                      }
                                    }
                                  }
                                  headBackingIndex = 0
                                  tailBackingIndex = 0
                                }
                                _markedIndexOffset = nil
                              }
                              bytes = 0
                            }
                            iovecs = (_position = 0x000000010601a400, count = 1024)
                            storageRefs = (_position = 0x000000010601e400, count = 1024)
                            waterMark = (low = 32768, high = 65536)
                            channelWritabilityFlag = 0x0000000100e23f80 {}
                            writeSpinCount = 16
                            isOpen = true
                          }
                        }
                        connectTimeout = nil
                      }
                    }
                    _addressCache = {
                      local = v6 {
                        v6 = {
                          _storage = 0x4000000100e243b0 {...}
                        }
                      }
                      remote = nil
                    }
                    _bufferAllocatorCache = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                    interestedEvent = (rawValue = 9)
                    lifecycleManager = {
                      eventLoop = 0x0000000100e1b2b0 {...}
                      isActiveAtomic = 0x0000000100e24000 {...}
                      hasSeenEOFNotification = false
                      currentState = fullyRegistered
                    }
                    bufferAllocator = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                  }
                  connectTimeoutScheduled = nil
                  allowRemoteHalfClosure = false
                  inputShutdown = false
                  outputShutdown = false
                  pendingWrites = 0x0000000100e23cd0 {...}
                }
                connectTimeout = nil
              }
              1 = (rawValue = 9)
            }
          }
        }
        [1] = {
          key = 15
          value = socketChannel {
            socketChannel = {
              0 = 0x4000000102987530 {
                NIO.BaseStreamSocketChannel = {
                  NIO.BaseSocketChannel = {
                    parent = nil
                    socket = 0x0000000102987680 {
                      NIO.BaseSocket = {
                        descriptor = 15
                      }
                    }
                    closePromise = {
                      futureResult = 0x0000000102987a60 {
                        _value = nil
                        eventLoop = 0x0000000100e1b2b0 {...}
                        _callbacks = {
                          firstCallback = nil
                          furtherCallbacks = nil
                        }
                      }
                    }
                    selectableEventLoop = 0x0000000100e1b2b0 {...}
                    _offEventLoopLock = 0x00000001029879c0 (mutex = 0x00000001029879e0)
                    isActiveAtomic = 0x0000000102987a20 {}
                    socketDescription = "BaseSocket { fd=15 }"
                    readPending = false
                    pendingConnect = some {
                      futureResult = 0x0000000102987b40 {
                        _value = nil
                        eventLoop = 0x0000000100e1b2b0 {...}
                        _callbacks = {
                          firstCallback = 0x0000000113183e60 AsyncHTTPClientTests`partial apply forwarder for closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () at <compiler-generated>
                          furtherCallbacks = 1 value {
                            [0] = 0x0000000113178590 AsyncHTTPClientTests`partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) at <compiler-generated>
                          }
                        }
                      }
                    }
                    recvAllocator = {
                      minIndex = 3
                      maxIndex = 38
                      minimum = 64
                      maximum = 65536
                      initial = 1024
                      index = 32
                      nextReceiveBufferSize = 1024
                      decreaseNow = false
                    }
                    maxMessagesPerRead = 4
                    inFlushNow = false
                    autoRead = true
                    _pipeline = 0x0000000102987be0 {
                      head = 0x0000000102987c30 {
                        next = 0x0000000102987c90 {
                          next = nil
                          prev = 0x0000000102987c30 {...}
                          pipeline = 0x0000000102987be0 {...}
                          name = "tail"
                          inboundHandler = 0x0000000100b107b0 {...}
                          outboundHandler = nil
                          removeHandlerInvoked = false
                          userTriggeredRemovalStarted = false
                        }
                        prev = nil
                        pipeline = 0x0000000102987be0 {...}
                        name = "head"
                        inboundHandler = nil
                        outboundHandler = 0x0000000100b11490 {...}
                        removeHandlerInvoked = false
                        userTriggeredRemovalStarted = false
                      }
                      tail = 0x0000000102987c90 {...}
                      idx = 0
                      destroyed = false
                      eventLoop = 0x0000000100e1b2b0 {...}
                      _channel = 0x0000000102987530 {
                        NIO.BaseStreamSocketChannel = {
                          NIO.BaseSocketChannel = {
                            parent = nil
                            socket = 0x0000000102987680 {...}
                            closePromise = {
                              futureResult = 0x0000000102987a60 {...}
                            }
                            selectableEventLoop = 0x0000000100e1b2b0 {...}
                            _offEventLoopLock = 0x00000001029879c0 {...}
                            isActiveAtomic = 0x0000000102987a20 {...}
                            socketDescription = "BaseSocket { fd=15 }"
                            readPending = false
                            pendingConnect = some {
                              futureResult = 0x0000000102987b40 {...}
                            }
                            recvAllocator = {
                              minIndex = 3
                              maxIndex = 38
                              minimum = 64
                              maximum = 65536
                              initial = 1024
                              index = 32
                              nextReceiveBufferSize = 1024
                              decreaseNow = false
                            }
                            maxMessagesPerRead = 4
                            inFlushNow = false
                            autoRead = true
                            _pipeline = 0x0000000102987be0 {...}
                            _addressCache = {
                              local = v6 {
                                v6 = {
                                  _storage = 0x4000000102987dd0 {
                                    value = {
                                      address = {
                                        sin6_len = 28
                                        sin6_family = 30
                                        sin6_port = 46542
                                        sin6_flowinfo = 0
                                        sin6_addr = {
                                          __u6_addr = {
                                            __u6_addr8 = (0 = 0, 1 = 0, 2 = 0, 3 = 0, 4 = 0, 5 = 0, 6 = 0, 7 = 0, 8 = 0, 9 = 0, 10 = 0, 11 = 0, 12 = 0, 13 = 0, 14 = 0, 15 = 1)
                                            __u6_addr16 = (0 = 0, 1 = 0, 2 = 0, 3 = 0, 4 = 0, 5 = 0, 6 = 0, 7 = 256)
                                            __u6_addr32 = (0 = 0, 1 = 0, 2 = 0, 3 = 16777216)
                                          }
                                        }
                                        sin6_scope_id = 0
                                      }
                                      host = "::1"
                                    }
                                  }
                                }
                              }
                              remote = nil
                            }
                            _bufferAllocatorCache = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                            interestedEvent = (rawValue = 9)
                            lifecycleManager = {
                              eventLoop = 0x0000000100e1b2b0 {...}
                              isActiveAtomic = 0x0000000102987a20 {...}
                              hasSeenEOFNotification = false
                              currentState = fullyRegistered
                            }
                            bufferAllocator = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                          }
                          connectTimeoutScheduled = nil
                          allowRemoteHalfClosure = false
                          inputShutdown = false
                          outputShutdown = false
                          pendingWrites = 0x00000001029876f0 {
                            state = {
                              pendingWrites = {
                                _buffer = {
                                  _buffer = {
                                    _buffer = {
                                      _storage = 16 values {
                                        [0] = 0x000000011376e0e8
                                        [1] = 0x000000011376e0e8
                                        [2] = 0x000000011376e0e8
                                        [3] = 0x000000011376e0e8
                                        [4] = 0x000000011376e0e8
                                        [5] = 0x000000011376e0e8
                                        [6] = 0x000000011376e0e8
                                        [7] = 0x000000011376e0e8
                                        [8] = 0x000000011376e0e8
                                        [9] = 0x000000011376e0e8
                                        [10] = 0x000000011376e0e8
                                        [11] = 0x000000011376e0e8
                                        [12] = 0x000000011376e0e8
                                        [13] = 0x000000011376e0e8
                                        [14] = 0x000000011376e0e8
                                        [15] = 0x000000011376e0e8
                                      }
                                    }
                                  }
                                  headBackingIndex = 0
                                  tailBackingIndex = 0
                                }
                                _markedIndexOffset = nil
                              }
                              bytes = 0
                            }
                            iovecs = (_position = 0x000000010601a400, count = 1024)
                            storageRefs = (_position = 0x000000010601e400, count = 1024)
                            waterMark = (low = 32768, high = 65536)
                            channelWritabilityFlag = 0x00000001029879a0 {}
                            writeSpinCount = 16
                            isOpen = true
                          }
                        }
                        connectTimeout = nil
                      }
                    }
                    _addressCache = {
                      local = v6 {
                        v6 = {
                          _storage = 0x4000000102987dd0 {...}
                        }
                      }
                      remote = nil
                    }
                    _bufferAllocatorCache = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                    interestedEvent = (rawValue = 9)
                    lifecycleManager = {
                      eventLoop = 0x0000000100e1b2b0 {...}
                      isActiveAtomic = 0x0000000102987a20 {...}
                      hasSeenEOFNotification = false
                      currentState = fullyRegistered
                    }
                    bufferAllocator = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                  }
                  connectTimeoutScheduled = nil
                  allowRemoteHalfClosure = false
                  inputShutdown = false
                  outputShutdown = false
                  pendingWrites = 0x00000001029876f0 {...}
                }
                connectTimeout = nil
              }
              1 = (rawValue = 9)
            }
          }
        }
        [2] = {
          key = 16
          value = socketChannel {
            socketChannel = {
              0 = 0x4000000100b1ec60 {
                NIO.BaseStreamSocketChannel = {
                  NIO.BaseSocketChannel = {
                    parent = nil
                    socket = 0x0000000100b1edb0 {
                      NIO.BaseSocket = {
                        descriptor = 16
                      }
                    }
                    closePromise = {
                      futureResult = 0x0000000100b1f170 {
                        _value = nil
                        eventLoop = 0x0000000100e1b2b0 {...}
                        _callbacks = {
                          firstCallback = nil
                          furtherCallbacks = nil
                        }
                      }
                    }
                    selectableEventLoop = 0x0000000100e1b2b0 {...}
                    _offEventLoopLock = 0x0000000100b1f0f0 (mutex = 0x0000000100b1f110)
                    isActiveAtomic = 0x0000000100b1ebf0 {}
                    socketDescription = "BaseSocket { fd=16 }"
                    readPending = false
                    pendingConnect = some {
                      futureResult = 0x0000000100b1f250 {
                        _value = nil
                        eventLoop = 0x0000000100e1b2b0 {...}
                        _callbacks = {
                          firstCallback = 0x0000000113183e60 AsyncHTTPClientTests`partial apply forwarder for closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () at <compiler-generated>
                          furtherCallbacks = 1 value {
                            [0] = 0x0000000113178590 AsyncHTTPClientTests`partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) at <compiler-generated>
                          }
                        }
                      }
                    }
                    recvAllocator = {
                      minIndex = 3
                      maxIndex = 38
                      minimum = 64
                      maximum = 65536
                      initial = 1024
                      index = 32
                      nextReceiveBufferSize = 1024
                      decreaseNow = false
                    }
                    maxMessagesPerRead = 4
                    inFlushNow = false
                    autoRead = true
                    _pipeline = 0x0000000100b1f2f0 {
                      head = 0x0000000100b1f340 {
                        next = 0x0000000100b1f3a0 {
                          next = nil
                          prev = 0x0000000100b1f340 {...}
                          pipeline = 0x0000000100b1f2f0 {...}
                          name = "tail"
                          inboundHandler = 0x0000000100b107b0 {...}
                          outboundHandler = nil
                          removeHandlerInvoked = false
                          userTriggeredRemovalStarted = false
                        }
                        prev = nil
                        pipeline = 0x0000000100b1f2f0 {...}
                        name = "head"
                        inboundHandler = nil
                        outboundHandler = 0x0000000100b11490 {...}
                        removeHandlerInvoked = false
                        userTriggeredRemovalStarted = false
                      }
                      tail = 0x0000000100b1f3a0 {...}
                      idx = 0
                      destroyed = false
                      eventLoop = 0x0000000100e1b2b0 {...}
                      _channel = 0x0000000100b1ec60 {
                        NIO.BaseStreamSocketChannel = {
                          NIO.BaseSocketChannel = {
                            parent = nil
                            socket = 0x0000000100b1edb0 {...}
                            closePromise = {
                              futureResult = 0x0000000100b1f170 {...}
                            }
                            selectableEventLoop = 0x0000000100e1b2b0 {...}
                            _offEventLoopLock = 0x0000000100b1f0f0 {...}
                            isActiveAtomic = 0x0000000100b1ebf0 {...}
                            socketDescription = "BaseSocket { fd=16 }"
                            readPending = false
                            pendingConnect = some {
                              futureResult = 0x0000000100b1f250 {...}
                            }
                            recvAllocator = {
                              minIndex = 3
                              maxIndex = 38
                              minimum = 64
                              maximum = 65536
                              initial = 1024
                              index = 32
                              nextReceiveBufferSize = 1024
                              decreaseNow = false
                            }
                            maxMessagesPerRead = 4
                            inFlushNow = false
                            autoRead = true
                            _pipeline = 0x0000000100b1f2f0 {...}
                            _addressCache = {
                              local = v6 {
                                v6 = {
                                  _storage = 0x4000000100b1f4e0 {
                                    value = {
                                      address = {
                                        sin6_len = 28
                                        sin6_family = 30
                                        sin6_port = 46798
                                        sin6_flowinfo = 0
                                        sin6_addr = {
                                          __u6_addr = {
                                            __u6_addr8 = (0 = 0, 1 = 0, 2 = 0, 3 = 0, 4 = 0, 5 = 0, 6 = 0, 7 = 0, 8 = 0, 9 = 0, 10 = 0, 11 = 0, 12 = 0, 13 = 0, 14 = 0, 15 = 1)
                                            __u6_addr16 = (0 = 0, 1 = 0, 2 = 0, 3 = 0, 4 = 0, 5 = 0, 6 = 0, 7 = 256)
                                            __u6_addr32 = (0 = 0, 1 = 0, 2 = 0, 3 = 16777216)
                                          }
                                        }
                                        sin6_scope_id = 0
                                      }
                                      host = "::1"
                                    }
                                  }
                                }
                              }
                              remote = nil
                            }
                            _bufferAllocatorCache = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                            interestedEvent = (rawValue = 9)
                            lifecycleManager = {
                              eventLoop = 0x0000000100e1b2b0 {...}
                              isActiveAtomic = 0x0000000100b1ebf0 {...}
                              hasSeenEOFNotification = false
                              currentState = fullyRegistered
                            }
                            bufferAllocator = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                          }
                          connectTimeoutScheduled = nil
                          allowRemoteHalfClosure = false
                          inputShutdown = false
                          outputShutdown = false
                          pendingWrites = 0x0000000100b1ee20 {
                            state = {
                              pendingWrites = {
                                _buffer = {
                                  _buffer = {
                                    _buffer = {
                                      _storage = 16 values {
                                        [0] = 0x000000011376e0e8
                                        [1] = 0x000000011376e0e8
                                        [2] = 0x000000011376e0e8
                                        [3] = 0x000000011376e0e8
                                        [4] = 0x000000011376e0e8
                                        [5] = 0x000000011376e0e8
                                        [6] = 0x000000011376e0e8
                                        [7] = 0x000000011376e0e8
                                        [8] = 0x000000011376e0e8
                                        [9] = 0x000000011376e0e8
                                        [10] = 0x000000011376e0e8
                                        [11] = 0x000000011376e0e8
                                        [12] = 0x000000011376e0e8
                                        [13] = 0x000000011376e0e8
                                        [14] = 0x000000011376e0e8
                                        [15] = 0x000000011376e0e8
                                      }
                                    }
                                  }
                                  headBackingIndex = 0
                                  tailBackingIndex = 0
                                }
                                _markedIndexOffset = nil
                              }
                              bytes = 0
                            }
                            iovecs = (_position = 0x000000010601a400, count = 1024)
                            storageRefs = (_position = 0x000000010601e400, count = 1024)
                            waterMark = (low = 32768, high = 65536)
                            channelWritabilityFlag = 0x0000000100b1f0d0 {}
                            writeSpinCount = 16
                            isOpen = true
                          }
                        }
                        connectTimeout = nil
                      }
                    }
                    _addressCache = {
                      local = v6 {
                        v6 = {
                          _storage = 0x4000000100b1f4e0 {...}
                        }
                      }
                      remote = nil
                    }
                    _bufferAllocatorCache = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                    interestedEvent = (rawValue = 9)
                    lifecycleManager = {
                      eventLoop = 0x0000000100e1b2b0 {...}
                      isActiveAtomic = 0x0000000100b1ebf0 {...}
                      hasSeenEOFNotification = false
                      currentState = fullyRegistered
                    }
                    bufferAllocator = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                  }
                  connectTimeoutScheduled = nil
                  allowRemoteHalfClosure = false
                  inputShutdown = false
                  outputShutdown = false
                  pendingWrites = 0x0000000100b1ee20 {...}
                }
                connectTimeout = nil
              }
              1 = (rawValue = 9)
            }
          }
        }
        [3] = {
          key = 19
          value = socketChannel {
            socketChannel = {
              0 = 0x4000000100c1e5d0 {
                NIO.BaseStreamSocketChannel = {
                  NIO.BaseSocketChannel = {
                    parent = nil
                    socket = 0x0000000100c1e5b0 {
                      NIO.BaseSocket = {
                        descriptor = 19
                      }
                    }
                    closePromise = {
                      futureResult = 0x0000000100c1eae0 {
                        _value = nil
                        eventLoop = 0x0000000100e1b2b0 {...}
                        _callbacks = {
                          firstCallback = nil
                          furtherCallbacks = nil
                        }
                      }
                    }
                    selectableEventLoop = 0x0000000100e1b2b0 {...}
                    _offEventLoopLock = 0x0000000100c1ea40 (mutex = 0x0000000100c1ea60)
                    isActiveAtomic = 0x0000000100c1eaa0 {}
                    socketDescription = "BaseSocket { fd=19 }"
                    readPending = false
                    pendingConnect = some {
                      futureResult = 0x0000000100c1ebc0 {
                        _value = nil
                        eventLoop = 0x0000000100e1b2b0 {...}
                        _callbacks = {
                          firstCallback = 0x0000000113183e60 AsyncHTTPClientTests`partial apply forwarder for closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () at <compiler-generated>
                          furtherCallbacks = 1 value {
                            [0] = 0x0000000113178590 AsyncHTTPClientTests`partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) at <compiler-generated>
                          }
                        }
                      }
                    }
                    recvAllocator = {
                      minIndex = 3
                      maxIndex = 38
                      minimum = 64
                      maximum = 65536
                      initial = 1024
                      index = 32
                      nextReceiveBufferSize = 1024
                      decreaseNow = false
                    }
                    maxMessagesPerRead = 4
                    inFlushNow = false
                    autoRead = true
                    _pipeline = 0x0000000100c1ec60 {
                      head = 0x0000000100c1ecb0 {
                        next = 0x0000000100c1ed10 {
                          next = nil
                          prev = 0x0000000100c1ecb0 {...}
                          pipeline = 0x0000000100c1ec60 {...}
                          name = "tail"
                          inboundHandler = 0x0000000100b107b0 {...}
                          outboundHandler = nil
                          removeHandlerInvoked = false
                          userTriggeredRemovalStarted = false
                        }
                        prev = nil
                        pipeline = 0x0000000100c1ec60 {...}
                        name = "head"
                        inboundHandler = nil
                        outboundHandler = 0x0000000100b11490 {...}
                        removeHandlerInvoked = false
                        userTriggeredRemovalStarted = false
                      }
                      tail = 0x0000000100c1ed10 {...}
                      idx = 0
                      destroyed = false
                      eventLoop = 0x0000000100e1b2b0 {...}
                      _channel = 0x0000000100c1e5d0 {
                        NIO.BaseStreamSocketChannel = {
                          NIO.BaseSocketChannel = {
                            parent = nil
                            socket = 0x0000000100c1e5b0 {...}
                            closePromise = {
                              futureResult = 0x0000000100c1eae0 {...}
                            }
                            selectableEventLoop = 0x0000000100e1b2b0 {...}
                            _offEventLoopLock = 0x0000000100c1ea40 {...}
                            isActiveAtomic = 0x0000000100c1eaa0 {...}
                            socketDescription = "BaseSocket { fd=19 }"
                            readPending = false
                            pendingConnect = some {
                              futureResult = 0x0000000100c1ebc0 {...}
                            }
                            recvAllocator = {
                              minIndex = 3
                              maxIndex = 38
                              minimum = 64
                              maximum = 65536
                              initial = 1024
                              index = 32
                              nextReceiveBufferSize = 1024
                              decreaseNow = false
                            }
                            maxMessagesPerRead = 4
                            inFlushNow = false
                            autoRead = true
                            _pipeline = 0x0000000100c1ec60 {...}
                            _addressCache = {
                              local = v6 {
                                v6 = {
                                  _storage = 0x4000000100c1ee50 {
                                    value = {
                                      address = {
                                        sin6_len = 28
                                        sin6_family = 30
                                        sin6_port = 47566
                                        sin6_flowinfo = 0
                                        sin6_addr = {
                                          __u6_addr = {
                                            __u6_addr8 = (0 = 0, 1 = 0, 2 = 0, 3 = 0, 4 = 0, 5 = 0, 6 = 0, 7 = 0, 8 = 0, 9 = 0, 10 = 0, 11 = 0, 12 = 0, 13 = 0, 14 = 0, 15 = 1)
                                            __u6_addr16 = (0 = 0, 1 = 0, 2 = 0, 3 = 0, 4 = 0, 5 = 0, 6 = 0, 7 = 256)
                                            __u6_addr32 = (0 = 0, 1 = 0, 2 = 0, 3 = 16777216)
                                          }
                                        }
                                        sin6_scope_id = 0
                                      }
                                      host = "::1"
                                    }
                                  }
                                }
                              }
                              remote = nil
                            }
                            _bufferAllocatorCache = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                            interestedEvent = (rawValue = 9)
                            lifecycleManager = {
                              eventLoop = 0x0000000100e1b2b0 {...}
                              isActiveAtomic = 0x0000000100c1eaa0 {...}
                              hasSeenEOFNotification = false
                              currentState = fullyRegistered
                            }
                            bufferAllocator = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                          }
                          connectTimeoutScheduled = nil
                          allowRemoteHalfClosure = false
                          inputShutdown = false
                          outputShutdown = false
                          pendingWrites = 0x0000000100c1e770 {
                            state = {
                              pendingWrites = {
                                _buffer = {
                                  _buffer = {
                                    _buffer = {
                                      _storage = 16 values {
                                        [0] = 0x000000011376e0e8
                                        [1] = 0x000000011376e0e8
                                        [2] = 0x000000011376e0e8
                                        [3] = 0x000000011376e0e8
                                        [4] = 0x000000011376e0e8
                                        [5] = 0x000000011376e0e8
                                        [6] = 0x000000011376e0e8
                                        [7] = 0x000000011376e0e8
                                        [8] = 0x000000011376e0e8
                                        [9] = 0x000000011376e0e8
                                        [10] = 0x000000011376e0e8
                                        [11] = 0x000000011376e0e8
                                        [12] = 0x000000011376e0e8
                                        [13] = 0x000000011376e0e8
                                        [14] = 0x000000011376e0e8
                                        [15] = 0x000000011376e0e8
                                      }
                                    }
                                  }
                                  headBackingIndex = 0
                                  tailBackingIndex = 0
                                }
                                _markedIndexOffset = nil
                              }
                              bytes = 0
                            }
                            iovecs = (_position = 0x000000010601a400, count = 1024)
                            storageRefs = (_position = 0x000000010601e400, count = 1024)
                            waterMark = (low = 32768, high = 65536)
                            channelWritabilityFlag = 0x0000000100c1ea20 {}
                            writeSpinCount = 16
                            isOpen = true
                          }
                        }
                        connectTimeout = nil
                      }
                    }
                    _addressCache = {
                      local = v6 {
                        v6 = {
                          _storage = 0x4000000100c1ee50 {...}
                        }
                      }
                      remote = nil
                    }
                    _bufferAllocatorCache = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                    interestedEvent = (rawValue = 9)
                    lifecycleManager = {
                      eventLoop = 0x0000000100e1b2b0 {...}
                      isActiveAtomic = 0x0000000100c1eaa0 {...}
                      hasSeenEOFNotification = false
                      currentState = fullyRegistered
                    }
                    bufferAllocator = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                  }
                  connectTimeoutScheduled = nil
                  allowRemoteHalfClosure = false
                  inputShutdown = false
                  outputShutdown = false
                  pendingWrites = 0x0000000100c1e770 {...}
                }
                connectTimeout = nil
              }
              1 = (rawValue = 9)
            }
          }
        }
        [4] = {
          key = 20
          value = socketChannel {
            socketChannel = {
              0 = 0x400000010285c610 {
                NIO.BaseStreamSocketChannel = {
                  NIO.BaseSocketChannel = {
                    parent = nil
                    socket = 0x000000010286c390 {
                      NIO.BaseSocket = {
                        descriptor = 20
                      }
                    }
                    closePromise = {
                      futureResult = 0x000000010284a2d0 {
                        _value = nil
                        eventLoop = 0x0000000100e1b2b0 {...}
                        _callbacks = {
                          firstCallback = nil
                          furtherCallbacks = nil
                        }
                      }
                    }
                    selectableEventLoop = 0x0000000100e1b2b0 {...}
                    _offEventLoopLock = 0x000000010284eb00 (mutex = 0x0000000102874360)
                    isActiveAtomic = 0x000000010285c760 {}
                    socketDescription = "BaseSocket { fd=20 }"
                    readPending = false
                    pendingConnect = some {
                      futureResult = 0x0000000102983280 {
                        _value = nil
                        eventLoop = 0x0000000100e1b2b0 {...}
                        _callbacks = {
                          firstCallback = 0x0000000113183e60 AsyncHTTPClientTests`partial apply forwarder for closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () at <compiler-generated>
                          furtherCallbacks = 1 value {
                            [0] = 0x0000000113178590 AsyncHTTPClientTests`partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) at <compiler-generated>
                          }
                        }
                      }
                    }
                    recvAllocator = {
                      minIndex = 3
                      maxIndex = 38
                      minimum = 64
                      maximum = 65536
                      initial = 1024
                      index = 32
                      nextReceiveBufferSize = 1024
                      decreaseNow = false
                    }
                    maxMessagesPerRead = 4
                    inFlushNow = false
                    autoRead = true
                    _pipeline = 0x000000010287b370 {
                      head = 0x000000010287b3c0 {
                        next = 0x000000010286e4e0 {
                          next = nil
                          prev = 0x000000010287b3c0 {...}
                          pipeline = 0x000000010287b370 {...}
                          name = "tail"
                          inboundHandler = 0x0000000100b107b0 {...}
                          outboundHandler = nil
                          removeHandlerInvoked = false
                          userTriggeredRemovalStarted = false
                        }
                        prev = nil
                        pipeline = 0x000000010287b370 {...}
                        name = "head"
                        inboundHandler = nil
                        outboundHandler = 0x0000000100b11490 {...}
                        removeHandlerInvoked = false
                        userTriggeredRemovalStarted = false
                      }
                      tail = 0x000000010286e4e0 {...}
                      idx = 0
                      destroyed = false
                      eventLoop = 0x0000000100e1b2b0 {...}
                      _channel = 0x000000010285c610 {
                        NIO.BaseStreamSocketChannel = {
                          NIO.BaseSocketChannel = {
                            parent = nil
                            socket = 0x000000010286c390 {...}
                            closePromise = {
                              futureResult = 0x000000010284a2d0 {...}
                            }
                            selectableEventLoop = 0x0000000100e1b2b0 {...}
                            _offEventLoopLock = 0x000000010284eb00 {...}
                            isActiveAtomic = 0x000000010285c760 {...}
                            socketDescription = "BaseSocket { fd=20 }"
                            readPending = false
                            pendingConnect = some {
                              futureResult = 0x0000000102983280 {...}
                            }
                            recvAllocator = {
                              minIndex = 3
                              maxIndex = 38
                              minimum = 64
                              maximum = 65536
                              initial = 1024
                              index = 32
                              nextReceiveBufferSize = 1024
                              decreaseNow = false
                            }
                            maxMessagesPerRead = 4
                            inFlushNow = false
                            autoRead = true
                            _pipeline = 0x000000010287b370 {...}
                            _addressCache = {
                              local = v6 {
                                v6 = {
                                  _storage = 0x40000001029871a0 {
                                    value = {
                                      address = {
                                        sin6_len = 28
                                        sin6_family = 30
                                        sin6_port = 47822
                                        sin6_flowinfo = 0
                                        sin6_addr = {
                                          __u6_addr = {
                                            __u6_addr8 = (0 = 0, 1 = 0, 2 = 0, 3 = 0, 4 = 0, 5 = 0, 6 = 0, 7 = 0, 8 = 0, 9 = 0, 10 = 0, 11 = 0, 12 = 0, 13 = 0, 14 = 0, 15 = 1)
                                            __u6_addr16 = (0 = 0, 1 = 0, 2 = 0, 3 = 0, 4 = 0, 5 = 0, 6 = 0, 7 = 256)
                                            __u6_addr32 = (0 = 0, 1 = 0, 2 = 0, 3 = 16777216)
                                          }
                                        }
                                        sin6_scope_id = 0
                                      }
                                      host = "::1"
                                    }
                                  }
                                }
                              }
                              remote = nil
                            }
                            _bufferAllocatorCache = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                            interestedEvent = (rawValue = 9)
                            lifecycleManager = {
                              eventLoop = 0x0000000100e1b2b0 {...}
                              isActiveAtomic = 0x000000010285c760 {...}
                              hasSeenEOFNotification = false
                              currentState = fullyRegistered
                            }
                            bufferAllocator = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                          }
                          connectTimeoutScheduled = nil
                          allowRemoteHalfClosure = false
                          inputShutdown = false
                          outputShutdown = false
                          pendingWrites = 0x000000010287b2e0 {
                            state = {
                              pendingWrites = {
                                _buffer = {
                                  _buffer = {
                                    _buffer = {
                                      _storage = 16 values {
                                        [0] = 0x000000011376e0e8
                                        [1] = 0x000000011376e0e8
                                        [2] = 0x000000011376e0e8
                                        [3] = 0x000000011376e0e8
                                        [4] = 0x000000011376e0e8
                                        [5] = 0x000000011376e0e8
                                        [6] = 0x000000011376e0e8
                                        [7] = 0x000000011376e0e8
                                        [8] = 0x000000011376e0e8
                                        [9] = 0x000000011376e0e8
                                        [10] = 0x000000011376e0e8
                                        [11] = 0x000000011376e0e8
                                        [12] = 0x000000011376e0e8
                                        [13] = 0x000000011376e0e8
                                        [14] = 0x000000011376e0e8
                                        [15] = 0x000000011376e0e8
                                      }
                                    }
                                  }
                                  headBackingIndex = 0
                                  tailBackingIndex = 0
                                }
                                _markedIndexOffset = nil
                              }
                              bytes = 0
                            }
                            iovecs = (_position = 0x000000010601a400, count = 1024)
                            storageRefs = (_position = 0x000000010601e400, count = 1024)
                            waterMark = (low = 32768, high = 65536)
                            channelWritabilityFlag = 0x0000000102875400 {}
                            writeSpinCount = 16
                            isOpen = true
                          }
                        }
                        connectTimeout = nil
                      }
                    }
                    _addressCache = {
                      local = v6 {
                        v6 = {
                          _storage = 0x40000001029871a0 {...}
                        }
                      }
                      remote = nil
                    }
                    _bufferAllocatorCache = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                    interestedEvent = (rawValue = 9)
                    lifecycleManager = {
                      eventLoop = 0x0000000100e1b2b0 {...}
                      isActiveAtomic = 0x000000010285c760 {...}
                      hasSeenEOFNotification = false
                      currentState = fullyRegistered
                    }
                    bufferAllocator = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                  }
                  connectTimeoutScheduled = nil
                  allowRemoteHalfClosure = false
                  inputShutdown = false
                  outputShutdown = false
                  pendingWrites = 0x000000010287b2e0 {...}
                }
                connectTimeout = nil
              }
              1 = (rawValue = 9)
            }
          }
        }
        [5] = {
          key = 14
          value = socketChannel {
            socketChannel = {
              0 = 0x4000000100e22520 {
                NIO.BaseStreamSocketChannel = {
                  NIO.BaseSocketChannel = {
                    parent = nil
                    socket = 0x0000000100e22670 {
                      NIO.BaseSocket = {
                        descriptor = 14
                      }
                    }
                    closePromise = {
                      futureResult = 0x0000000100e228d0 {
                        _value = nil
                        eventLoop = 0x0000000100e1b2b0 {...}
                        _callbacks = {
                          firstCallback = nil
                          furtherCallbacks = nil
                        }
                      }
                    }
                    selectableEventLoop = 0x0000000100e1b2b0 {...}
                    _offEventLoopLock = 0x0000000100e22ac0 (mutex = 0x0000000100e20330)
                    isActiveAtomic = 0x0000000100e22270 {}
                    socketDescription = "BaseSocket { fd=14 }"
                    readPending = false
                    pendingConnect = some {
                      futureResult = 0x0000000100e21240 {
                        _value = nil
                        eventLoop = 0x0000000100e1b2b0 {...}
                        _callbacks = {
                          firstCallback = 0x0000000113183e60 AsyncHTTPClientTests`partial apply forwarder for closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () at <compiler-generated>
                          furtherCallbacks = 1 value {
                            [0] = 0x0000000113178590 AsyncHTTPClientTests`partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) at <compiler-generated>
                          }
                        }
                      }
                    }
                    recvAllocator = {
                      minIndex = 3
                      maxIndex = 38
                      minimum = 64
                      maximum = 65536
                      initial = 1024
                      index = 32
                      nextReceiveBufferSize = 1024
                      decreaseNow = false
                    }
                    maxMessagesPerRead = 4
                    inFlushNow = false
                    autoRead = true
                    _pipeline = 0x0000000100e21ef0 {
                      head = 0x0000000100e21180 {
                        next = 0x0000000100e211e0 {
                          next = nil
                          prev = 0x0000000100e21180 {...}
                          pipeline = 0x0000000100e21ef0 {...}
                          name = "tail"
                          inboundHandler = 0x0000000100b107b0 {...}
                          outboundHandler = nil
                          removeHandlerInvoked = false
                          userTriggeredRemovalStarted = false
                        }
                        prev = nil
                        pipeline = 0x0000000100e21ef0 {...}
                        name = "head"
                        inboundHandler = nil
                        outboundHandler = 0x0000000100b11490 {...}
                        removeHandlerInvoked = false
                        userTriggeredRemovalStarted = false
                      }
                      tail = 0x0000000100e211e0 {...}
                      idx = 0
                      destroyed = false
                      eventLoop = 0x0000000100e1b2b0 {...}
                      _channel = 0x0000000100e22520 {
                        NIO.BaseStreamSocketChannel = {
                          NIO.BaseSocketChannel = {
                            parent = nil
                            socket = 0x0000000100e22670 {...}
                            closePromise = {
                              futureResult = 0x0000000100e228d0 {...}
                            }
                            selectableEventLoop = 0x0000000100e1b2b0 {...}
                            _offEventLoopLock = 0x0000000100e22ac0 {...}
                            isActiveAtomic = 0x0000000100e22270 {...}
                            socketDescription = "BaseSocket { fd=14 }"
                            readPending = false
                            pendingConnect = some {
                              futureResult = 0x0000000100e21240 {...}
                            }
                            recvAllocator = {
                              minIndex = 3
                              maxIndex = 38
                              minimum = 64
                              maximum = 65536
                              initial = 1024
                              index = 32
                              nextReceiveBufferSize = 1024
                              decreaseNow = false
                            }
                            maxMessagesPerRead = 4
                            inFlushNow = false
                            autoRead = true
                            _pipeline = 0x0000000100e21ef0 {...}
                            _addressCache = {
                              local = v4 {
                                v4 = {
                                  _storage = 0x0000000100e203f0 {
                                    value = {
                                      address = {
                                        sin_len = 16
                                        sin_family = 2
                                        sin_port = 48078
                                        sin_addr = {
                                          s_addr = 16777343
                                        }
                                        sin_zero = (0 = 0, 1 = 0, 2 = 0, 3 = 0, 4 = 0, 5 = 0, 6 = 0, 7 = 0)
                                      }
                                      host = "<IP_ADDRESS>"
                                    }
                                  }
                                }
                              }
                              remote = nil
                            }
                            _bufferAllocatorCache = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                            interestedEvent = (rawValue = 9)
                            lifecycleManager = {
                              eventLoop = 0x0000000100e1b2b0 {...}
                              isActiveAtomic = 0x0000000100e22270 {...}
                              hasSeenEOFNotification = false
                              currentState = fullyRegistered
                            }
                            bufferAllocator = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                          }
                          connectTimeoutScheduled = nil
                          allowRemoteHalfClosure = false
                          inputShutdown = false
                          outputShutdown = false
                          pendingWrites = 0x0000000100e226e0 {
                            state = {
                              pendingWrites = {
                                _buffer = {
                                  _buffer = {
                                    _buffer = {
                                      _storage = 16 values {
                                        [0] = 0x000000011376e0e8
                                        [1] = 0x000000011376e0e8
                                        [2] = 0x000000011376e0e8
                                        [3] = 0x000000011376e0e8
                                        [4] = 0x000000011376e0e8
                                        [5] = 0x000000011376e0e8
                                        [6] = 0x000000011376e0e8
                                        [7] = 0x000000011376e0e8
                                        [8] = 0x000000011376e0e8
                                        [9] = 0x000000011376e0e8
                                        [10] = 0x000000011376e0e8
                                        [11] = 0x000000011376e0e8
                                        [12] = 0x000000011376e0e8
                                        [13] = 0x000000011376e0e8
                                        [14] = 0x000000011376e0e8
                                        [15] = 0x000000011376e0e8
                                      }
                                    }
                                  }
                                  headBackingIndex = 0
                                  tailBackingIndex = 0
                                }
                                _markedIndexOffset = nil
                              }
                              bytes = 0
                            }
                            iovecs = (_position = 0x000000010601a400, count = 1024)
                            storageRefs = (_position = 0x000000010601e400, count = 1024)
                            waterMark = (low = 32768, high = 65536)
                            channelWritabilityFlag = 0x0000000100e1fb40 {}
                            writeSpinCount = 16
                            isOpen = true
                          }
                        }
                        connectTimeout = nil
                      }
                    }
                    _addressCache = {
                      local = v4 {
                        v4 = {
                          _storage = 0x0000000100e203f0 {...}
                        }
                      }
                      remote = nil
                    }
                    _bufferAllocatorCache = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                    interestedEvent = (rawValue = 9)
                    lifecycleManager = {
                      eventLoop = 0x0000000100e1b2b0 {...}
                      isActiveAtomic = 0x0000000100e22270 {...}
                      hasSeenEOFNotification = false
                      currentState = fullyRegistered
                    }
                    bufferAllocator = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                  }
                  connectTimeoutScheduled = nil
                  allowRemoteHalfClosure = false
                  inputShutdown = false
                  outputShutdown = false
                  pendingWrites = 0x0000000100e226e0 {...}
                }
                connectTimeout = nil
              }
              1 = (rawValue = 9)
            }
          }
        }
        [6] = {
          key = 18
          value = socketChannel {
            socketChannel = {
              0 = 0x4000000100b1fb70 {
                NIO.BaseStreamSocketChannel = {
                  NIO.BaseSocketChannel = {
                    parent = nil
                    socket = 0x0000000100b1fcc0 {
                      NIO.BaseSocket = {
                        descriptor = 18
                      }
                    }
                    closePromise = {
                      futureResult = 0x0000000100b200a0 {
                        _value = nil
                        eventLoop = 0x0000000100e1b2b0 {...}
                        _callbacks = {
                          firstCallback = nil
                          furtherCallbacks = nil
                        }
                      }
                    }
                    selectableEventLoop = 0x0000000100e1b2b0 {...}
                    _offEventLoopLock = 0x0000000100b20000 (mutex = 0x0000000100b20020)
                    isActiveAtomic = 0x0000000100b20060 {}
                    socketDescription = "BaseSocket { fd=18 }"
                    readPending = false
                    pendingConnect = some {
                      futureResult = 0x0000000100b20180 {
                        _value = nil
                        eventLoop = 0x0000000100e1b2b0 {...}
                        _callbacks = {
                          firstCallback = 0x0000000113183e60 AsyncHTTPClientTests`partial apply forwarder for closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () at <compiler-generated>
                          furtherCallbacks = 1 value {
                            [0] = 0x0000000113178590 AsyncHTTPClientTests`partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) at <compiler-generated>
                          }
                        }
                      }
                    }
                    recvAllocator = {
                      minIndex = 3
                      maxIndex = 38
                      minimum = 64
                      maximum = 65536
                      initial = 1024
                      index = 32
                      nextReceiveBufferSize = 1024
                      decreaseNow = false
                    }
                    maxMessagesPerRead = 4
                    inFlushNow = false
                    autoRead = true
                    _pipeline = 0x0000000100b20220 {
                      head = 0x0000000100b20270 {
                        next = 0x0000000100b202d0 {
                          next = nil
                          prev = 0x0000000100b20270 {...}
                          pipeline = 0x0000000100b20220 {...}
                          name = "tail"
                          inboundHandler = 0x0000000100b107b0 {...}
                          outboundHandler = nil
                          removeHandlerInvoked = false
                          userTriggeredRemovalStarted = false
                        }
                        prev = nil
                        pipeline = 0x0000000100b20220 {...}
                        name = "head"
                        inboundHandler = nil
                        outboundHandler = 0x0000000100b11490 {...}
                        removeHandlerInvoked = false
                        userTriggeredRemovalStarted = false
                      }
                      tail = 0x0000000100b202d0 {...}
                      idx = 0
                      destroyed = false
                      eventLoop = 0x0000000100e1b2b0 {...}
                      _channel = 0x0000000100b1fb70 {
                        NIO.BaseStreamSocketChannel = {
                          NIO.BaseSocketChannel = {
                            parent = nil
                            socket = 0x0000000100b1fcc0 {...}
                            closePromise = {
                              futureResult = 0x0000000100b200a0 {...}
                            }
                            selectableEventLoop = 0x0000000100e1b2b0 {...}
                            _offEventLoopLock = 0x0000000100b20000 {...}
                            isActiveAtomic = 0x0000000100b20060 {...}
                            socketDescription = "BaseSocket { fd=18 }"
                            readPending = false
                            pendingConnect = some {
                              futureResult = 0x0000000100b20180 {...}
                            }
                            recvAllocator = {
                              minIndex = 3
                              maxIndex = 38
                              minimum = 64
                              maximum = 65536
                              initial = 1024
                              index = 32
                              nextReceiveBufferSize = 1024
                              decreaseNow = false
                            }
                            maxMessagesPerRead = 4
                            inFlushNow = false
                            autoRead = true
                            _pipeline = 0x0000000100b20220 {...}
                            _addressCache = {
                              local = v6 {
                                v6 = {
                                  _storage = 0x4000000100b20410 {
                                    value = {
                                      address = {
                                        sin6_len = 28
                                        sin6_family = 30
                                        sin6_port = 47310
                                        sin6_flowinfo = 0
                                        sin6_addr = {
                                          __u6_addr = {
                                            __u6_addr8 = (0 = 0, 1 = 0, 2 = 0, 3 = 0, 4 = 0, 5 = 0, 6 = 0, 7 = 0, 8 = 0, 9 = 0, 10 = 0, 11 = 0, 12 = 0, 13 = 0, 14 = 0, 15 = 1)
                                            __u6_addr16 = (0 = 0, 1 = 0, 2 = 0, 3 = 0, 4 = 0, 5 = 0, 6 = 0, 7 = 256)
                                            __u6_addr32 = (0 = 0, 1 = 0, 2 = 0, 3 = 16777216)
                                          }
                                        }
                                        sin6_scope_id = 0
                                      }
                                      host = "::1"
                                    }
                                  }
                                }
                              }
                              remote = nil
                            }
                            _bufferAllocatorCache = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                            interestedEvent = (rawValue = 9)
                            lifecycleManager = {
                              eventLoop = 0x0000000100e1b2b0 {...}
                              isActiveAtomic = 0x0000000100b20060 {...}
                              hasSeenEOFNotification = false
                              currentState = fullyRegistered
                            }
                            bufferAllocator = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                          }
                          connectTimeoutScheduled = nil
                          allowRemoteHalfClosure = false
                          inputShutdown = false
                          outputShutdown = false
                          pendingWrites = 0x0000000100b1fd30 {
                            state = {
                              pendingWrites = {
                                _buffer = {
                                  _buffer = {
                                    _buffer = {
                                      _storage = 16 values {
                                        [0] = 0x000000011376e0e8
                                        [1] = 0x000000011376e0e8
                                        [2] = 0x000000011376e0e8
                                        [3] = 0x000000011376e0e8
                                        [4] = 0x000000011376e0e8
                                        [5] = 0x000000011376e0e8
                                        [6] = 0x000000011376e0e8
                                        [7] = 0x000000011376e0e8
                                        [8] = 0x000000011376e0e8
                                        [9] = 0x000000011376e0e8
                                        [10] = 0x000000011376e0e8
                                        [11] = 0x000000011376e0e8
                                        [12] = 0x000000011376e0e8
                                        [13] = 0x000000011376e0e8
                                        [14] = 0x000000011376e0e8
                                        [15] = 0x000000011376e0e8
                                      }
                                    }
                                  }
                                  headBackingIndex = 0
                                  tailBackingIndex = 0
                                }
                                _markedIndexOffset = nil
                              }
                              bytes = 0
                            }
                            iovecs = (_position = 0x000000010601a400, count = 1024)
                            storageRefs = (_position = 0x000000010601e400, count = 1024)
                            waterMark = (low = 32768, high = 65536)
                            channelWritabilityFlag = 0x0000000100b1ffe0 {}
                            writeSpinCount = 16
                            isOpen = true
                          }
                        }
                        connectTimeout = nil
                      }
                    }
                    _addressCache = {
                      local = v6 {
                        v6 = {
                          _storage = 0x4000000100b20410 {...}
                        }
                      }
                      remote = nil
                    }
                    _bufferAllocatorCache = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                    interestedEvent = (rawValue = 9)
                    lifecycleManager = {
                      eventLoop = 0x0000000100e1b2b0 {...}
                      isActiveAtomic = 0x0000000100b20060 {...}
                      hasSeenEOFNotification = false
                      currentState = fullyRegistered
                    }
                    bufferAllocator = (malloc = 0x00000001130fcf30 AsyncHTTPClientTests`@objc closure #1 (Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, realloc = 0x00000001130fcfa0 AsyncHTTPClientTests`@objc closure #2 (Swift.Optional<Swift.UnsafeMutableRawPointer>, Swift.Int) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, free = 0x00000001130fcff0 AsyncHTTPClientTests`@objc closure #3 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>, memcpy = 0x00000001130fd060 AsyncHTTPClientTests`@objc closure #4 (Swift.UnsafeMutableRawPointer, Swift.UnsafeRawPointer, Swift.Int) -> () in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator at <compiler-generated>)
                  }
                  connectTimeoutScheduled = nil
                  allowRemoteHalfClosure = false
                  inputShutdown = false
                  outputShutdown = false
                  pendingWrites = 0x0000000100b1fd30 {...}
                }
                connectTimeout = nil
              }
              1 = (rawValue = 9)
            }
          }
        }
      }
      deregistrationsHappened = true
      externalSelectorFDLock = 0x0000000100e1bf90 (mutex = 0x0000000100e1bf00)
      selectorFD = 9
      myThread = 0x0000000100e1b020 {
        desiredName = nil
        pthread = 0x000070000359d000
      }
    }
    thread = 0x0000000100e1af90 {
      desiredName = "NIO-ELT-2-#0"
      pthread = 0x000070000359d000
    }
    _scheduledTasks = {
      _heap = {
        type = minHeap
        storage = {
          _buffer = {
            _storage = 14 values {
              [0] = 0x0000000102987440
              [1] = 0x0000000102987440
              [2] = 0x0000000102987440
              [3] = 0x0000000102987440
              [4] = 0x0000000102987440
              [5] = 0x0000000102987440
              [6] = 0x0000000102987440
              [7] = 0x0000000102987440
              [8] = 0x0000000102987440
              [9] = 0x0000000102987440
              [10] = 0x0000000102987440
              [11] = 0x0000000102987440
              [12] = 0x0000000102987440
              [13] = 0x0000000102987440
            }
          }
        }
        comparator = 0x00000001131a41f0 AsyncHTTPClientTests`partial apply forwarder for dispatch thunk of static Swift.Comparable.< infix(A, A) -> Swift.Bool at <compiler-generated>
      }
    }
    tasksCopy = {
      _buffer = {
        _storage = 1 value {
          [0] = 0x00000001131f88b0
        }
      }
    }
    _tasksLock = 0x0000000100e1b4d0 (mutex = 0x0000000100e1b600)
    _externalStateLock = 0x0000000100e1c6a0 (mutex = 0x0000000100e1b3c0)
    internalState = runningAndAcceptingNewRegistrations
    externalState = open
    _iovecs = 0x000000010601a400
    _storageRefs = 0x000000010601e400
    iovecs = (_position = 0x000000010601a400, count = 1024)
    storageRefs = (_position = 0x000000010601e400, count = 1024)
    _msgs = 0x0000000108008000
    _addresses = 0x0000000108028000
    msgs = (_position = 0x0000000108008000, count = 1024)
    addresses = (_position = 0x0000000108028000, count = 1024)
    promiseCreationStoreLock = 0x0000000100e1c130 (mutex = 0x0000000100e1b6c0)
    _promiseCreationStore = 291 key/value pairs {
      [0] = {
        key = (_value = 0x0000000102872d00)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [1] = {
        key = (_value = 0x0000000100f054c0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [2] = {
        key = (_value = 0x0000000102b0de90)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [3] = {
        key = (_value = 0x0000000102d05850)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [4] = {
        key = (_value = 0x0000000102984fc0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [5] = {
        key = (_value = 0x0000000102982e60)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [6] = {
        key = (_value = 0x000000010286c2b0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 393)
      }
      [7] = {
        key = (_value = 0x0000000102f05370)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [8] = {
        key = (_value = 0x0000000102b0c5d0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [9] = {
        key = (_value = 0x0000000102e05500)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [10] = {
        key = (_value = 0x0000000100d06bd0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [11] = {
        key = (_value = 0x0000000100f05710)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [12] = {
        key = (_value = 0x00000001029827a0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 373)
      }
      [13] = {
        key = (_value = 0x0000000102874bf0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [14] = {
        key = (_value = 0x0000000102b0b350)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [15] = {
        key = (_value = 0x0000000102e05470)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [16] = {
        key = (_value = 0x0000000100c1ebc0)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift", line = 542)
      }
      [17] = {
        key = (_value = 0x0000000100c189b0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [18] = {
        key = (_value = 0x0000000102d04980)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [19] = {
        key = (_value = 0x0000000100b185d0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [20] = {
        key = (_value = 0x0000000100d057b0)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/GetaddrinfoResolver.swift", line = 40)
      }
      [21] = {
        key = (_value = 0x0000000100c19090)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [22] = {
        key = (_value = 0x0000000102b0e160)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [23] = {
        key = (_value = 0x0000000100f05930)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [24] = {
        key = (_value = 0x0000000100b1def0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [25] = {
        key = (_value = 0x0000000100b18120)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [26] = {
        key = (_value = 0x0000000102e05770)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift", line = 294)
      }
      [27] = {
        key = (_value = 0x0000000102e05cf0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [28] = {
        key = (_value = 0x0000000100c1cde0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [29] = {
        key = (_value = 0x0000000100e21ac0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [30] = {
        key = (_value = 0x0000000102c069e0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [31] = {
        key = (_value = 0x0000000100c1d470)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [32] = {
        key = (_value = 0x0000000100c1db30)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [33] = {
        key = (_value = 0x0000000102980f20)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [34] = {
        key = (_value = 0x000000010287af20)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [35] = {
        key = (_value = 0x0000000102d04a60)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [36] = {
        key = (_value = 0x0000000102987330)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/SelectableEventLoop.swift", line = 190)
      }
      [37] = {
        key = (_value = 0x00000001029867c0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [38] = {
        key = (_value = 0x0000000102f04f80)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [39] = {
        key = (_value = 0x0000000100c1eae0)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/BaseSocketChannel.swift", line = 445)
      }
      [40] = {
        key = (_value = 0x0000000100d051f0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [41] = {
        key = (_value = 0x0000000100b18f50)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 373)
      }
      [42] = {
        key = (_value = 0x0000000100c1a250)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [43] = {
        key = (_value = 0x0000000100b18980)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [44] = {
        key = (_value = 0x0000000100b1f170)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/BaseSocketChannel.swift", line = 445)
      }
      [45] = {
        key = (_value = 0x0000000100f04c10)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [46] = {
        key = (_value = 0x0000000100e1f2d0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [47] = {
        key = (_value = 0x0000000100d06fb0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [48] = {
        key = (_value = 0x0000000100f06770)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [49] = {
        key = (_value = 0x0000000102986200)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [50] = {
        key = (_value = 0x0000000100d069f0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [51] = {
        key = (_value = 0x0000000100e221a0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [52] = {
        key = (_value = 0x0000000100d041b0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [53] = {
        key = (_value = 0x0000000100e1dc10)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [54] = {
        key = (_value = 0x0000000102b09630)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [55] = {
        key = (_value = 0x0000000102d061e0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [56] = {
        key = (_value = 0x0000000102e052e0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [57] = {
        key = (_value = 0x0000000102c073f0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [58] = {
        key = (_value = 0x0000000102987d80)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/Bootstrap.swift", line = 588)
      }
      [59] = {
        key = (_value = 0x0000000102d05af0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [60] = {
        key = (_value = 0x0000000102c06de0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 385)
      }
      [61] = {
        key = (_value = 0x0000000102b0c970)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift", line = 294)
      }
      [62] = {
        key = (_value = 0x0000000100f06d60)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [63] = {
        key = (_value = 0x0000000100e21290)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/Bootstrap.swift", line = 588)
      }
      [64] = {
        key = (_value = 0x0000000102e04e50)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 504)
      }
      [65] = {
        key = (_value = 0x0000000100c20940)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/SelectableEventLoop.swift", line = 190)
      }
      [66] = {
        key = (_value = 0x0000000102981430)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [67] = {
        key = (_value = 0x0000000100b1dce0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [68] = {
        key = (_value = 0x0000000102986c70)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift", line = 550)
      }
      [69] = {
        key = (_value = 0x0000000102d04ec0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [70] = {
        key = (_value = 0x0000000100c1cbe0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift", line = 322)
      }
      [71] = {
        key = (_value = 0x0000000100e24120)
        value = (file = "/Users/johannes/Library/Developer/Xcode/DerivedData/async-http-client-abnnkdvfpqtwubgyytmawfnihzlg/SourcePackages/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift", line = 542)
      }
      [72] = {
        key = (_value = 0x0000000102981cc0)
        value = (file = "/Users/johannes/devel/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift", line = 505)
      }
      [73] = {
        key = (_value = 0x0000000102c05950)