$ jw-docker-swift-5.0 bash -c 'apt-get -yy update && apt-get -yy install libssl-dev && swift test --sanitize=address'
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:5 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [5391 B]
Get:6 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [772 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [21.0 kB]
Get:8 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [10.4 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1292 kB]
Get:10 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [674 kB]
Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [8456 B]
Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [971 kB]
Fetched 4006 kB in 1s (3886 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
libssl-doc
The following NEW packages will be installed:
libssl-dev
0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded.
Need to get 1566 kB of archives.
After this operation, 7846 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl-dev amd64 1.1.1-1ubuntu2.1~18.04.4 [1566 kB]
Fetched 1566 kB in 0s (6429 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libssl-dev:amd64.
(Reading database ... 17772 files and directories currently installed.)
Preparing to unpack .../libssl-dev_1.1.1-1ubuntu2.1~18.04.4_amd64.deb ...
Unpacking libssl-dev:amd64 (1.1.1-1ubuntu2.1~18.04.4) ...
Setting up libssl-dev:amd64 (1.1.1-1ubuntu2.1~18.04.4) ...
[453/453] Linking ./.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest
Test Suite 'All tests' started at 2019-10-05 10:31:38.459
Test Suite 'debug.xctest' started at 2019-10-05 10:31:38.493
Test Suite 'JWTTests' started at 2019-10-05 10:31:38.494
Test Case 'JWTTests.testJWTEncodingAndSign' started at 2019-10-05 10:31:38.495
Test Case 'JWTTests.testJWTEncodingAndSign' passed (0.165 seconds)
Test Case 'JWTTests.testJWTSigning' started at 2019-10-05 10:31:38.660
Test Case 'JWTTests.testJWTSigning' passed (0.048 seconds)
Test Suite 'JWTTests' passed at 2019-10-05 10:31:38.709
Executed 2 tests, with 0 failures (0 unexpected) in 0.213 (0.213) seconds
Test Suite 'APNSwiftRequestTests' started at 2019-10-05 10:31:38.711
Test Case 'APNSwiftRequestTests.testAlertEncoding' started at 2019-10-05 10:31:38.712
Test Case 'APNSwiftRequestTests.testAlertEncoding' passed (0.007 seconds)
Test Case 'APNSwiftRequestTests.testMinimalAlertEncoding' started at 2019-10-05 10:31:38.721
Test Case 'APNSwiftRequestTests.testMinimalAlertEncoding' passed (0.001 seconds)
Test Case 'APNSwiftRequestTests.testResponseDecoderBasics' started at 2019-10-05 10:31:38.723
Test Case 'APNSwiftRequestTests.testResponseDecoderBasics' passed (0.021 seconds)
Test Case 'APNSwiftRequestTests.testResponseDecoderHappyWithReceivingTheBodyInMultipleChunks' started at 2019-10-05 10:31:38.746
Test Case 'APNSwiftRequestTests.testResponseDecoderHappyWithReceivingTheBodyInMultipleChunks' passed (0.003 seconds)
Test Case 'APNSwiftRequestTests.testResponseDecoderAcceptsTrailers' started at 2019-10-05 10:31:38.749
Test Case 'APNSwiftRequestTests.testResponseDecoderAcceptsTrailers' passed (0.003 seconds)
Test Case 'APNSwiftRequestTests.testInvalidAuthKey' started at 2019-10-05 10:31:38.752
Test Case 'APNSwiftRequestTests.testInvalidAuthKey' passed (0.027 seconds)
Test Suite 'APNSwiftRequestTests' passed at 2019-10-05 10:31:38.779
Executed 6 tests, with 0 failures (0 unexpected) in 0.062 (0.062) seconds
Test Suite 'APNSwiftConfigurationTests' started at 2019-10-05 10:31:38.779
Test Case 'APNSwiftConfigurationTests.testSandboxConfiguration' started at 2019-10-05 10:31:38.789
Test Case 'APNSwiftConfigurationTests.testSandboxConfiguration' passed (0.001 seconds)
Test Case 'APNSwiftConfigurationTests.testProductionConfiguration' started at 2019-10-05 10:31:38.789
Test Case 'APNSwiftConfigurationTests.testProductionConfiguration' passed (0.0 seconds)
Test Case 'APNSwiftConfigurationTests.testSignature' started at 2019-10-05 10:31:38.790
Test Case 'APNSwiftConfigurationTests.testSignature' passed (0.002 seconds)
Test Suite 'APNSwiftConfigurationTests' passed at 2019-10-05 10:31:38.792
Executed 3 tests, with 0 failures (0 unexpected) in 0.003 (0.003) seconds
Test Suite 'debug.xctest' passed at 2019-10-05 10:31:38.793
Executed 11 tests, with 0 failures (0 unexpected) in 0.279 (0.279) seconds
Test Suite 'All tests' passed at 2019-10-05 10:31:38.794
Executed 11 tests, with 0 failures (0 unexpected) in 0.279 (0.279) seconds
=================================================================
==430==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 264 byte(s) in 1 object(s) allocated from:
#0 0x563e5ff2f6f3 in malloc /home/buildnode/jenkins/workspace/oss-swift-5.1-package-linux-ubuntu-18_04/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f8497b1e1b5 in _registerProtocolConformances(ConformanceState&, swift::RelativeDirectPointer<swift::TargetProtocolConformanceDescriptor<swift::InProcess>, false, int> const*, swift::RelativeDirectPointer<swift::TargetProtocolConformanceDescriptor<swift::InProcess>, false, int> const*) (/usr/lib/swift/linux/libswiftCore.so+0x3e91b5)
Direct leak of 264 byte(s) in 1 object(s) allocated from:
#0 0x563e5ff2f6f3 in malloc /home/buildnode/jenkins/workspace/oss-swift-5.1-package-linux-ubuntu-18_04/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f8497b127c5 in _registerTypeMetadataRecords(TypeMetadataPrivateState&, swift::TargetTypeMetadataRecord<swift::InProcess> const*, swift::TargetTypeMetadataRecord<swift::InProcess> const*) (/usr/lib/swift/linux/libswiftCore.so+0x3dd7c5)
Direct leak of 264 byte(s) in 1 object(s) allocated from:
#0 0x563e5ff2f6f3 in malloc /home/buildnode/jenkins/workspace/oss-swift-5.1-package-linux-ubuntu-18_04/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f8497b1424f in _registerProtocols((anonymous namespace)::ProtocolMetadataPrivateState&, swift::TargetProtocolRecord<swift::InProcess> const*, swift::TargetProtocolRecord<swift::InProcess> const*) (/usr/lib/swift/linux/libswiftCore.so+0x3df24f)
Indirect leak of 512 byte(s) in 1 object(s) allocated from:
#0 0x563e5ff2f6f3 in malloc /home/buildnode/jenkins/workspace/oss-swift-5.1-package-linux-ubuntu-18_04/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x563e604f8900 in closure #1 (Swift.Int) -> Swift.UnsafeMutableRawPointer? in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:69:35
#2 0x563e604f8958 in @objc closure #1 (Swift.Int) -> Swift.UnsafeMutableRawPointer? in NIO.ByteBufferAllocator.init() -> NIO.ByteBufferAllocator /Users/johannes/extsrc/APNSwift/<compiler-generated>
#3 0x563e604fd8c7 in static NIO.ByteBuffer._Storage.(allocateAndPrepareRawMemory in _243B594EFDF92ACEC7911DAF9CEF250E)(bytes: Swift.UInt32, allocator: NIO.ByteBufferAllocator) -> Swift.UnsafeMutableRawPointer /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:226:33
#4 0x563e604ff899 in static NIO.ByteBuffer._Storage.reallocated(minimumCapacity: Swift.UInt32, allocator: NIO.ByteBufferAllocator) -> NIO.ByteBuffer._Storage /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:266:51
#5 0x563e604f9fc2 in NIO.ByteBuffer.init(allocator: NIO.ByteBufferAllocator, startingCapacity: Swift.Int) -> NIO.ByteBuffer /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:407:34
#6 0x563e604f95fd in NIO.ByteBufferAllocator.buffer(capacity: Swift.Int) -> NIO.ByteBuffer /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:90:16
#7 0x563e600181ae in APNSwiftTests.APNSwiftRequestTests.testTokenProviderUpdate() -> () /Users/johannes/extsrc/APNSwift/Tests/APNSwiftTests/APNSwiftRequestTests.swift:230:38
#8 0x563e5ffe42de in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#9 0x563e60023133 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#10 0x7f84985f8950 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e950)
#11 0x7f84985f8758 in partial apply forwarder for closure #1 (XCTest.XCTestCase) throws -> () in XCTest.(test in _3BE257A46ADB477C7BF2D39968B39F9D)<A where A: XCTest.XCTestCase>((A) -> () throws -> ()) -> (XCTest.XCTestCase) throws -> () (/usr/lib/swift/linux/libXCTest.so+0x2e758)
#12 0x7f84985f86c3 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e6c3)
#13 0x7f84985f89d8 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".16" (/usr/lib/swift/linux/libXCTest.so+0x2e9d8)
#14 0x7f84985eac76 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x20c76)
#15 0x7f84985f7118 in XCTest.XCTestCase.invokeTest() -> () (/usr/lib/swift/linux/libXCTest.so+0x2d118)
#16 0x7f84985f6ddb in XCTest.XCTestCase.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2cddb)
#17 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#18 0x7f84985f8d37 in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed37)
#19 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#20 0x7f84985f8d37 in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed37)
#21 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#22 0x7f84985f8d4f in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed4f)
#23 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#24 0x7f84985f5d12 in XCTest.XCTMain([(testCaseClass: XCTest.XCTestCase.Type, allTests: [(Swift.String, (XCTest.XCTestCase) throws -> ())])]) -> Swift.Never (/usr/lib/swift/linux/libXCTest.so+0x2bd12)
#25 0x563e60e2e915 in main /Users/johannes/extsrc/APNSwift/Tests/LinuxMain.swift:10:1
#26 0x7f849589db96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
Indirect leak of 265 byte(s) in 1 object(s) allocated from:
#0 0x563e5ff2f6f3 in malloc /home/buildnode/jenkins/workspace/oss-swift-5.1-package-linux-ubuntu-18_04/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f8497afa5f1 in swift_slowAlloc (/usr/lib/swift/linux/libswiftCore.so+0x3c55f1)
#2 0x563e600195eb in APNSwiftTests.APNSwiftRequestTests.testTokenProviderUpdate() -> () /Users/johannes/extsrc/APNSwift/Tests/APNSwiftTests/APNSwiftRequestTests.swift:240:32
#3 0x563e5ffe42de in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#4 0x563e60023133 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#5 0x7f84985f8950 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e950)
#6 0x7f84985f8758 in partial apply forwarder for closure #1 (XCTest.XCTestCase) throws -> () in XCTest.(test in _3BE257A46ADB477C7BF2D39968B39F9D)<A where A: XCTest.XCTestCase>((A) -> () throws -> ()) -> (XCTest.XCTestCase) throws -> () (/usr/lib/swift/linux/libXCTest.so+0x2e758)
#7 0x7f84985f86c3 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e6c3)
#8 0x7f84985f89d8 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".16" (/usr/lib/swift/linux/libXCTest.so+0x2e9d8)
#9 0x7f84985eac76 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x20c76)
#10 0x7f84985f7118 in XCTest.XCTestCase.invokeTest() -> () (/usr/lib/swift/linux/libXCTest.so+0x2d118)
#11 0x7f84985f6ddb in XCTest.XCTestCase.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2cddb)
#12 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#13 0x7f84985f8d37 in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed37)
#14 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#15 0x7f84985f8d37 in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed37)
#16 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#17 0x7f84985f8d4f in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed4f)
#18 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#19 0x7f84985f5d12 in XCTest.XCTMain([(testCaseClass: XCTest.XCTestCase.Type, allTests: [(Swift.String, (XCTest.XCTestCase) throws -> ())])]) -> Swift.Never (/usr/lib/swift/linux/libXCTest.so+0x2bd12)
#20 0x563e60e2e915 in main /Users/johannes/extsrc/APNSwift/Tests/LinuxMain.swift:10:1
#21 0x7f849589db96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
Indirect leak of 256 byte(s) in 1 object(s) allocated from:
#0 0x563e5ff2f6f3 in malloc /home/buildnode/jenkins/workspace/oss-swift-5.1-package-linux-ubuntu-18_04/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f8497afa5f1 in swift_slowAlloc (/usr/lib/swift/linux/libswiftCore.so+0x3c55f1)
#2 0x7f84979c4182 in Swift._StringGuts.append(Swift._StringGutsSlice) -> () (/usr/lib/swift/linux/libswiftCore.so+0x28f182)
#3 0x7f8497a6a8cd in function signature specialization <Arg[0] = Exploded> of Swift._StringGuts.append(Swift._StringGuts) -> () (/usr/lib/swift/linux/libswiftCore.so+0x3358cd)
#4 0x7f8497a71d1e in function signature specialization <Arg[0] = Exploded, Arg[1] = Exploded, Arg[2] = Dead> of static Swift.String.+ infix(Swift.String, Swift.String) -> Swift.String (/usr/lib/swift/linux/libswiftCore.so+0x33cd1e)
#5 0x563e5ff80b45 in static APNSwift.APNSwiftBearerTokenFactory.makeNewBearerToken(configuration: APNSwift.APNSwiftConfiguration) throws -> Swift.String /Users/johannes/extsrc/APNSwift/Sources/APNSwift/APNSwiftBearerTokenFactory.swift:50:42
#6 0x563e5ff8141d in closure #1 (NIO.RepeatedTask) throws -> () in APNSwift.APNSwiftBearerTokenFactory.init(eventLoop: NIO.EventLoop, configuration: APNSwift.APNSwiftConfiguration) throws -> APNSwift.APNSwiftBearerTokenFactory /Users/johannes/extsrc/APNSwift/Sources/APNSwift/APNSwiftBearerTokenFactory.swift:31:70
#7 0x563e5ff81796 in partial apply forwarder for closure #1 (NIO.RepeatedTask) throws -> () in APNSwift.APNSwiftBearerTokenFactory.init(eventLoop: NIO.EventLoop, configuration: APNSwift.APNSwiftConfiguration) throws -> APNSwift.APNSwiftBearerTokenFactory /Users/johannes/extsrc/APNSwift/<compiler-generated>
#8 0x563e6062bf87 in closure #1 (NIO.RepeatedTask) -> NIO.EventLoopFuture<()> in (extension in NIO):NIO.EventLoop.scheduleRepeatedTask(initialDelay: NIO.TimeAmount, delay: NIO.TimeAmount, notifying: NIO.EventLoopPromise<()>?, _: (NIO.RepeatedTask) throws -> ()) -> NIO.RepeatedTask /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:516:21
#9 0x563e6062bf87 in closure #1 (NIO.RepeatedTask) -> NIO.EventLoopFuture<()> in (extension in NIO):NIO.EventLoop.scheduleRepeatedTask(initialDelay: NIO.TimeAmount, delay: NIO.TimeAmount, notifying: NIO.EventLoopPromise<()>?, _: (NIO.RepeatedTask) throws -> ()) -> NIO.RepeatedTask (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa83f87)
#10 0x563e606251c8 in closure #1 () -> NIO.EventLoopFuture<()> in NIO.RepeatedTask.(reschedule0 in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:163:20
#11 0x563e606251c8 in closure #1 () -> NIO.EventLoopFuture<()> in NIO.RepeatedTask.(reschedule0 in _D5D78C61B22284700B9BD1ACFBC25157)() -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa7d1c8)
#12 0x563e604c9eb2 in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.EventLoopFuture<()>, @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out NIO.EventLoopFuture<()>, @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#13 0x563e606514f3 in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.EventLoopFuture<()>, @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out NIO.EventLoopFuture<()>, @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".116" /Users/johannes/extsrc/APNSwift/<compiler-generated>
#14 0x563e606089fd in closure #1 () -> () in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:69:37
#15 0x563e606089fd in closure #1 () -> () in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa609fd)
#16 0x563e6060ad8e in NIO.EmbeddedEventLoop.advanceTime(by: NIO.TimeAmount) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:127:22
#17 0x563e6001a31d in APNSwiftTests.APNSwiftRequestTests.testTokenProviderUpdate() -> () /Users/johannes/extsrc/APNSwift/Tests/APNSwiftTests/APNSwiftRequestTests.swift:261:14
#18 0x563e5ffe42de in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#19 0x563e60023133 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#20 0x7f84985f8950 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e950)
#21 0x7f84985f8758 in partial apply forwarder for closure #1 (XCTest.XCTestCase) throws -> () in XCTest.(test in _3BE257A46ADB477C7BF2D39968B39F9D)<A where A: XCTest.XCTestCase>((A) -> () throws -> ()) -> (XCTest.XCTestCase) throws -> () (/usr/lib/swift/linux/libXCTest.so+0x2e758)
#22 0x7f84985f86c3 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e6c3)
#23 0x7f84985f89d8 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".16" (/usr/lib/swift/linux/libXCTest.so+0x2e9d8)
#24 0x7f84985eac76 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x20c76)
#25 0x7f84985f7118 in XCTest.XCTestCase.invokeTest() -> () (/usr/lib/swift/linux/libXCTest.so+0x2d118)
#26 0x7f84985f6ddb in XCTest.XCTestCase.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2cddb)
#27 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#28 0x7f84985f8d37 in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed37)
#29 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#30 0x7f84985f8d37 in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed37)
#31 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#32 0x7f84985f8d4f in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed4f)
Indirect leak of 225 byte(s) in 1 object(s) allocated from:
#0 0x563e5ff2f6f3 in malloc /home/buildnode/jenkins/workspace/oss-swift-5.1-package-linux-ubuntu-18_04/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f8497afa5f1 in swift_slowAlloc (/usr/lib/swift/linux/libswiftCore.so+0x3c55f1)
#2 0x563e5ff7e166 in APNSwift.APNSwiftBearerTokenFactory.__allocating_init(eventLoop: NIO.EventLoop, configuration: APNSwift.APNSwiftConfiguration) throws -> APNSwift.APNSwiftBearerTokenFactory /Users/johannes/extsrc/APNSwift/Sources/APNSwift/APNSwiftBearerTokenFactory.swift
#3 0x563e600195eb in APNSwiftTests.APNSwiftRequestTests.testTokenProviderUpdate() -> () /Users/johannes/extsrc/APNSwift/Tests/APNSwiftTests/APNSwiftRequestTests.swift:240:32
#4 0x563e5ffe42de in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#5 0x563e60023133 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#6 0x7f84985f8950 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e950)
#7 0x7f84985f8758 in partial apply forwarder for closure #1 (XCTest.XCTestCase) throws -> () in XCTest.(test in _3BE257A46ADB477C7BF2D39968B39F9D)<A where A: XCTest.XCTestCase>((A) -> () throws -> ()) -> (XCTest.XCTestCase) throws -> () (/usr/lib/swift/linux/libXCTest.so+0x2e758)
#8 0x7f84985f86c3 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e6c3)
#9 0x7f84985f89d8 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".16" (/usr/lib/swift/linux/libXCTest.so+0x2e9d8)
#10 0x7f84985eac76 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x20c76)
#11 0x7f84985f7118 in XCTest.XCTestCase.invokeTest() -> () (/usr/lib/swift/linux/libXCTest.so+0x2d118)
#12 0x7f84985f6ddb in XCTest.XCTestCase.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2cddb)
#13 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#14 0x7f84985f8d37 in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed37)
#15 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#16 0x7f84985f8d37 in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed37)
#17 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#18 0x7f84985f8d4f in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed4f)
#19 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#20 0x7f84985f5d12 in XCTest.XCTMain([(testCaseClass: XCTest.XCTestCase.Type, allTests: [(Swift.String, (XCTest.XCTestCase) throws -> ())])]) -> Swift.Never (/usr/lib/swift/linux/libXCTest.so+0x2bd12)
#21 0x563e60e2e915 in main /Users/johannes/extsrc/APNSwift/Tests/LinuxMain.swift:10:1
#22 0x7f849589db96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
Indirect leak of 80 byte(s) in 2 object(s) allocated from:
#0 0x563e5ff2f6f3 in malloc /home/buildnode/jenkins/workspace/oss-swift-5.1-package-linux-ubuntu-18_04/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f8497afa5f1 in swift_slowAlloc (/usr/lib/swift/linux/libswiftCore.so+0x3c55f1)
#2 0x563e60609240 in NIO.EmbeddedEventLoop.scheduleTask<A>(in: NIO.TimeAmount, _: () throws -> A) -> NIO.Scheduled<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:85:16
#3 0x563e6060c008 in protocol witness for NIO.EventLoop.scheduleTask<A>(in: NIO.TimeAmount, _: () throws -> A1) -> NIO.Scheduled<A1> in conformance NIO.EmbeddedEventLoop : NIO.EventLoop in NIO /Users/johannes/extsrc/APNSwift/<compiler-generated>
#4 0x563e60624a7b in NIO.RepeatedTask.(reschedule0 in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:158:41
#5 0x563e606242c4 in closure #1 (Swift.Result<(), Swift.Error>) -> () in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:144:22
#6 0x563e606242c4 in closure #1 (Swift.Result<(), Swift.Error>) -> () in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa7c2c4)
#7 0x563e60017c03 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed Swift.Result<(), Swift.Error>) -> () to @escaping @callee_guaranteed (@in_guaranteed Swift.Result<(), Swift.Error>) -> () /Users/johannes/extsrc/APNSwift/<compiler-generated>
#8 0x563e6066b6b7 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:757:13
#9 0x563e6066b6b7 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xac36b7)
#10 0x563e6066143f in NIO.EventLoopFuture._addCallback(() -> NIO.CallbackList) -> NIO.CallbackList /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:682:16
#11 0x563e606618fa in NIO.EventLoopFuture._whenComplete(() -> NIO.CallbackList) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:689:18
#12 0x563e6066b0c4 in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:756:14
#13 0x563e60624158 in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:143:20
#14 0x563e60624158 in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa7c158)
#15 0x563e60624c8f in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIO.EventLoopFuture<()>) -> () to @escaping @callee_guaranteed (@in_guaranteed NIO.EventLoopFuture<()>) -> () /Users/johannes/extsrc/APNSwift/<compiler-generated>
#16 0x563e6066a321 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:719:17
#17 0x563e6066a321 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xac2321)
#18 0x563e606537e2 in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#19 0x563e606538c0 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#20 0x563e60652979 in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out NIO.CallbackList) to @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#21 0x563e60655cfe in NIO.CallbackList._run() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:109:32
#22 0x563e6065768f in NIO.EventLoopPromise._resolve(value: Swift.Result<A, Swift.Error>) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:230:42
#23 0x563e60657280 in NIO.EventLoopPromise.succeed(A) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:175:14
#24 0x563e60608a29 in closure #1 () -> () in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:69:25
#25 0x563e60608a29 in closure #1 () -> () in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa60a29)
#26 0x563e6060ad8e in NIO.EmbeddedEventLoop.advanceTime(by: NIO.TimeAmount) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:127:22
#27 0x563e6001a31d in APNSwiftTests.APNSwiftRequestTests.testTokenProviderUpdate() -> () /Users/johannes/extsrc/APNSwift/Tests/APNSwiftTests/APNSwiftRequestTests.swift:261:14
#28 0x563e5ffe42de in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#29 0x563e60023133 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#30 0x7f84985f8950 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e950)
#31 0x7f84985f8758 in partial apply forwarder for closure #1 (XCTest.XCTestCase) throws -> () in XCTest.(test in _3BE257A46ADB477C7BF2D39968B39F9D)<A where A: XCTest.XCTestCase>((A) -> () throws -> ()) -> (XCTest.XCTestCase) throws -> () (/usr/lib/swift/linux/libXCTest.so+0x2e758)
#32 0x7f84985f86c3 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e6c3)
#33 0x7f84985f89d8 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".16" (/usr/lib/swift/linux/libXCTest.so+0x2e9d8)
#34 0x7f84985eac76 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x20c76)
Indirect leak of 80 byte(s) in 1 object(s) allocated from:
#0 0x563e5ff2f6f3 in malloc /home/buildnode/jenkins/workspace/oss-swift-5.1-package-linux-ubuntu-18_04/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f8497afa5f1 in swift_slowAlloc (/usr/lib/swift/linux/libswiftCore.so+0x3c55f1)
#2 0x563e60656cab in NIO.EventLoopFuture.__allocating_init(_eventLoop: NIO.EventLoop, file: Swift.StaticString, line: Swift.UInt) -> NIO.EventLoopFuture<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:415:14
#3 0x563e6065662c in NIO.EventLoopPromise.init(eventLoop: NIO.EventLoop, file: Swift.StaticString, line: Swift.UInt) -> NIO.EventLoopPromise<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:166:50
#4 0x563e6062add8 in (extension in NIO):NIO.EventLoop.makePromise<A>(of: A1.Type, file: Swift.StaticString, line: Swift.UInt) -> NIO.EventLoopPromise<A1> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:470:34
#5 0x563e606082e8 in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:66:44
#6 0x563e60609240 in NIO.EmbeddedEventLoop.scheduleTask<A>(in: NIO.TimeAmount, _: () throws -> A) -> NIO.Scheduled<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:85:16
#7 0x563e6060c008 in protocol witness for NIO.EventLoop.scheduleTask<A>(in: NIO.TimeAmount, _: () throws -> A1) -> NIO.Scheduled<A1> in conformance NIO.EmbeddedEventLoop : NIO.EventLoop in NIO /Users/johannes/extsrc/APNSwift/<compiler-generated>
#8 0x563e60624a7b in NIO.RepeatedTask.(reschedule0 in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:158:41
#9 0x563e606242c4 in closure #1 (Swift.Result<(), Swift.Error>) -> () in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:144:22
#10 0x563e606242c4 in closure #1 (Swift.Result<(), Swift.Error>) -> () in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa7c2c4)
#11 0x563e60017c03 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed Swift.Result<(), Swift.Error>) -> () to @escaping @callee_guaranteed (@in_guaranteed Swift.Result<(), Swift.Error>) -> () /Users/johannes/extsrc/APNSwift/<compiler-generated>
#12 0x563e6066b6b7 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:757:13
#13 0x563e6066b6b7 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xac36b7)
#14 0x563e6066143f in NIO.EventLoopFuture._addCallback(() -> NIO.CallbackList) -> NIO.CallbackList /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:682:16
#15 0x563e606618fa in NIO.EventLoopFuture._whenComplete(() -> NIO.CallbackList) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:689:18
#16 0x563e6066b0c4 in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:756:14
#17 0x563e60624158 in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:143:20
#18 0x563e60624158 in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa7c158)
#19 0x563e60624c8f in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIO.EventLoopFuture<()>) -> () to @escaping @callee_guaranteed (@in_guaranteed NIO.EventLoopFuture<()>) -> () /Users/johannes/extsrc/APNSwift/<compiler-generated>
#20 0x563e6066a321 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:719:17
#21 0x563e6066a321 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xac2321)
#22 0x563e606537e2 in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#23 0x563e606538c0 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#24 0x563e60652979 in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out NIO.CallbackList) to @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#25 0x563e60655cfe in NIO.CallbackList._run() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:109:32
#26 0x563e6065768f in NIO.EventLoopPromise._resolve(value: Swift.Result<A, Swift.Error>) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:230:42
#27 0x563e60657280 in NIO.EventLoopPromise.succeed(A) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:175:14
#28 0x563e60608a29 in closure #1 () -> () in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:69:25
#29 0x563e60608a29 in closure #1 () -> () in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa60a29)
#30 0x563e6060ad8e in NIO.EmbeddedEventLoop.advanceTime(by: NIO.TimeAmount) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:127:22
#31 0x563e6001a31d in APNSwiftTests.APNSwiftRequestTests.testTokenProviderUpdate() -> () /Users/johannes/extsrc/APNSwift/Tests/APNSwiftTests/APNSwiftRequestTests.swift:261:14
#32 0x563e5ffe42de in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#33 0x563e60023133 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#34 0x7f84985f8950 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e950)
Indirect leak of 72 byte(s) in 1 object(s) allocated from:
#0 0x563e5ff2f6f3 in malloc /home/buildnode/jenkins/workspace/oss-swift-5.1-package-linux-ubuntu-18_04/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f8497afa5f1 in swift_slowAlloc (/usr/lib/swift/linux/libswiftCore.so+0x3c55f1)
#2 0x563e6062c46f in (extension in NIO):NIO.EventLoop.scheduleRepeatedAsyncTask(initialDelay: NIO.TimeAmount, delay: NIO.TimeAmount, notifying: NIO.EventLoopPromise<()>?, _: (NIO.RepeatedTask) -> NIO.EventLoopFuture<()>) -> NIO.RepeatedTask /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:544:24
#3 0x563e6062bc63 in (extension in NIO):NIO.EventLoop.scheduleRepeatedTask(initialDelay: NIO.TimeAmount, delay: NIO.TimeAmount, notifying: NIO.EventLoopPromise<()>?, _: (NIO.RepeatedTask) throws -> ()) -> NIO.RepeatedTask /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:522:21
#4 0x563e5ff7e9e5 in APNSwift.APNSwiftBearerTokenFactory.init(eventLoop: NIO.EventLoop, configuration: APNSwift.APNSwiftConfiguration) throws -> APNSwift.APNSwiftBearerTokenFactory /Users/johannes/extsrc/APNSwift/Sources/APNSwift/APNSwiftBearerTokenFactory.swift:30:37
#5 0x563e5ff7e166 in APNSwift.APNSwiftBearerTokenFactory.__allocating_init(eventLoop: NIO.EventLoop, configuration: APNSwift.APNSwiftConfiguration) throws -> APNSwift.APNSwiftBearerTokenFactory /Users/johannes/extsrc/APNSwift/Sources/APNSwift/APNSwiftBearerTokenFactory.swift
#6 0x563e600195eb in APNSwiftTests.APNSwiftRequestTests.testTokenProviderUpdate() -> () /Users/johannes/extsrc/APNSwift/Tests/APNSwiftTests/APNSwiftRequestTests.swift:240:32
#7 0x563e5ffe42de in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#8 0x563e60023133 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#9 0x7f84985f8950 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e950)
#10 0x7f84985f8758 in partial apply forwarder for closure #1 (XCTest.XCTestCase) throws -> () in XCTest.(test in _3BE257A46ADB477C7BF2D39968B39F9D)<A where A: XCTest.XCTestCase>((A) -> () throws -> ()) -> (XCTest.XCTestCase) throws -> () (/usr/lib/swift/linux/libXCTest.so+0x2e758)
#11 0x7f84985f86c3 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e6c3)
#12 0x7f84985f89d8 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".16" (/usr/lib/swift/linux/libXCTest.so+0x2e9d8)
#13 0x7f84985eac76 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x20c76)
#14 0x7f84985f7118 in XCTest.XCTestCase.invokeTest() -> () (/usr/lib/swift/linux/libXCTest.so+0x2d118)
#15 0x7f84985f6ddb in XCTest.XCTestCase.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2cddb)
#16 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#17 0x7f84985f8d37 in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed37)
#18 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#19 0x7f84985f8d37 in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed37)
#20 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#21 0x7f84985f8d4f in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed4f)
#22 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#23 0x7f84985f5d12 in XCTest.XCTMain([(testCaseClass: XCTest.XCTestCase.Type, allTests: [(Swift.String, (XCTest.XCTestCase) throws -> ())])]) -> Swift.Never (/usr/lib/swift/linux/libXCTest.so+0x2bd12)
#24 0x563e60e2e915 in main /Users/johannes/extsrc/APNSwift/Tests/LinuxMain.swift:10:1
#25 0x7f849589db96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
Indirect leak of 64 byte(s) in 1 object(s) allocated from:
#0 0x563e5ff2f6f3 in malloc /home/buildnode/jenkins/workspace/oss-swift-5.1-package-linux-ubuntu-18_04/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f8497afa5f1 in swift_slowAlloc (/usr/lib/swift/linux/libswiftCore.so+0x3c55f1)
#2 0x7f849786f239 in Swift.Array._copyToNewBuffer(oldCount: Swift.Int) -> () (/usr/lib/swift/linux/libswiftCore.so+0x13a239)
#3 0x7f8497a83e67 in function signature specialization <Arg[0] = Owned To Guaranteed> of Swift.Array.append(__owned A) -> () (/usr/lib/swift/linux/libswiftCore.so+0x34ee67)
#4 0x7f84978722de in merged Swift.ContiguousArray.append(__owned A) -> () (/usr/lib/swift/linux/libswiftCore.so+0x13d2de)
#5 0x563e60653552 in NIO.CallbackList.append(() -> NIO.CallbackList) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:56:40
#6 0x563e60661400 in NIO.EventLoopFuture._addCallback(() -> NIO.CallbackList) -> NIO.CallbackList /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:679:29
#7 0x563e606618fa in NIO.EventLoopFuture._whenComplete(() -> NIO.CallbackList) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:689:18
#8 0x563e6066a738 in NIO.EventLoopFuture.whenFailure((Swift.Error) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:737:14
#9 0x563e60622bc9 in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:148:32
#10 0x563e60624b2d in NIO.RepeatedTask.(reschedule0 in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:165:14
#11 0x563e606242c4 in closure #1 (Swift.Result<(), Swift.Error>) -> () in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:144:22
#12 0x563e606242c4 in closure #1 (Swift.Result<(), Swift.Error>) -> () in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa7c2c4)
#13 0x563e60017c03 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed Swift.Result<(), Swift.Error>) -> () to @escaping @callee_guaranteed (@in_guaranteed Swift.Result<(), Swift.Error>) -> () /Users/johannes/extsrc/APNSwift/<compiler-generated>
#14 0x563e6066b6b7 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:757:13
#15 0x563e6066b6b7 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xac36b7)
#16 0x563e6066143f in NIO.EventLoopFuture._addCallback(() -> NIO.CallbackList) -> NIO.CallbackList /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:682:16
#17 0x563e606618fa in NIO.EventLoopFuture._whenComplete(() -> NIO.CallbackList) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:689:18
#18 0x563e6066b0c4 in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:756:14
#19 0x563e60624158 in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:143:20
#20 0x563e60624158 in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa7c158)
#21 0x563e60624c8f in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIO.EventLoopFuture<()>) -> () to @escaping @callee_guaranteed (@in_guaranteed NIO.EventLoopFuture<()>) -> () /Users/johannes/extsrc/APNSwift/<compiler-generated>
#22 0x563e6066a321 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:719:17
#23 0x563e6066a321 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xac2321)
#24 0x563e606537e2 in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#25 0x563e606538c0 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#26 0x563e60652979 in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out NIO.CallbackList) to @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#27 0x563e60655cfe in NIO.CallbackList._run() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:109:32
#28 0x563e6065768f in NIO.EventLoopPromise._resolve(value: Swift.Result<A, Swift.Error>) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:230:42
#29 0x563e60657280 in NIO.EventLoopPromise.succeed(A) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:175:14
#30 0x563e60608a29 in closure #1 () -> () in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:69:25
#31 0x563e60608a29 in closure #1 () -> () in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa60a29)
#32 0x563e6060ad8e in NIO.EmbeddedEventLoop.advanceTime(by: NIO.TimeAmount) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:127:22
#33 0x563e6001a31d in APNSwiftTests.APNSwiftRequestTests.testTokenProviderUpdate() -> () /Users/johannes/extsrc/APNSwift/Tests/APNSwiftTests/APNSwiftRequestTests.swift:261:14
#34 0x563e5ffe42de in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
Indirect leak of 64 byte(s) in 1 object(s) allocated from:
#0 0x563e5ff2f6f3 in malloc /home/buildnode/jenkins/workspace/oss-swift-5.1-package-linux-ubuntu-18_04/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f8497afa5f1 in swift_slowAlloc (/usr/lib/swift/linux/libswiftCore.so+0x3c55f1)
#2 0x563e604ff8c4 in static NIO.ByteBuffer._Storage.reallocated(minimumCapacity: Swift.UInt32, allocator: NIO.ByteBufferAllocator) -> NIO.ByteBuffer._Storage /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:266:20
#3 0x563e604f9fc2 in NIO.ByteBuffer.init(allocator: NIO.ByteBufferAllocator, startingCapacity: Swift.Int) -> NIO.ByteBuffer /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:407:34
#4 0x563e604f95fd in NIO.ByteBufferAllocator.buffer(capacity: Swift.Int) -> NIO.ByteBuffer /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:90:16
#5 0x563e600181ae in APNSwiftTests.APNSwiftRequestTests.testTokenProviderUpdate() -> () /Users/johannes/extsrc/APNSwift/Tests/APNSwiftTests/APNSwiftRequestTests.swift:230:38
#6 0x563e5ffe42de in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#7 0x563e60023133 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#8 0x7f84985f8950 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e950)
#9 0x7f84985f8758 in partial apply forwarder for closure #1 (XCTest.XCTestCase) throws -> () in XCTest.(test in _3BE257A46ADB477C7BF2D39968B39F9D)<A where A: XCTest.XCTestCase>((A) -> () throws -> ()) -> (XCTest.XCTestCase) throws -> () (/usr/lib/swift/linux/libXCTest.so+0x2e758)
#10 0x7f84985f86c3 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e6c3)
#11 0x7f84985f89d8 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".16" (/usr/lib/swift/linux/libXCTest.so+0x2e9d8)
#12 0x7f84985eac76 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x20c76)
#13 0x7f84985f7118 in XCTest.XCTestCase.invokeTest() -> () (/usr/lib/swift/linux/libXCTest.so+0x2d118)
#14 0x7f84985f6ddb in XCTest.XCTestCase.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2cddb)
#15 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#16 0x7f84985f8d37 in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed37)
#17 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#18 0x7f84985f8d37 in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed37)
#19 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#20 0x7f84985f8d4f in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed4f)
#21 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#22 0x7f84985f5d12 in XCTest.XCTMain([(testCaseClass: XCTest.XCTestCase.Type, allTests: [(Swift.String, (XCTest.XCTestCase) throws -> ())])]) -> Swift.Never (/usr/lib/swift/linux/libXCTest.so+0x2bd12)
#23 0x563e60e2e915 in main /Users/johannes/extsrc/APNSwift/Tests/LinuxMain.swift:10:1
#24 0x7f849589db96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
Indirect leak of 56 byte(s) in 1 object(s) allocated from:
#0 0x563e5ff2f6f3 in malloc /home/buildnode/jenkins/workspace/oss-swift-5.1-package-linux-ubuntu-18_04/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f8497afa5f1 in swift_slowAlloc (/usr/lib/swift/linux/libswiftCore.so+0x3c55f1)
#2 0x563e5ff7e9e5 in APNSwift.APNSwiftBearerTokenFactory.init(eventLoop: NIO.EventLoop, configuration: APNSwift.APNSwiftConfiguration) throws -> APNSwift.APNSwiftBearerTokenFactory /Users/johannes/extsrc/APNSwift/Sources/APNSwift/APNSwiftBearerTokenFactory.swift:30:37
#3 0x563e5ff7e166 in APNSwift.APNSwiftBearerTokenFactory.__allocating_init(eventLoop: NIO.EventLoop, configuration: APNSwift.APNSwiftConfiguration) throws -> APNSwift.APNSwiftBearerTokenFactory /Users/johannes/extsrc/APNSwift/Sources/APNSwift/APNSwiftBearerTokenFactory.swift
#4 0x563e600195eb in APNSwiftTests.APNSwiftRequestTests.testTokenProviderUpdate() -> () /Users/johannes/extsrc/APNSwift/Tests/APNSwiftTests/APNSwiftRequestTests.swift:240:32
#5 0x563e5ffe42de in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#6 0x563e60023133 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#7 0x7f84985f8950 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e950)
#8 0x7f84985f8758 in partial apply forwarder for closure #1 (XCTest.XCTestCase) throws -> () in XCTest.(test in _3BE257A46ADB477C7BF2D39968B39F9D)<A where A: XCTest.XCTestCase>((A) -> () throws -> ()) -> (XCTest.XCTestCase) throws -> () (/usr/lib/swift/linux/libXCTest.so+0x2e758)
#9 0x7f84985f86c3 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e6c3)
#10 0x7f84985f89d8 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".16" (/usr/lib/swift/linux/libXCTest.so+0x2e9d8)
#11 0x7f84985eac76 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x20c76)
#12 0x7f84985f7118 in XCTest.XCTestCase.invokeTest() -> () (/usr/lib/swift/linux/libXCTest.so+0x2d118)
#13 0x7f84985f6ddb in XCTest.XCTestCase.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2cddb)
#14 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#15 0x7f84985f8d37 in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed37)
#16 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#17 0x7f84985f8d37 in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed37)
#18 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#19 0x7f84985f8d4f in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed4f)
#20 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#21 0x7f84985f5d12 in XCTest.XCTMain([(testCaseClass: XCTest.XCTestCase.Type, allTests: [(Swift.String, (XCTest.XCTestCase) throws -> ())])]) -> Swift.Never (/usr/lib/swift/linux/libXCTest.so+0x2bd12)
#22 0x563e60e2e915 in main /Users/johannes/extsrc/APNSwift/Tests/LinuxMain.swift:10:1
#23 0x7f849589db96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
Indirect leak of 56 byte(s) in 1 object(s) allocated from:
#0 0x563e5ff2f6f3 in malloc /home/buildnode/jenkins/workspace/oss-swift-5.1-package-linux-ubuntu-18_04/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f8497afa5f1 in swift_slowAlloc (/usr/lib/swift/linux/libswiftCore.so+0x3c55f1)
#2 0x563e60019568 in APNSwiftTests.APNSwiftRequestTests.testTokenProviderUpdate() -> () /Users/johannes/extsrc/APNSwift/Tests/APNSwiftTests/APNSwiftRequestTests.swift:239:20
#3 0x563e5ffe42de in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#4 0x563e60023133 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#5 0x7f84985f8950 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e950)
#6 0x7f84985f8758 in partial apply forwarder for closure #1 (XCTest.XCTestCase) throws -> () in XCTest.(test in _3BE257A46ADB477C7BF2D39968B39F9D)<A where A: XCTest.XCTestCase>((A) -> () throws -> ()) -> (XCTest.XCTestCase) throws -> () (/usr/lib/swift/linux/libXCTest.so+0x2e758)
#7 0x7f84985f86c3 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e6c3)
#8 0x7f84985f89d8 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".16" (/usr/lib/swift/linux/libXCTest.so+0x2e9d8)
#9 0x7f84985eac76 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x20c76)
#10 0x7f84985f7118 in XCTest.XCTestCase.invokeTest() -> () (/usr/lib/swift/linux/libXCTest.so+0x2d118)
#11 0x7f84985f6ddb in XCTest.XCTestCase.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2cddb)
#12 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#13 0x7f84985f8d37 in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed37)
#14 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#15 0x7f84985f8d37 in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed37)
#16 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#17 0x7f84985f8d4f in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed4f)
#18 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#19 0x7f84985f5d12 in XCTest.XCTMain([(testCaseClass: XCTest.XCTestCase.Type, allTests: [(Swift.String, (XCTest.XCTestCase) throws -> ())])]) -> Swift.Never (/usr/lib/swift/linux/libXCTest.so+0x2bd12)
#20 0x563e60e2e915 in main /Users/johannes/extsrc/APNSwift/Tests/LinuxMain.swift:10:1
#21 0x7f849589db96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
Indirect leak of 40 byte(s) in 1 object(s) allocated from:
#0 0x563e5ff2f6f3 in malloc /home/buildnode/jenkins/workspace/oss-swift-5.1-package-linux-ubuntu-18_04/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f8497afa5f1 in swift_slowAlloc (/usr/lib/swift/linux/libswiftCore.so+0x3c55f1)
#2 0x563e60622bc9 in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:148:32
#3 0x563e60624b2d in NIO.RepeatedTask.(reschedule0 in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:165:14
#4 0x563e606242c4 in closure #1 (Swift.Result<(), Swift.Error>) -> () in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:144:22
#5 0x563e606242c4 in closure #1 (Swift.Result<(), Swift.Error>) -> () in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa7c2c4)
#6 0x563e60017c03 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed Swift.Result<(), Swift.Error>) -> () to @escaping @callee_guaranteed (@in_guaranteed Swift.Result<(), Swift.Error>) -> () /Users/johannes/extsrc/APNSwift/<compiler-generated>
#7 0x563e6066b6b7 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:757:13
#8 0x563e6066b6b7 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xac36b7)
#9 0x563e6066143f in NIO.EventLoopFuture._addCallback(() -> NIO.CallbackList) -> NIO.CallbackList /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:682:16
#10 0x563e606618fa in NIO.EventLoopFuture._whenComplete(() -> NIO.CallbackList) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:689:18
#11 0x563e6066b0c4 in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:756:14
#12 0x563e60624158 in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:143:20
#13 0x563e60624158 in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa7c158)
#14 0x563e60624c8f in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIO.EventLoopFuture<()>) -> () to @escaping @callee_guaranteed (@in_guaranteed NIO.EventLoopFuture<()>) -> () /Users/johannes/extsrc/APNSwift/<compiler-generated>
#15 0x563e6066a321 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:719:17
#16 0x563e6066a321 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xac2321)
#17 0x563e606537e2 in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#18 0x563e606538c0 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#19 0x563e60652979 in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out NIO.CallbackList) to @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#20 0x563e60655cfe in NIO.CallbackList._run() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:109:32
#21 0x563e6065768f in NIO.EventLoopPromise._resolve(value: Swift.Result<A, Swift.Error>) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:230:42
#22 0x563e60657280 in NIO.EventLoopPromise.succeed(A) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:175:14
#23 0x563e60608a29 in closure #1 () -> () in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:69:25
#24 0x563e60608a29 in closure #1 () -> () in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa60a29)
#25 0x563e6060ad8e in NIO.EmbeddedEventLoop.advanceTime(by: NIO.TimeAmount) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:127:22
#26 0x563e6001a31d in APNSwiftTests.APNSwiftRequestTests.testTokenProviderUpdate() -> () /Users/johannes/extsrc/APNSwift/Tests/APNSwiftTests/APNSwiftRequestTests.swift:261:14
#27 0x563e5ffe42de in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#28 0x563e60023133 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#29 0x7f84985f8950 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e950)
#30 0x7f84985f8758 in partial apply forwarder for closure #1 (XCTest.XCTestCase) throws -> () in XCTest.(test in _3BE257A46ADB477C7BF2D39968B39F9D)<A where A: XCTest.XCTestCase>((A) -> () throws -> ()) -> (XCTest.XCTestCase) throws -> () (/usr/lib/swift/linux/libXCTest.so+0x2e758)
#31 0x7f84985f86c3 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e6c3)
#32 0x7f84985f89d8 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".16" (/usr/lib/swift/linux/libXCTest.so+0x2e9d8)
#33 0x7f84985eac76 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x20c76)
#34 0x7f84985f7118 in XCTest.XCTestCase.invokeTest() -> () (/usr/lib/swift/linux/libXCTest.so+0x2d118)
Indirect leak of 40 byte(s) in 1 object(s) allocated from:
#0 0x563e5ff2f6f3 in malloc /home/buildnode/jenkins/workspace/oss-swift-5.1-package-linux-ubuntu-18_04/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f8497afa5f1 in swift_slowAlloc (/usr/lib/swift/linux/libswiftCore.so+0x3c55f1)
#2 0x563e60622b68 in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:142:32
#3 0x563e60624b2d in NIO.RepeatedTask.(reschedule0 in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:165:14
#4 0x563e606242c4 in closure #1 (Swift.Result<(), Swift.Error>) -> () in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:144:22
#5 0x563e606242c4 in closure #1 (Swift.Result<(), Swift.Error>) -> () in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa7c2c4)
#6 0x563e60017c03 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed Swift.Result<(), Swift.Error>) -> () to @escaping @callee_guaranteed (@in_guaranteed Swift.Result<(), Swift.Error>) -> () /Users/johannes/extsrc/APNSwift/<compiler-generated>
#7 0x563e6066b6b7 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:757:13
#8 0x563e6066b6b7 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xac36b7)
#9 0x563e6066143f in NIO.EventLoopFuture._addCallback(() -> NIO.CallbackList) -> NIO.CallbackList /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:682:16
#10 0x563e606618fa in NIO.EventLoopFuture._whenComplete(() -> NIO.CallbackList) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:689:18
#11 0x563e6066b0c4 in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:756:14
#12 0x563e60624158 in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:143:20
#13 0x563e60624158 in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa7c158)
#14 0x563e60624c8f in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIO.EventLoopFuture<()>) -> () to @escaping @callee_guaranteed (@in_guaranteed NIO.EventLoopFuture<()>) -> () /Users/johannes/extsrc/APNSwift/<compiler-generated>
#15 0x563e6066a321 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:719:17
#16 0x563e6066a321 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xac2321)
#17 0x563e606537e2 in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#18 0x563e606538c0 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#19 0x563e60652979 in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out NIO.CallbackList) to @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#20 0x563e60655cfe in NIO.CallbackList._run() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:109:32
#21 0x563e6065768f in NIO.EventLoopPromise._resolve(value: Swift.Result<A, Swift.Error>) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:230:42
#22 0x563e60657280 in NIO.EventLoopPromise.succeed(A) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:175:14
#23 0x563e60608a29 in closure #1 () -> () in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:69:25
#24 0x563e60608a29 in closure #1 () -> () in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa60a29)
#25 0x563e6060ad8e in NIO.EmbeddedEventLoop.advanceTime(by: NIO.TimeAmount) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:127:22
#26 0x563e6001a31d in APNSwiftTests.APNSwiftRequestTests.testTokenProviderUpdate() -> () /Users/johannes/extsrc/APNSwift/Tests/APNSwiftTests/APNSwiftRequestTests.swift:261:14
#27 0x563e5ffe42de in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#28 0x563e60023133 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#29 0x7f84985f8950 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e950)
#30 0x7f84985f8758 in partial apply forwarder for closure #1 (XCTest.XCTestCase) throws -> () in XCTest.(test in _3BE257A46ADB477C7BF2D39968B39F9D)<A where A: XCTest.XCTestCase>((A) -> () throws -> ()) -> (XCTest.XCTestCase) throws -> () (/usr/lib/swift/linux/libXCTest.so+0x2e758)
#31 0x7f84985f86c3 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e6c3)
#32 0x7f84985f89d8 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".16" (/usr/lib/swift/linux/libXCTest.so+0x2e9d8)
#33 0x7f84985eac76 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x20c76)
#34 0x7f84985f7118 in XCTest.XCTestCase.invokeTest() -> () (/usr/lib/swift/linux/libXCTest.so+0x2d118)
Indirect leak of 40 byte(s) in 1 object(s) allocated from:
#0 0x563e5ff2f6f3 in malloc /home/buildnode/jenkins/workspace/oss-swift-5.1-package-linux-ubuntu-18_04/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f8497afa5f1 in swift_slowAlloc (/usr/lib/swift/linux/libswiftCore.so+0x3c55f1)
#2 0x563e6061fbaf in NIO.Scheduled.init(promise: NIO.EventLoopPromise<A>, cancellationTask: () -> ()) -> NIO.Scheduled<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:27:30
#3 0x563e6060857e in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:75:25
#4 0x563e60609240 in NIO.EmbeddedEventLoop.scheduleTask<A>(in: NIO.TimeAmount, _: () throws -> A) -> NIO.Scheduled<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:85:16
#5 0x563e6060c008 in protocol witness for NIO.EventLoop.scheduleTask<A>(in: NIO.TimeAmount, _: () throws -> A1) -> NIO.Scheduled<A1> in conformance NIO.EmbeddedEventLoop : NIO.EventLoop in NIO /Users/johannes/extsrc/APNSwift/<compiler-generated>
#6 0x563e60624a7b in NIO.RepeatedTask.(reschedule0 in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:158:41
#7 0x563e606242c4 in closure #1 (Swift.Result<(), Swift.Error>) -> () in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:144:22
#8 0x563e606242c4 in closure #1 (Swift.Result<(), Swift.Error>) -> () in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa7c2c4)
#9 0x563e60017c03 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed Swift.Result<(), Swift.Error>) -> () to @escaping @callee_guaranteed (@in_guaranteed Swift.Result<(), Swift.Error>) -> () /Users/johannes/extsrc/APNSwift/<compiler-generated>
#10 0x563e6066b6b7 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:757:13
#11 0x563e6066b6b7 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xac36b7)
#12 0x563e6066143f in NIO.EventLoopFuture._addCallback(() -> NIO.CallbackList) -> NIO.CallbackList /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:682:16
#13 0x563e606618fa in NIO.EventLoopFuture._whenComplete(() -> NIO.CallbackList) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:689:18
#14 0x563e6066b0c4 in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:756:14
#15 0x563e60624158 in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:143:20
#16 0x563e60624158 in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa7c158)
#17 0x563e60624c8f in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIO.EventLoopFuture<()>) -> () to @escaping @callee_guaranteed (@in_guaranteed NIO.EventLoopFuture<()>) -> () /Users/johannes/extsrc/APNSwift/<compiler-generated>
#18 0x563e6066a321 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:719:17
#19 0x563e6066a321 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xac2321)
#20 0x563e606537e2 in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#21 0x563e606538c0 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#22 0x563e60652979 in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out NIO.CallbackList) to @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#23 0x563e60655cfe in NIO.CallbackList._run() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:109:32
#24 0x563e6065768f in NIO.EventLoopPromise._resolve(value: Swift.Result<A, Swift.Error>) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:230:42
#25 0x563e60657280 in NIO.EventLoopPromise.succeed(A) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:175:14
#26 0x563e60608a29 in closure #1 () -> () in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:69:25
#27 0x563e60608a29 in closure #1 () -> () in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa60a29)
#28 0x563e6060ad8e in NIO.EmbeddedEventLoop.advanceTime(by: NIO.TimeAmount) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:127:22
#29 0x563e6001a31d in APNSwiftTests.APNSwiftRequestTests.testTokenProviderUpdate() -> () /Users/johannes/extsrc/APNSwift/Tests/APNSwiftTests/APNSwiftRequestTests.swift:261:14
#30 0x563e5ffe42de in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#31 0x563e60023133 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#32 0x7f84985f8950 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e950)
#33 0x7f84985f8758 in partial apply forwarder for closure #1 (XCTest.XCTestCase) throws -> () in XCTest.(test in _3BE257A46ADB477C7BF2D39968B39F9D)<A where A: XCTest.XCTestCase>((A) -> () throws -> ()) -> (XCTest.XCTestCase) throws -> () (/usr/lib/swift/linux/libXCTest.so+0x2e758)
#34 0x7f84985f86c3 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e6c3)
Indirect leak of 40 byte(s) in 1 object(s) allocated from:
#0 0x563e5ff2f6f3 in malloc /home/buildnode/jenkins/workspace/oss-swift-5.1-package-linux-ubuntu-18_04/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f8497afa5f1 in swift_slowAlloc (/usr/lib/swift/linux/libswiftCore.so+0x3c55f1)
#2 0x563e60608481 in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:67:20
#3 0x563e60609240 in NIO.EmbeddedEventLoop.scheduleTask<A>(in: NIO.TimeAmount, _: () throws -> A) -> NIO.Scheduled<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:85:16
#4 0x563e6060c008 in protocol witness for NIO.EventLoop.scheduleTask<A>(in: NIO.TimeAmount, _: () throws -> A1) -> NIO.Scheduled<A1> in conformance NIO.EmbeddedEventLoop : NIO.EventLoop in NIO /Users/johannes/extsrc/APNSwift/<compiler-generated>
#5 0x563e60624a7b in NIO.RepeatedTask.(reschedule0 in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:158:41
#6 0x563e606242c4 in closure #1 (Swift.Result<(), Swift.Error>) -> () in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:144:22
#7 0x563e606242c4 in closure #1 (Swift.Result<(), Swift.Error>) -> () in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa7c2c4)
#8 0x563e60017c03 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed Swift.Result<(), Swift.Error>) -> () to @escaping @callee_guaranteed (@in_guaranteed Swift.Result<(), Swift.Error>) -> () /Users/johannes/extsrc/APNSwift/<compiler-generated>
#9 0x563e6066b6b7 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:757:13
#10 0x563e6066b6b7 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xac36b7)
#11 0x563e6066143f in NIO.EventLoopFuture._addCallback(() -> NIO.CallbackList) -> NIO.CallbackList /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:682:16
#12 0x563e606618fa in NIO.EventLoopFuture._whenComplete(() -> NIO.CallbackList) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:689:18
#13 0x563e6066b0c4 in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:756:14
#14 0x563e60624158 in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:143:20
#15 0x563e60624158 in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa7c158)
#16 0x563e60624c8f in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIO.EventLoopFuture<()>) -> () to @escaping @callee_guaranteed (@in_guaranteed NIO.EventLoopFuture<()>) -> () /Users/johannes/extsrc/APNSwift/<compiler-generated>
#17 0x563e6066a321 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:719:17
#18 0x563e6066a321 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xac2321)
#19 0x563e606537e2 in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#20 0x563e606538c0 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#21 0x563e60652979 in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out NIO.CallbackList) to @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#22 0x563e60655cfe in NIO.CallbackList._run() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:109:32
#23 0x563e6065768f in NIO.EventLoopPromise._resolve(value: Swift.Result<A, Swift.Error>) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:230:42
#24 0x563e60657280 in NIO.EventLoopPromise.succeed(A) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:175:14
#25 0x563e60608a29 in closure #1 () -> () in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:69:25
#26 0x563e60608a29 in closure #1 () -> () in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa60a29)
#27 0x563e6060ad8e in NIO.EmbeddedEventLoop.advanceTime(by: NIO.TimeAmount) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:127:22
#28 0x563e6001a31d in APNSwiftTests.APNSwiftRequestTests.testTokenProviderUpdate() -> () /Users/johannes/extsrc/APNSwift/Tests/APNSwiftTests/APNSwiftRequestTests.swift:261:14
#29 0x563e5ffe42de in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#30 0x563e60023133 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#31 0x7f84985f8950 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e950)
#32 0x7f84985f8758 in partial apply forwarder for closure #1 (XCTest.XCTestCase) throws -> () in XCTest.(test in _3BE257A46ADB477C7BF2D39968B39F9D)<A where A: XCTest.XCTestCase>((A) -> () throws -> ()) -> (XCTest.XCTestCase) throws -> () (/usr/lib/swift/linux/libXCTest.so+0x2e758)
#33 0x7f84985f86c3 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e6c3)
#34 0x7f84985f89d8 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".16" (/usr/lib/swift/linux/libXCTest.so+0x2e9d8)
Indirect leak of 40 byte(s) in 1 object(s) allocated from:
#0 0x563e5ff2f6f3 in malloc /home/buildnode/jenkins/workspace/oss-swift-5.1-package-linux-ubuntu-18_04/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f8497afa5f1 in swift_slowAlloc (/usr/lib/swift/linux/libswiftCore.so+0x3c55f1)
#2 0x7f849786f239 in Swift.Array._copyToNewBuffer(oldCount: Swift.Int) -> () (/usr/lib/swift/linux/libswiftCore.so+0x13a239)
#3 0x7f8497a803ca in function signature specialization <Arg[0] = Owned To Guaranteed> of Swift.ContiguousArray.append(__owned A) -> () (/usr/lib/swift/linux/libswiftCore.so+0x34b3ca)
#4 0x7f84978722de in merged Swift.ContiguousArray.append(__owned A) -> () (/usr/lib/swift/linux/libswiftCore.so+0x13d2de)
#5 0x563e606b7a70 in NIO.Heap.append(A) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Heap.swift:107:22
#6 0x563e6077a620 in NIO.PriorityQueue.push(A) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/PriorityQueue.swift:30:19
#7 0x563e60608614 in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:78:24
#8 0x563e60609240 in NIO.EmbeddedEventLoop.scheduleTask<A>(in: NIO.TimeAmount, _: () throws -> A) -> NIO.Scheduled<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:85:16
#9 0x563e6060c008 in protocol witness for NIO.EventLoop.scheduleTask<A>(in: NIO.TimeAmount, _: () throws -> A1) -> NIO.Scheduled<A1> in conformance NIO.EmbeddedEventLoop : NIO.EventLoop in NIO /Users/johannes/extsrc/APNSwift/<compiler-generated>
#10 0x563e60621cb7 in NIO.RepeatedTask.(begin0 in _D5D78C61B22284700B9BD1ACFBC25157)(in: NIO.TimeAmount) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:83:41
#11 0x563e60621431 in NIO.RepeatedTask.begin(in: NIO.TimeAmount) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:70:18
#12 0x563e6062c487 in (extension in NIO):NIO.EventLoop.scheduleRepeatedAsyncTask(initialDelay: NIO.TimeAmount, delay: NIO.TimeAmount, notifying: NIO.EventLoopPromise<()>?, _: (NIO.RepeatedTask) -> NIO.EventLoopFuture<()>) -> NIO.RepeatedTask /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:545:18
#13 0x563e6062bc63 in (extension in NIO):NIO.EventLoop.scheduleRepeatedTask(initialDelay: NIO.TimeAmount, delay: NIO.TimeAmount, notifying: NIO.EventLoopPromise<()>?, _: (NIO.RepeatedTask) throws -> ()) -> NIO.RepeatedTask /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:522:21
#14 0x563e5ff7e9e5 in APNSwift.APNSwiftBearerTokenFactory.init(eventLoop: NIO.EventLoop, configuration: APNSwift.APNSwiftConfiguration) throws -> APNSwift.APNSwiftBearerTokenFactory /Users/johannes/extsrc/APNSwift/Sources/APNSwift/APNSwiftBearerTokenFactory.swift:30:37
#15 0x563e5ff7e166 in APNSwift.APNSwiftBearerTokenFactory.__allocating_init(eventLoop: NIO.EventLoop, configuration: APNSwift.APNSwiftConfiguration) throws -> APNSwift.APNSwiftBearerTokenFactory /Users/johannes/extsrc/APNSwift/Sources/APNSwift/APNSwiftBearerTokenFactory.swift
#16 0x563e600195eb in APNSwiftTests.APNSwiftRequestTests.testTokenProviderUpdate() -> () /Users/johannes/extsrc/APNSwift/Tests/APNSwiftTests/APNSwiftRequestTests.swift:240:32
#17 0x563e5ffe42de in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#18 0x563e60023133 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#19 0x7f84985f8950 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e950)
#20 0x7f84985f8758 in partial apply forwarder for closure #1 (XCTest.XCTestCase) throws -> () in XCTest.(test in _3BE257A46ADB477C7BF2D39968B39F9D)<A where A: XCTest.XCTestCase>((A) -> () throws -> ()) -> (XCTest.XCTestCase) throws -> () (/usr/lib/swift/linux/libXCTest.so+0x2e758)
#21 0x7f84985f86c3 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e6c3)
#22 0x7f84985f89d8 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".16" (/usr/lib/swift/linux/libXCTest.so+0x2e9d8)
#23 0x7f84985eac76 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x20c76)
#24 0x7f84985f7118 in XCTest.XCTestCase.invokeTest() -> () (/usr/lib/swift/linux/libXCTest.so+0x2d118)
#25 0x7f84985f6ddb in XCTest.XCTestCase.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2cddb)
#26 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#27 0x7f84985f8d37 in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed37)
#28 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#29 0x7f84985f8d37 in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed37)
Indirect leak of 40 byte(s) in 1 object(s) allocated from:
#0 0x563e5ff2f6f3 in malloc /home/buildnode/jenkins/workspace/oss-swift-5.1-package-linux-ubuntu-18_04/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f8497afa5f1 in swift_slowAlloc (/usr/lib/swift/linux/libswiftCore.so+0x3c55f1)
#2 0x563e606b144a in NIO.HeapType.comparator<A where A: Swift.Comparable>(type: A.Type) -> (A, A) -> Swift.Bool /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Heap.swift:30:21
#3 0x563e606b379a in NIO.Heap.init(type: NIO.HeapType) -> NIO.Heap<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Heap.swift:50:32
#4 0x563e60778265 in NIO.PriorityQueue.init(ascending: Swift.Bool) -> NIO.PriorityQueue<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/PriorityQueue.swift:19:21
#5 0x563e60607c95 in NIO.EmbeddedEventLoop.init() -> NIO.EmbeddedEventLoop /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:53:69
#6 0x563e60607a0b in NIO.EmbeddedEventLoop.__allocating_init() -> NIO.EmbeddedEventLoop /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift
#7 0x563e60019568 in APNSwiftTests.APNSwiftRequestTests.testTokenProviderUpdate() -> () /Users/johannes/extsrc/APNSwift/Tests/APNSwiftTests/APNSwiftRequestTests.swift:239:20
#8 0x563e5ffe42de in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#9 0x563e60023133 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#10 0x7f84985f8950 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e950)
#11 0x7f84985f8758 in partial apply forwarder for closure #1 (XCTest.XCTestCase) throws -> () in XCTest.(test in _3BE257A46ADB477C7BF2D39968B39F9D)<A where A: XCTest.XCTestCase>((A) -> () throws -> ()) -> (XCTest.XCTestCase) throws -> () (/usr/lib/swift/linux/libXCTest.so+0x2e758)
#12 0x7f84985f86c3 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e6c3)
#13 0x7f84985f89d8 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".16" (/usr/lib/swift/linux/libXCTest.so+0x2e9d8)
#14 0x7f84985eac76 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x20c76)
#15 0x7f84985f7118 in XCTest.XCTestCase.invokeTest() -> () (/usr/lib/swift/linux/libXCTest.so+0x2d118)
#16 0x7f84985f6ddb in XCTest.XCTestCase.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2cddb)
#17 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#18 0x7f84985f8d37 in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed37)
#19 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#20 0x7f84985f8d37 in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed37)
#21 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#22 0x7f84985f8d4f in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed4f)
#23 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#24 0x7f84985f5d12 in XCTest.XCTMain([(testCaseClass: XCTest.XCTestCase.Type, allTests: [(Swift.String, (XCTest.XCTestCase) throws -> ())])]) -> Swift.Never (/usr/lib/swift/linux/libXCTest.so+0x2bd12)
#25 0x563e60e2e915 in main /Users/johannes/extsrc/APNSwift/Tests/LinuxMain.swift:10:1
#26 0x7f849589db96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
Indirect leak of 40 byte(s) in 1 object(s) allocated from:
#0 0x563e5ff2f6f3 in malloc /home/buildnode/jenkins/workspace/oss-swift-5.1-package-linux-ubuntu-18_04/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f8497afa5f1 in swift_slowAlloc (/usr/lib/swift/linux/libswiftCore.so+0x3c55f1)
#2 0x7f849786bd80 in (extension in Swift):Swift.Collection.map<A>((A.Element) throws -> A1) throws -> [A1] (/usr/lib/swift/linux/libswiftCore.so+0x136d80)
#3 0x563e60e0f19b in NIOSSL.TLSConfiguration.applicationProtocols.setter : [Swift.String] /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/TLSConfiguration.swift:168:57
#4 0x563e60e109c3 in NIOSSL.TLSConfiguration.init(cipherSuites: Swift.String, minimumTLSVersion: NIOSSL.TLSVersion, maximumTLSVersion: NIOSSL.TLSVersion?, certificateVerification: NIOSSL.CertificateVerification, trustRoots: NIOSSL.NIOSSLTrustRoots, certificateChain: [NIOSSL.NIOSSLCertificateSource], privateKey: NIOSSL.NIOSSLPrivateKeySource?, applicationProtocols: [Swift.String], shutdownTimeout: NIO.TimeAmount, keyLogCallback: (NIO.ByteBuffer) -> ()?, renegotiationSupport: NIOSSL.NIORenegotiationSupport) -> NIOSSL.TLSConfiguration /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/TLSConfiguration.swift:205:35
#5 0x563e60e0d3f5 in static NIOSSL.TLSConfiguration.forClient(cipherSuites: Swift.String, minimumTLSVersion: NIOSSL.TLSVersion, maximumTLSVersion: NIOSSL.TLSVersion?, certificateVerification: NIOSSL.CertificateVerification, trustRoots: NIOSSL.NIOSSLTrustRoots, certificateChain: [NIOSSL.NIOSSLCertificateSource], privateKey: NIOSSL.NIOSSLPrivateKeySource?, applicationProtocols: [Swift.String], shutdownTimeout: NIO.TimeAmount, keyLogCallback: (NIO.ByteBuffer) -> ()?) -> NIOSSL.TLSConfiguration /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/TLSConfiguration.swift:251:16
#6 0x563e5ff85b6d in APNSwift.APNSwiftConfiguration.init(keyIdentifier: Swift.String, teamIdentifier: Swift.String, signer: APNSwift.APNSwiftSigner, topic: Swift.String, environment: APNSwift.APNSwiftConfiguration.Environment) -> APNSwift.APNSwiftConfiguration /Users/johannes/extsrc/APNSwift/Sources/APNSwift/APNSwiftConfiguration.swift:66:50
#7 0x563e60019540 in APNSwiftTests.APNSwiftRequestTests.testTokenProviderUpdate() -> () /Users/johannes/extsrc/APNSwift/Tests/APNSwiftTests/APNSwiftRequestTests.swift:234:26
#8 0x563e5ffe42de in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#9 0x563e60023133 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#10 0x7f84985f8950 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e950)
#11 0x7f84985f8758 in partial apply forwarder for closure #1 (XCTest.XCTestCase) throws -> () in XCTest.(test in _3BE257A46ADB477C7BF2D39968B39F9D)<A where A: XCTest.XCTestCase>((A) -> () throws -> ()) -> (XCTest.XCTestCase) throws -> () (/usr/lib/swift/linux/libXCTest.so+0x2e758)
#12 0x7f84985f86c3 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e6c3)
#13 0x7f84985f89d8 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".16" (/usr/lib/swift/linux/libXCTest.so+0x2e9d8)
#14 0x7f84985eac76 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x20c76)
#15 0x7f84985f7118 in XCTest.XCTestCase.invokeTest() -> () (/usr/lib/swift/linux/libXCTest.so+0x2d118)
#16 0x7f84985f6ddb in XCTest.XCTestCase.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2cddb)
#17 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#18 0x7f84985f8d37 in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed37)
#19 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#20 0x7f84985f8d37 in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed37)
#21 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#22 0x7f84985f8d4f in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed4f)
#23 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#24 0x7f84985f5d12 in XCTest.XCTMain([(testCaseClass: XCTest.XCTestCase.Type, allTests: [(Swift.String, (XCTest.XCTestCase) throws -> ())])]) -> Swift.Never (/usr/lib/swift/linux/libXCTest.so+0x2bd12)
#25 0x563e60e2e915 in main /Users/johannes/extsrc/APNSwift/Tests/LinuxMain.swift:10:1
#26 0x7f849589db96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
Indirect leak of 36 byte(s) in 1 object(s) allocated from:
#0 0x563e5ff2f6f3 in malloc /home/buildnode/jenkins/workspace/oss-swift-5.1-package-linux-ubuntu-18_04/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f8497afa5f1 in swift_slowAlloc (/usr/lib/swift/linux/libswiftCore.so+0x3c55f1)
#2 0x7f8497872465 in Swift.Array.append<A where A == A1.Element, A1: Swift.Sequence>(contentsOf: __owned A1) -> () (/usr/lib/swift/linux/libswiftCore.so+0x13d465)
#3 0x563e60e0bc92 in NIOSSL.encodeALPNIdentifier(identifier: Swift.String) -> [Swift.UInt8] /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/TLSConfiguration.swift:119:27
#4 0x563e60e0f32e in reabstraction thunk helper from @callee_guaranteed (@guaranteed Swift.String) -> (@owned [Swift.UInt8], @error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed Swift.String) -> (@out [Swift.UInt8], @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#5 0x563e60e11843 in partial apply forwarder for reabstraction thunk helper from @callee_guaranteed (@guaranteed Swift.String) -> (@owned [Swift.UInt8], @error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed Swift.String) -> (@out [Swift.UInt8], @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#6 0x7f849786beee in (extension in Swift):Swift.Collection.map<A>((A.Element) throws -> A1) throws -> [A1] (/usr/lib/swift/linux/libswiftCore.so+0x136eee)
#7 0x563e60e0f19b in NIOSSL.TLSConfiguration.applicationProtocols.setter : [Swift.String] /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/TLSConfiguration.swift:168:57
#8 0x563e60e109c3 in NIOSSL.TLSConfiguration.init(cipherSuites: Swift.String, minimumTLSVersion: NIOSSL.TLSVersion, maximumTLSVersion: NIOSSL.TLSVersion?, certificateVerification: NIOSSL.CertificateVerification, trustRoots: NIOSSL.NIOSSLTrustRoots, certificateChain: [NIOSSL.NIOSSLCertificateSource], privateKey: NIOSSL.NIOSSLPrivateKeySource?, applicationProtocols: [Swift.String], shutdownTimeout: NIO.TimeAmount, keyLogCallback: (NIO.ByteBuffer) -> ()?, renegotiationSupport: NIOSSL.NIORenegotiationSupport) -> NIOSSL.TLSConfiguration /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/TLSConfiguration.swift:205:35
#9 0x563e60e0d3f5 in static NIOSSL.TLSConfiguration.forClient(cipherSuites: Swift.String, minimumTLSVersion: NIOSSL.TLSVersion, maximumTLSVersion: NIOSSL.TLSVersion?, certificateVerification: NIOSSL.CertificateVerification, trustRoots: NIOSSL.NIOSSLTrustRoots, certificateChain: [NIOSSL.NIOSSLCertificateSource], privateKey: NIOSSL.NIOSSLPrivateKeySource?, applicationProtocols: [Swift.String], shutdownTimeout: NIO.TimeAmount, keyLogCallback: (NIO.ByteBuffer) -> ()?) -> NIOSSL.TLSConfiguration /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/TLSConfiguration.swift:251:16
#10 0x563e5ff85b6d in APNSwift.APNSwiftConfiguration.init(keyIdentifier: Swift.String, teamIdentifier: Swift.String, signer: APNSwift.APNSwiftSigner, topic: Swift.String, environment: APNSwift.APNSwiftConfiguration.Environment) -> APNSwift.APNSwiftConfiguration /Users/johannes/extsrc/APNSwift/Sources/APNSwift/APNSwiftConfiguration.swift:66:50
#11 0x563e60019540 in APNSwiftTests.APNSwiftRequestTests.testTokenProviderUpdate() -> () /Users/johannes/extsrc/APNSwift/Tests/APNSwiftTests/APNSwiftRequestTests.swift:234:26
#12 0x563e5ffe42de in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#13 0x563e60023133 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#14 0x7f84985f8950 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e950)
#15 0x7f84985f8758 in partial apply forwarder for closure #1 (XCTest.XCTestCase) throws -> () in XCTest.(test in _3BE257A46ADB477C7BF2D39968B39F9D)<A where A: XCTest.XCTestCase>((A) -> () throws -> ()) -> (XCTest.XCTestCase) throws -> () (/usr/lib/swift/linux/libXCTest.so+0x2e758)
#16 0x7f84985f86c3 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e6c3)
#17 0x7f84985f89d8 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".16" (/usr/lib/swift/linux/libXCTest.so+0x2e9d8)
#18 0x7f84985eac76 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x20c76)
#19 0x7f84985f7118 in XCTest.XCTestCase.invokeTest() -> () (/usr/lib/swift/linux/libXCTest.so+0x2d118)
#20 0x7f84985f6ddb in XCTest.XCTestCase.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2cddb)
#21 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#22 0x7f84985f8d37 in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed37)
#23 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#24 0x7f84985f8d37 in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed37)
#25 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#26 0x7f84985f8d4f in XCTest.XCTestSuite.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2ed4f)
#27 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
#28 0x7f84985f5d12 in XCTest.XCTMain([(testCaseClass: XCTest.XCTestCase.Type, allTests: [(Swift.String, (XCTest.XCTestCase) throws -> ())])]) -> Swift.Never (/usr/lib/swift/linux/libXCTest.so+0x2bd12)
#29 0x563e60e2e915 in main /Users/johannes/extsrc/APNSwift/Tests/LinuxMain.swift:10:1
Indirect leak of 32 byte(s) in 1 object(s) allocated from:
#0 0x563e5ff2f6f3 in malloc /home/buildnode/jenkins/workspace/oss-swift-5.1-package-linux-ubuntu-18_04/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f8497afa5f1 in swift_slowAlloc (/usr/lib/swift/linux/libswiftCore.so+0x3c55f1)
#2 0x563e60661400 in NIO.EventLoopFuture._addCallback(() -> NIO.CallbackList) -> NIO.CallbackList /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:679:29
#3 0x563e606618fa in NIO.EventLoopFuture._whenComplete(() -> NIO.CallbackList) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:689:18
#4 0x563e6066a738 in NIO.EventLoopFuture.whenFailure((Swift.Error) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:737:14
#5 0x563e60622bc9 in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:148:32
#6 0x563e60624b2d in NIO.RepeatedTask.(reschedule0 in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:165:14
#7 0x563e606242c4 in closure #1 (Swift.Result<(), Swift.Error>) -> () in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:144:22
#8 0x563e606242c4 in closure #1 (Swift.Result<(), Swift.Error>) -> () in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa7c2c4)
#9 0x563e60017c03 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed Swift.Result<(), Swift.Error>) -> () to @escaping @callee_guaranteed (@in_guaranteed Swift.Result<(), Swift.Error>) -> () /Users/johannes/extsrc/APNSwift/<compiler-generated>
#10 0x563e6066b6b7 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:757:13
#11 0x563e6066b6b7 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xac36b7)
#12 0x563e6066143f in NIO.EventLoopFuture._addCallback(() -> NIO.CallbackList) -> NIO.CallbackList /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:682:16
#13 0x563e606618fa in NIO.EventLoopFuture._whenComplete(() -> NIO.CallbackList) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:689:18
#14 0x563e6066b0c4 in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:756:14
#15 0x563e60624158 in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:143:20
#16 0x563e60624158 in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa7c158)
#17 0x563e60624c8f in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIO.EventLoopFuture<()>) -> () to @escaping @callee_guaranteed (@in_guaranteed NIO.EventLoopFuture<()>) -> () /Users/johannes/extsrc/APNSwift/<compiler-generated>
#18 0x563e6066a321 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:719:17
#19 0x563e6066a321 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xac2321)
#20 0x563e606537e2 in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#21 0x563e606538c0 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#22 0x563e60652979 in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out NIO.CallbackList) to @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#23 0x563e60655cfe in NIO.CallbackList._run() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:109:32
#24 0x563e6065768f in NIO.EventLoopPromise._resolve(value: Swift.Result<A, Swift.Error>) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:230:42
#25 0x563e60657280 in NIO.EventLoopPromise.succeed(A) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:175:14
#26 0x563e60608a29 in closure #1 () -> () in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:69:25
#27 0x563e60608a29 in closure #1 () -> () in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa60a29)
#28 0x563e6060ad8e in NIO.EmbeddedEventLoop.advanceTime(by: NIO.TimeAmount) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:127:22
#29 0x563e6001a31d in APNSwiftTests.APNSwiftRequestTests.testTokenProviderUpdate() -> () /Users/johannes/extsrc/APNSwift/Tests/APNSwiftTests/APNSwiftRequestTests.swift:261:14
#30 0x563e5ffe42de in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#31 0x563e60023133 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#32 0x7f84985f8950 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e950)
#33 0x7f84985f8758 in partial apply forwarder for closure #1 (XCTest.XCTestCase) throws -> () in XCTest.(test in _3BE257A46ADB477C7BF2D39968B39F9D)<A where A: XCTest.XCTestCase>((A) -> () throws -> ()) -> (XCTest.XCTestCase) throws -> () (/usr/lib/swift/linux/libXCTest.so+0x2e758)
#34 0x7f84985f86c3 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e6c3)
Indirect leak of 32 byte(s) in 1 object(s) allocated from:
#0 0x563e5ff2f6f3 in malloc /home/buildnode/jenkins/workspace/oss-swift-5.1-package-linux-ubuntu-18_04/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f8497afa5f1 in swift_slowAlloc (/usr/lib/swift/linux/libswiftCore.so+0x3c55f1)
#2 0x563e60661400 in NIO.EventLoopFuture._addCallback(() -> NIO.CallbackList) -> NIO.CallbackList /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:679:29
#3 0x563e606618fa in NIO.EventLoopFuture._whenComplete(() -> NIO.CallbackList) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:689:18
#4 0x563e60665131 in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:717:14
#5 0x563e60622b68 in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:142:32
#6 0x563e60624b2d in NIO.RepeatedTask.(reschedule0 in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:165:14
#7 0x563e606242c4 in closure #1 (Swift.Result<(), Swift.Error>) -> () in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:144:22
#8 0x563e606242c4 in closure #1 (Swift.Result<(), Swift.Error>) -> () in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa7c2c4)
#9 0x563e60017c03 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed Swift.Result<(), Swift.Error>) -> () to @escaping @callee_guaranteed (@in_guaranteed Swift.Result<(), Swift.Error>) -> () /Users/johannes/extsrc/APNSwift/<compiler-generated>
#10 0x563e6066b6b7 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:757:13
#11 0x563e6066b6b7 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xac36b7)
#12 0x563e6066143f in NIO.EventLoopFuture._addCallback(() -> NIO.CallbackList) -> NIO.CallbackList /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:682:16
#13 0x563e606618fa in NIO.EventLoopFuture._whenComplete(() -> NIO.CallbackList) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:689:18
#14 0x563e6066b0c4 in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:756:14
#15 0x563e60624158 in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:143:20
#16 0x563e60624158 in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa7c158)
#17 0x563e60624c8f in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIO.EventLoopFuture<()>) -> () to @escaping @callee_guaranteed (@in_guaranteed NIO.EventLoopFuture<()>) -> () /Users/johannes/extsrc/APNSwift/<compiler-generated>
#18 0x563e6066a321 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:719:17
#19 0x563e6066a321 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xac2321)
#20 0x563e606537e2 in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#21 0x563e606538c0 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#22 0x563e60652979 in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out NIO.CallbackList) to @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#23 0x563e60655cfe in NIO.CallbackList._run() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:109:32
#24 0x563e6065768f in NIO.EventLoopPromise._resolve(value: Swift.Result<A, Swift.Error>) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:230:42
#25 0x563e60657280 in NIO.EventLoopPromise.succeed(A) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:175:14
#26 0x563e60608a29 in closure #1 () -> () in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:69:25
#27 0x563e60608a29 in closure #1 () -> () in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa60a29)
#28 0x563e6060ad8e in NIO.EmbeddedEventLoop.advanceTime(by: NIO.TimeAmount) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:127:22
#29 0x563e6001a31d in APNSwiftTests.APNSwiftRequestTests.testTokenProviderUpdate() -> () /Users/johannes/extsrc/APNSwift/Tests/APNSwiftTests/APNSwiftRequestTests.swift:261:14
#30 0x563e5ffe42de in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#31 0x563e60023133 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#32 0x7f84985f8950 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e950)
#33 0x7f84985f8758 in partial apply forwarder for closure #1 (XCTest.XCTestCase) throws -> () in XCTest.(test in _3BE257A46ADB477C7BF2D39968B39F9D)<A where A: XCTest.XCTestCase>((A) -> () throws -> ()) -> (XCTest.XCTestCase) throws -> () (/usr/lib/swift/linux/libXCTest.so+0x2e758)
#34 0x7f84985f86c3 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e6c3)
Indirect leak of 32 byte(s) in 1 object(s) allocated from:
#0 0x563e5ff2f6f3 in malloc /home/buildnode/jenkins/workspace/oss-swift-5.1-package-linux-ubuntu-18_04/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f8497afa5f1 in swift_slowAlloc (/usr/lib/swift/linux/libswiftCore.so+0x3c55f1)
#2 0x563e60624b2d in NIO.RepeatedTask.(reschedule0 in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:165:14
#3 0x563e606242c4 in closure #1 (Swift.Result<(), Swift.Error>) -> () in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:144:22
#4 0x563e606242c4 in closure #1 (Swift.Result<(), Swift.Error>) -> () in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa7c2c4)
#5 0x563e60017c03 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed Swift.Result<(), Swift.Error>) -> () to @escaping @callee_guaranteed (@in_guaranteed Swift.Result<(), Swift.Error>) -> () /Users/johannes/extsrc/APNSwift/<compiler-generated>
#6 0x563e6066b6b7 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:757:13
#7 0x563e6066b6b7 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xac36b7)
#8 0x563e6066143f in NIO.EventLoopFuture._addCallback(() -> NIO.CallbackList) -> NIO.CallbackList /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:682:16
#9 0x563e606618fa in NIO.EventLoopFuture._whenComplete(() -> NIO.CallbackList) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:689:18
#10 0x563e6066b0c4 in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:756:14
#11 0x563e60624158 in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:143:20
#12 0x563e60624158 in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa7c158)
#13 0x563e60624c8f in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIO.EventLoopFuture<()>) -> () to @escaping @callee_guaranteed (@in_guaranteed NIO.EventLoopFuture<()>) -> () /Users/johannes/extsrc/APNSwift/<compiler-generated>
#14 0x563e6066a321 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:719:17
#15 0x563e6066a321 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xac2321)
#16 0x563e606537e2 in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#17 0x563e606538c0 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#18 0x563e60652979 in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out NIO.CallbackList) to @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#19 0x563e60655cfe in NIO.CallbackList._run() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:109:32
#20 0x563e6065768f in NIO.EventLoopPromise._resolve(value: Swift.Result<A, Swift.Error>) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:230:42
#21 0x563e60657280 in NIO.EventLoopPromise.succeed(A) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:175:14
#22 0x563e60608a29 in closure #1 () -> () in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:69:25
#23 0x563e60608a29 in closure #1 () -> () in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa60a29)
#24 0x563e6060ad8e in NIO.EmbeddedEventLoop.advanceTime(by: NIO.TimeAmount) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:127:22
#25 0x563e6001a31d in APNSwiftTests.APNSwiftRequestTests.testTokenProviderUpdate() -> () /Users/johannes/extsrc/APNSwift/Tests/APNSwiftTests/APNSwiftRequestTests.swift:261:14
#26 0x563e5ffe42de in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#27 0x563e60023133 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#28 0x7f84985f8950 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e950)
#29 0x7f84985f8758 in partial apply forwarder for closure #1 (XCTest.XCTestCase) throws -> () in XCTest.(test in _3BE257A46ADB477C7BF2D39968B39F9D)<A where A: XCTest.XCTestCase>((A) -> () throws -> ()) -> (XCTest.XCTestCase) throws -> () (/usr/lib/swift/linux/libXCTest.so+0x2e758)
#30 0x7f84985f86c3 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e6c3)
#31 0x7f84985f89d8 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".16" (/usr/lib/swift/linux/libXCTest.so+0x2e9d8)
#32 0x7f84985eac76 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x20c76)
#33 0x7f84985f7118 in XCTest.XCTestCase.invokeTest() -> () (/usr/lib/swift/linux/libXCTest.so+0x2d118)
#34 0x7f84985f6ddb in XCTest.XCTestCase.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2cddb)
Indirect leak of 32 byte(s) in 1 object(s) allocated from:
#0 0x563e5ff2f6f3 in malloc /home/buildnode/jenkins/workspace/oss-swift-5.1-package-linux-ubuntu-18_04/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f8497afa5f1 in swift_slowAlloc (/usr/lib/swift/linux/libswiftCore.so+0x3c55f1)
#2 0x563e6060857e in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:75:25
#3 0x563e60609240 in NIO.EmbeddedEventLoop.scheduleTask<A>(in: NIO.TimeAmount, _: () throws -> A) -> NIO.Scheduled<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:85:16
#4 0x563e6060c008 in protocol witness for NIO.EventLoop.scheduleTask<A>(in: NIO.TimeAmount, _: () throws -> A1) -> NIO.Scheduled<A1> in conformance NIO.EmbeddedEventLoop : NIO.EventLoop in NIO /Users/johannes/extsrc/APNSwift/<compiler-generated>
#5 0x563e60624a7b in NIO.RepeatedTask.(reschedule0 in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:158:41
#6 0x563e606242c4 in closure #1 (Swift.Result<(), Swift.Error>) -> () in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:144:22
#7 0x563e606242c4 in closure #1 (Swift.Result<(), Swift.Error>) -> () in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa7c2c4)
#8 0x563e60017c03 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed Swift.Result<(), Swift.Error>) -> () to @escaping @callee_guaranteed (@in_guaranteed Swift.Result<(), Swift.Error>) -> () /Users/johannes/extsrc/APNSwift/<compiler-generated>
#9 0x563e6066b6b7 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:757:13
#10 0x563e6066b6b7 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xac36b7)
#11 0x563e6066143f in NIO.EventLoopFuture._addCallback(() -> NIO.CallbackList) -> NIO.CallbackList /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:682:16
#12 0x563e606618fa in NIO.EventLoopFuture._whenComplete(() -> NIO.CallbackList) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:689:18
#13 0x563e6066b0c4 in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:756:14
#14 0x563e60624158 in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:143:20
#15 0x563e60624158 in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa7c158)
#16 0x563e60624c8f in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIO.EventLoopFuture<()>) -> () to @escaping @callee_guaranteed (@in_guaranteed NIO.EventLoopFuture<()>) -> () /Users/johannes/extsrc/APNSwift/<compiler-generated>
#17 0x563e6066a321 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:719:17
#18 0x563e6066a321 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xac2321)
#19 0x563e606537e2 in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#20 0x563e606538c0 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#21 0x563e60652979 in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out NIO.CallbackList) to @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#22 0x563e60655cfe in NIO.CallbackList._run() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:109:32
#23 0x563e6065768f in NIO.EventLoopPromise._resolve(value: Swift.Result<A, Swift.Error>) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:230:42
#24 0x563e60657280 in NIO.EventLoopPromise.succeed(A) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:175:14
#25 0x563e60608a29 in closure #1 () -> () in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:69:25
#26 0x563e60608a29 in closure #1 () -> () in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa60a29)
#27 0x563e6060ad8e in NIO.EmbeddedEventLoop.advanceTime(by: NIO.TimeAmount) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:127:22
#28 0x563e6001a31d in APNSwiftTests.APNSwiftRequestTests.testTokenProviderUpdate() -> () /Users/johannes/extsrc/APNSwift/Tests/APNSwiftTests/APNSwiftRequestTests.swift:261:14
#29 0x563e5ffe42de in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#30 0x563e60023133 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#31 0x7f84985f8950 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e950)
#32 0x7f84985f8758 in partial apply forwarder for closure #1 (XCTest.XCTestCase) throws -> () in XCTest.(test in _3BE257A46ADB477C7BF2D39968B39F9D)<A where A: XCTest.XCTestCase>((A) -> () throws -> ()) -> (XCTest.XCTestCase) throws -> () (/usr/lib/swift/linux/libXCTest.so+0x2e758)
#33 0x7f84985f86c3 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e6c3)
#34 0x7f84985f89d8 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".16" (/usr/lib/swift/linux/libXCTest.so+0x2e9d8)
Indirect leak of 32 byte(s) in 1 object(s) allocated from:
#0 0x563e5ff2f6f3 in malloc /home/buildnode/jenkins/workspace/oss-swift-5.1-package-linux-ubuntu-18_04/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f8497afa5f1 in swift_slowAlloc (/usr/lib/swift/linux/libswiftCore.so+0x3c55f1)
#2 0x563e606242c4 in closure #1 (Swift.Result<(), Swift.Error>) -> () in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:144:22
#3 0x563e606242c4 in closure #1 (Swift.Result<(), Swift.Error>) -> () in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa7c2c4)
#4 0x563e60017c03 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed Swift.Result<(), Swift.Error>) -> () to @escaping @callee_guaranteed (@in_guaranteed Swift.Result<(), Swift.Error>) -> () /Users/johannes/extsrc/APNSwift/<compiler-generated>
#5 0x563e6066b6b7 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:757:13
#6 0x563e6066b6b7 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xac36b7)
#7 0x563e6066143f in NIO.EventLoopFuture._addCallback(() -> NIO.CallbackList) -> NIO.CallbackList /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:682:16
#8 0x563e606618fa in NIO.EventLoopFuture._whenComplete(() -> NIO.CallbackList) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:689:18
#9 0x563e6066b0c4 in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:756:14
#10 0x563e60624158 in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:143:20
#11 0x563e60624158 in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa7c158)
#12 0x563e60624c8f in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIO.EventLoopFuture<()>) -> () to @escaping @callee_guaranteed (@in_guaranteed NIO.EventLoopFuture<()>) -> () /Users/johannes/extsrc/APNSwift/<compiler-generated>
#13 0x563e6066a321 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:719:17
#14 0x563e6066a321 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xac2321)
#15 0x563e606537e2 in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#16 0x563e606538c0 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#17 0x563e60652979 in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out NIO.CallbackList) to @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#18 0x563e60655cfe in NIO.CallbackList._run() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:109:32
#19 0x563e6065768f in NIO.EventLoopPromise._resolve(value: Swift.Result<A, Swift.Error>) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:230:42
#20 0x563e60657280 in NIO.EventLoopPromise.succeed(A) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:175:14
#21 0x563e60608a29 in closure #1 () -> () in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:69:25
#22 0x563e60608a29 in closure #1 () -> () in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa60a29)
#23 0x563e6060ad8e in NIO.EmbeddedEventLoop.advanceTime(by: NIO.TimeAmount) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:127:22
#24 0x563e6001a31d in APNSwiftTests.APNSwiftRequestTests.testTokenProviderUpdate() -> () /Users/johannes/extsrc/APNSwift/Tests/APNSwiftTests/APNSwiftRequestTests.swift:261:14
#25 0x563e5ffe42de in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#26 0x563e60023133 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#27 0x7f84985f8950 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e950)
#28 0x7f84985f8758 in partial apply forwarder for closure #1 (XCTest.XCTestCase) throws -> () in XCTest.(test in _3BE257A46ADB477C7BF2D39968B39F9D)<A where A: XCTest.XCTestCase>((A) -> () throws -> ()) -> (XCTest.XCTestCase) throws -> () (/usr/lib/swift/linux/libXCTest.so+0x2e758)
#29 0x7f84985f86c3 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x2e6c3)
#30 0x7f84985f89d8 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".16" (/usr/lib/swift/linux/libXCTest.so+0x2e9d8)
#31 0x7f84985eac76 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@in_guaranteed XCTest.XCTestCase) -> (@out (), @error @owned Swift.Error) to @escaping @callee_guaranteed (@guaranteed XCTest.XCTestCase) -> (@error @owned Swift.Error) (/usr/lib/swift/linux/libXCTest.so+0x20c76)
#32 0x7f84985f7118 in XCTest.XCTestCase.invokeTest() -> () (/usr/lib/swift/linux/libXCTest.so+0x2d118)
#33 0x7f84985f6ddb in XCTest.XCTestCase.perform(XCTest.XCTestRun) -> () (/usr/lib/swift/linux/libXCTest.so+0x2cddb)
#34 0x7f84985fb2ee in XCTest.XCTest.run() -> () (/usr/lib/swift/linux/libXCTest.so+0x312ee)
Indirect leak of 1 byte(s) in 1 object(s) allocated from:
#0 0x563e5ff2f6f3 in malloc /home/buildnode/jenkins/workspace/oss-swift-5.1-package-linux-ubuntu-18_04/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x563e60024299 in catmc_atomic__Bool_create /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/CNIOAtomics/src/c-atomics.c:76:1
#2 0x563e60848b81 in @nonobjc __C.catmc_atomic__Bool_create(Swift.Bool) -> Swift.OpaquePointer /Users/johannes/extsrc/APNSwift/<compiler-generated>
#3 0x563e608493c5 in reabstraction thunk helper from @escaping @callee_guaranteed (@unowned Swift.Bool) -> (@unowned Swift.OpaquePointer) to @escaping @callee_guaranteed (@in_guaranteed Swift.Bool) -> (@unowned Swift.OpaquePointer) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#4 0x563e6084622b in NIOConcurrencyHelpers.UnsafeEmbeddedAtomic.init(value: A) -> NIOConcurrencyHelpers.UnsafeEmbeddedAtomic<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIOConcurrencyHelpers/atomics.swift:43:24
#5 0x563e6065c311 in NIO.EventLoopFuture.init(_eventLoop: NIO.EventLoop, value: Swift.Result<A, Swift.Error>?, file: Swift.StaticString, line: Swift.UInt) -> NIO.EventLoopFuture<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:404:29
#6 0x563e6065b71b in NIO.EventLoopFuture.__allocating_init(_eventLoop: NIO.EventLoop, value: Swift.Result<A, Swift.Error>?, file: Swift.StaticString, line: Swift.UInt) -> NIO.EventLoopFuture<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift
#7 0x563e60656cab in NIO.EventLoopFuture.__allocating_init(_eventLoop: NIO.EventLoop, file: Swift.StaticString, line: Swift.UInt) -> NIO.EventLoopFuture<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:415:14
#8 0x563e6065662c in NIO.EventLoopPromise.init(eventLoop: NIO.EventLoop, file: Swift.StaticString, line: Swift.UInt) -> NIO.EventLoopPromise<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:166:50
#9 0x563e6062add8 in (extension in NIO):NIO.EventLoop.makePromise<A>(of: A1.Type, file: Swift.StaticString, line: Swift.UInt) -> NIO.EventLoopPromise<A1> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:470:34
#10 0x563e606082e8 in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:66:44
#11 0x563e60609240 in NIO.EmbeddedEventLoop.scheduleTask<A>(in: NIO.TimeAmount, _: () throws -> A) -> NIO.Scheduled<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:85:16
#12 0x563e6060c008 in protocol witness for NIO.EventLoop.scheduleTask<A>(in: NIO.TimeAmount, _: () throws -> A1) -> NIO.Scheduled<A1> in conformance NIO.EmbeddedEventLoop : NIO.EventLoop in NIO /Users/johannes/extsrc/APNSwift/<compiler-generated>
#13 0x563e60624a7b in NIO.RepeatedTask.(reschedule0 in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:158:41
#14 0x563e606242c4 in closure #1 (Swift.Result<(), Swift.Error>) -> () in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:144:22
#15 0x563e606242c4 in closure #1 (Swift.Result<(), Swift.Error>) -> () in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa7c2c4)
#16 0x563e60017c03 in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed Swift.Result<(), Swift.Error>) -> () to @escaping @callee_guaranteed (@in_guaranteed Swift.Result<(), Swift.Error>) -> () /Users/johannes/extsrc/APNSwift/<compiler-generated>
#17 0x563e6066b6b7 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:757:13
#18 0x563e6066b6b7 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xac36b7)
#19 0x563e6066143f in NIO.EventLoopFuture._addCallback(() -> NIO.CallbackList) -> NIO.CallbackList /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:682:16
#20 0x563e606618fa in NIO.EventLoopFuture._whenComplete(() -> NIO.CallbackList) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:689:18
#21 0x563e6066b0c4 in NIO.EventLoopFuture.whenComplete((Swift.Result<A, Swift.Error>) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:756:14
#22 0x563e60624158 in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift:143:20
#23 0x563e60624158 in closure #1 (NIO.EventLoopFuture<()>) -> () in NIO.RepeatedTask.(reschedule in _D5D78C61B22284700B9BD1ACFBC25157)() -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa7c158)
#24 0x563e60624c8f in reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIO.EventLoopFuture<()>) -> () to @escaping @callee_guaranteed (@in_guaranteed NIO.EventLoopFuture<()>) -> () /Users/johannes/extsrc/APNSwift/<compiler-generated>
#25 0x563e6066a321 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:719:17
#26 0x563e6066a321 in closure #1 () -> NIO.CallbackList in NIO.EventLoopFuture.whenSuccess((A) -> ()) -> () (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xac2321)
#27 0x563e606537e2 in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#28 0x563e606538c0 in partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) to @escaping @callee_guaranteed () -> (@out NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#29 0x563e60652979 in reabstraction thunk helper from @escaping @callee_guaranteed () -> (@out NIO.CallbackList) to @escaping @callee_guaranteed () -> (@owned NIO.CallbackList) /Users/johannes/extsrc/APNSwift/<compiler-generated>
#30 0x563e60655cfe in NIO.CallbackList._run() -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:109:32
#31 0x563e6065768f in NIO.EventLoopPromise._resolve(value: Swift.Result<A, Swift.Error>) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:230:42
#32 0x563e60657280 in NIO.EventLoopPromise.succeed(A) -> () /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:175:14
#33 0x563e60608a29 in closure #1 () -> () in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> /Users/johannes/extsrc/APNSwift/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift:69:25
#34 0x563e60608a29 in closure #1 () -> () in NIO.EmbeddedEventLoop.scheduleTask<A>(deadline: NIO.NIODeadline, _: () throws -> A) -> NIO.Scheduled<A> (/Users/johannes/extsrc/APNSwift/.build/x86_64-unknown-linux/debug/apnswiftPackageTests.xctest+0xa60a29)
SUMMARY: AddressSanitizer: 2999 byte(s) leaked in 29 allocation(s).