The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ASN1Kit, reference master (646605), with Swift 6.1 for macOS (SPM) on 5 Nov 2025 10:27:34 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PADL/ASN1Kit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/PADL/ASN1Kit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 6466059 replace Commandant dependency with swift-argument-parser
Cloned https://github.com/PADL/ASN1Kit.git
Revision (git rev-parse @):
6466059eb7134887cb510fb74ce246f859d8f9d6
SUCCESS checkout https://github.com/PADL/ASN1Kit.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/PADL/ASN1Kit.git
https://github.com/PADL/ASN1Kit.git
{
  "dependencies" : [
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.2.0",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "http://github.com/Quick/Nimble"
    },
    {
      "identity" : "datakit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftCommon/DataKit.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "ref-gemcommonskit",
      "requirement" : {
        "branch" : [
          "1.2.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/gematik/ref-GemCommonsKit"
    }
  ],
  "manifest_display_name" : "ASN1Kit",
  "name" : "ASN1Kit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "ASN1Kit",
      "targets" : [
        "ASN1Kit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CLI",
      "targets" : [
        "CLI",
        "ASN1Kit"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "CLI",
      "module_type" : "SwiftTarget",
      "name" : "CLI",
      "path" : "Sources/CLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "CLI"
      ],
      "sources" : [
        "ParseCommand.swift",
        "VersionCommand.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "ASN1Kit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ASN1KitTests",
      "module_type" : "SwiftTarget",
      "name" : "ASN1KitTests",
      "path" : "Tests/ASN1KitTests",
      "product_dependencies" : [
        "Nimble"
      ],
      "sources" : [
        "ASN1ConstructedEncodingTest.swift",
        "ASN1DecodedTagEncodingTest.swift",
        "ASN1DecoderTest.swift",
        "ASN1LengthEncodingTest.swift",
        "ASN1ObjectExtEncodingTest.swift",
        "ASN1PrimitiveEncodingTest.swift",
        "DataScannerTest.swift",
        "EquatableASN1Object.swift",
        "ObjectIdentifierTest.swift",
        "OutputStreamBuffer.swift",
        "XCTestManifests.swift",
        "encodable/ArrayExtASN1EncodingTest.swift",
        "encodable/BitStringASN1EncodingTest.swift",
        "encodable/BoolExtASN1EncodingTest.swift",
        "encodable/DataExtASN1EncodingTest.swift",
        "encodable/DateExtASN1EncodingTest.swift",
        "encodable/IntExtASN1EncodingTest.swift",
        "encodable/StringExtASN1EncodingTest.swift",
        "extension/DataExtASN1IntTest.swift",
        "extension/DataExtUIntTest.swift",
        "extension/IntExtLengthTest.swift",
        "extension/Nimbe+ASN1Data.swift",
        "extension/UIntExtTagNoTest.swift"
      ],
      "target_dependencies" : [
        "ASN1Kit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ASN1Kit",
      "module_type" : "SwiftTarget",
      "name" : "ASN1Kit",
      "path" : "Sources/ASN1Kit",
      "product_dependencies" : [
        "DataKit",
        "GemCommonsKit"
      ],
      "product_memberships" : [
        "ASN1Kit",
        "CLI"
      ],
      "sources" : [
        "ASN1Data.swift",
        "ASN1DecodedTag.swift",
        "ASN1Decoder.swift",
        "ASN1Error.swift",
        "ASN1Int.swift",
        "ASN1Object.swift",
        "ASN1Tag.swift",
        "DataScanner.swift",
        "ObjectIdentifier.swift",
        "encodable/ASN1CodableType.swift",
        "encodable/ASN1Object+Encoding.swift",
        "encodable/Array+ASN1Encoding.swift",
        "encodable/Bool+ASN1Encoding.swift",
        "encodable/Data+ASN1Encoding.swift",
        "encodable/Date+ASN1Encoding.swift",
        "encodable/GeneralizedTimeDateFormatter.swift",
        "encodable/Int+ASN1Encoding.swift",
        "encodable/String+ASN1Encoding.swift",
        "extension/ASN1DecodedTag+Encoding.swift",
        "extension/ASN1Object+Subscript.swift",
        "extension/ASN1Primitive+Description.swift",
        "extension/Data+ASN1Int.swift",
        "extension/Data+UInt.swift",
        "extension/Int+Length.swift",
        "extension/OutputStream+UInt8.swift",
        "extension/String+Subscript.swift",
        "extension/UInt+TagNo.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/13] Write sources
[6/13] Write CLI-entitlement.plist
[6/13] Write sources
[9/13] Write swift-version-2F0A5646E1D333AE.txt
[11/35] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/35] Emitting module ArgumentParserToolInfo
[13/81] Compiling ArgumentParser ArgumentDiscussion.swift
[14/81] Compiling ArgumentParser ArgumentHelp.swift
[15/81] Compiling ArgumentParser ArgumentVisibility.swift
[16/81] Compiling ArgumentParser CompletionKind.swift
[17/81] Compiling ArgumentParser Errors.swift
[18/85] Compiling ArgumentParser InputKey.swift
[19/85] Compiling ArgumentParser InputOrigin.swift
[20/85] Compiling ArgumentParser Name.swift
[21/85] Compiling ArgumentParser Parsed.swift
[22/85] Compiling ArgumentParser ParsedValues.swift
[23/85] Compiling ArgumentParser NonsenseFlagsValidator.swift
[24/85] Compiling ArgumentParser ParsableArgumentsValidation.swift
[25/85] Compiling ArgumentParser PositionalArgumentsValidator.swift
[26/85] Compiling ArgumentParser UniqueNamesValidator.swift
[27/85] Emitting module ArgumentParser
[28/85] Compiling ArgumentParser BashCompletionsGenerator.swift
[29/85] Compiling ArgumentParser CompletionsGenerator.swift
[30/85] Compiling ArgumentParser FishCompletionsGenerator.swift
[31/85] Compiling ArgumentParser ZshCompletionsGenerator.swift
[32/85] Compiling ArgumentParser Argument.swift
[33/85] Compiling ArgumentParser Flag.swift
[34/85] Compiling ArgumentParser NameSpecification.swift
[35/85] Compiling ArgumentParser Option.swift
[36/85] Compiling ArgumentParser OptionGroup.swift
[37/85] Compiling ArgumentParser AsyncParsableCommand.swift
[38/85] Emitting module DataKit
[39/85] Compiling GemCommonsKit SynchronizedVar.swift
[40/85] Compiling GemCommonsKit WeakArray.swift
[41/86] Compiling GemCommonsKit Synchronized.swift
[42/86] Compiling DataKit Data+HexString.swift
[43/86] Compiling DataKit Data+ASCIIString.swift
[44/86] Compiling DataKit Array+Data.swift
[45/86] Compiling DataKit Data+UTF8String.swift
[46/86] Compiling ArgumentParser SequenceExtensions.swift
[47/86] Compiling DataKit Base64.swift
[48/86] Compiling ArgumentParser StringExtensions.swift
[49/86] Compiling ArgumentParser SwiftExtensions.swift
[50/86] Compiling ArgumentParser Tree.swift
[51/86] Compiling ArgumentParser CodingKeyValidator.swift
[52/86] Compiling ArgumentParser ParserError.swift
[53/86] Compiling ArgumentParser SplitArguments.swift
[54/86] Compiling ArgumentParser DumpHelpGenerator.swift
[55/86] Compiling ArgumentParser HelpCommand.swift
[56/86] Compiling ArgumentParser HelpGenerator.swift
[59/86] Emitting module GemCommonsKit
[60/86] Compiling GemCommonsKit Thread+Internal.swift
[61/86] Compiling ArgumentParser MessageInfo.swift
[62/86] Compiling ArgumentParser UsageGenerator.swift
[63/86] Compiling GemCommonsKit ResourceLoader.swift
[64/86] Compiling ArgumentParser CollectionExtensions.swift
[65/86] Compiling ArgumentParser Mutex.swift
[66/86] Compiling ArgumentParser Platform.swift
[73/86] Compiling ArgumentParser CommandConfiguration.swift
[74/86] Compiling ArgumentParser CommandGroup.swift
[75/86] Compiling ArgumentParser EnumerableFlag.swift
[76/86] Compiling ArgumentParser ExpressibleByArgument.swift
[77/86] Compiling ArgumentParser ParsableArguments.swift
[78/86] Compiling ArgumentParser ParsableCommand.swift
[79/86] Compiling ArgumentParser ArgumentDecoder.swift
[80/86] Compiling ArgumentParser ArgumentDefinition.swift
[81/86] Compiling ArgumentParser ArgumentSet.swift
[82/86] Compiling ArgumentParser CommandParser.swift
[83/86] Compiling GemCommonsKit WeakRef.swift
[84/112] Emitting module ASN1Kit
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ASN1Kit/encodable/Date+ASN1Encoding.swift:25:16: warning: static property 'utcTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | extension Date: ASN1CodableType {
25 |     static let utcTimeFormatter: ASN1DateFormatter = {
   |                |- warning: static property 'utcTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'utcTimeFormatter' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |         let encodingFormatter = DateFormatter()
27 |         encodingFormatter.calendar = Calendar(identifier: .iso8601)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ASN1Kit/encodable/Date+ASN1Encoding.swift:41:16: warning: static property 'generalizedTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
39 |     }()
40 |
41 |     static let generalizedTimeFormatter: ASN1DateFormatter = {
   |                |- warning: static property 'generalizedTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'generalizedTimeFormatter' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |         let encodingFormatter = DateFormatter()
43 |         encodingFormatter.calendar = Calendar(identifier: .iso8601)
[85/114] Compiling ASN1Kit Data+ASN1Int.swift
[86/114] Compiling ASN1Kit Data+UInt.swift
[87/114] Compiling ASN1Kit ASN1Data.swift
[88/114] Compiling ASN1Kit ASN1DecodedTag.swift
[89/114] Compiling ASN1Kit ASN1Decoder.swift
[90/114] Compiling ASN1Kit Bool+ASN1Encoding.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ASN1Kit/encodable/Date+ASN1Encoding.swift:25:16: warning: static property 'utcTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | extension Date: ASN1CodableType {
25 |     static let utcTimeFormatter: ASN1DateFormatter = {
   |                |- warning: static property 'utcTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'utcTimeFormatter' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |         let encodingFormatter = DateFormatter()
27 |         encodingFormatter.calendar = Calendar(identifier: .iso8601)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ASN1Kit/encodable/Date+ASN1Encoding.swift:41:16: warning: static property 'generalizedTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
39 |     }()
40 |
41 |     static let generalizedTimeFormatter: ASN1DateFormatter = {
   |                |- warning: static property 'generalizedTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'generalizedTimeFormatter' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |         let encodingFormatter = DateFormatter()
43 |         encodingFormatter.calendar = Calendar(identifier: .iso8601)
[91/114] Compiling ASN1Kit Data+ASN1Encoding.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ASN1Kit/encodable/Date+ASN1Encoding.swift:25:16: warning: static property 'utcTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | extension Date: ASN1CodableType {
25 |     static let utcTimeFormatter: ASN1DateFormatter = {
   |                |- warning: static property 'utcTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'utcTimeFormatter' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |         let encodingFormatter = DateFormatter()
27 |         encodingFormatter.calendar = Calendar(identifier: .iso8601)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ASN1Kit/encodable/Date+ASN1Encoding.swift:41:16: warning: static property 'generalizedTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
39 |     }()
40 |
41 |     static let generalizedTimeFormatter: ASN1DateFormatter = {
   |                |- warning: static property 'generalizedTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'generalizedTimeFormatter' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |         let encodingFormatter = DateFormatter()
43 |         encodingFormatter.calendar = Calendar(identifier: .iso8601)
[92/114] Compiling ASN1Kit Date+ASN1Encoding.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ASN1Kit/encodable/Date+ASN1Encoding.swift:25:16: warning: static property 'utcTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | extension Date: ASN1CodableType {
25 |     static let utcTimeFormatter: ASN1DateFormatter = {
   |                |- warning: static property 'utcTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'utcTimeFormatter' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |         let encodingFormatter = DateFormatter()
27 |         encodingFormatter.calendar = Calendar(identifier: .iso8601)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ASN1Kit/encodable/Date+ASN1Encoding.swift:41:16: warning: static property 'generalizedTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
39 |     }()
40 |
41 |     static let generalizedTimeFormatter: ASN1DateFormatter = {
   |                |- warning: static property 'generalizedTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'generalizedTimeFormatter' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |         let encodingFormatter = DateFormatter()
43 |         encodingFormatter.calendar = Calendar(identifier: .iso8601)
[93/114] Compiling ASN1Kit String+Subscript.swift
[94/114] Compiling ASN1Kit UInt+TagNo.swift
[95/114] Compiling ASN1Kit ASN1Error.swift
[96/114] Compiling ASN1Kit ASN1Int.swift
[97/114] Compiling ASN1Kit ASN1Object.swift
[98/114] Compiling ASN1Kit GeneralizedTimeDateFormatter.swift
[99/114] Compiling ASN1Kit Int+ASN1Encoding.swift
[100/114] Compiling ASN1Kit String+ASN1Encoding.swift
[101/114] Compiling ASN1Kit Int+Length.swift
/Users/admin/builder/spi-builder-workspace/Sources/ASN1Kit/extension/OutputStream+UInt8.swift:23:27: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
21 |     /// - Returns: the written byte length or 0 upon failure
22 |     public func write(byte: UInt8) -> Int {
23 |         return self.write(UnsafePointer<UInt8>([byte]), maxLength: 1)
   |                           |                    |- note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
   |                           |                    `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
   |                           `- warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
24 |     }
25 | }
[102/114] Compiling ASN1Kit OutputStream+UInt8.swift
/Users/admin/builder/spi-builder-workspace/Sources/ASN1Kit/extension/OutputStream+UInt8.swift:23:27: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
21 |     /// - Returns: the written byte length or 0 upon failure
22 |     public func write(byte: UInt8) -> Int {
23 |         return self.write(UnsafePointer<UInt8>([byte]), maxLength: 1)
   |                           |                    |- note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
   |                           |                    `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
   |                           `- warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
24 |     }
25 | }
[103/114] Compiling ASN1Kit ASN1Tag.swift
[104/114] Compiling ASN1Kit DataScanner.swift
[105/114] Compiling ASN1Kit ObjectIdentifier.swift
[106/114] Compiling ASN1Kit ASN1DecodedTag+Encoding.swift
[107/114] Compiling ASN1Kit ASN1Object+Subscript.swift
[108/114] Compiling ASN1Kit ASN1Primitive+Description.swift
[109/114] Compiling ASN1Kit ASN1CodableType.swift
[110/114] Compiling ASN1Kit ASN1Object+Encoding.swift
[111/114] Compiling ASN1Kit Array+ASN1Encoding.swift
[112/118] Compiling CLI VersionCommand.swift
[113/118] Compiling CLI main.swift
[114/118] Emitting module CLI
[115/118] Compiling CLI ParseCommand.swift
[115/118] Write Objects.LinkFileList
[116/118] Linking CLI
[117/118] Applying CLI
Build complete! (21.18s)
Fetching https://github.com/gematik/ref-GemCommonsKit
[1/415] Fetching ref-gemcommonskit
Fetched https://github.com/gematik/ref-GemCommonsKit from cache (0.86s)
Fetching http://github.com/Quick/Nimble
Fetching https://github.com/SwiftCommon/DataKit.git
Fetching https://github.com/apple/swift-argument-parser from cache
[1/1224] Fetching datakit
[1225/21011] Fetching datakit, nimble
Fetched https://github.com/apple/swift-argument-parser from cache (1.44s)
Fetched https://github.com/SwiftCommon/DataKit.git from cache (1.94s)
Fetched http://github.com/Quick/Nimble from cache (1.94s)
Computing version for https://github.com/SwiftCommon/DataKit.git
Computed https://github.com/SwiftCommon/DataKit.git at 1.1.0 (2.61s)
Computing version for http://github.com/Quick/Nimble
Computed http://github.com/Quick/Nimble at 9.2.1 (0.61s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.88s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.49s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.72s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.33s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.51s)
Creating working copy for http://github.com/Quick/Nimble
Working copy of http://github.com/Quick/Nimble resolved at 9.2.1
Creating working copy for https://github.com/gematik/ref-GemCommonsKit
Working copy of https://github.com/gematik/ref-GemCommonsKit resolved at 1.2.0 (699ab9c)
Creating working copy for https://github.com/SwiftCommon/DataKit.git
Working copy of https://github.com/SwiftCommon/DataKit.git resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Build complete.
{
  "dependencies" : [
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.2.0",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "http://github.com/Quick/Nimble"
    },
    {
      "identity" : "datakit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftCommon/DataKit.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "ref-gemcommonskit",
      "requirement" : {
        "branch" : [
          "1.2.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/gematik/ref-GemCommonsKit"
    }
  ],
  "manifest_display_name" : "ASN1Kit",
  "name" : "ASN1Kit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "ASN1Kit",
      "targets" : [
        "ASN1Kit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CLI",
      "targets" : [
        "CLI",
        "ASN1Kit"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "CLI",
      "module_type" : "SwiftTarget",
      "name" : "CLI",
      "path" : "Sources/CLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "CLI"
      ],
      "sources" : [
        "ParseCommand.swift",
        "VersionCommand.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "ASN1Kit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ASN1KitTests",
      "module_type" : "SwiftTarget",
      "name" : "ASN1KitTests",
      "path" : "Tests/ASN1KitTests",
      "product_dependencies" : [
        "Nimble"
      ],
      "sources" : [
        "ASN1ConstructedEncodingTest.swift",
        "ASN1DecodedTagEncodingTest.swift",
        "ASN1DecoderTest.swift",
        "ASN1LengthEncodingTest.swift",
        "ASN1ObjectExtEncodingTest.swift",
        "ASN1PrimitiveEncodingTest.swift",
        "DataScannerTest.swift",
        "EquatableASN1Object.swift",
        "ObjectIdentifierTest.swift",
        "OutputStreamBuffer.swift",
        "XCTestManifests.swift",
        "encodable/ArrayExtASN1EncodingTest.swift",
        "encodable/BitStringASN1EncodingTest.swift",
        "encodable/BoolExtASN1EncodingTest.swift",
        "encodable/DataExtASN1EncodingTest.swift",
        "encodable/DateExtASN1EncodingTest.swift",
        "encodable/IntExtASN1EncodingTest.swift",
        "encodable/StringExtASN1EncodingTest.swift",
        "extension/DataExtASN1IntTest.swift",
        "extension/DataExtUIntTest.swift",
        "extension/IntExtLengthTest.swift",
        "extension/Nimbe+ASN1Data.swift",
        "extension/UIntExtTagNoTest.swift"
      ],
      "target_dependencies" : [
        "ASN1Kit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ASN1Kit",
      "module_type" : "SwiftTarget",
      "name" : "ASN1Kit",
      "path" : "Sources/ASN1Kit",
      "product_dependencies" : [
        "DataKit",
        "GemCommonsKit"
      ],
      "product_memberships" : [
        "ASN1Kit",
        "CLI"
      ],
      "sources" : [
        "ASN1Data.swift",
        "ASN1DecodedTag.swift",
        "ASN1Decoder.swift",
        "ASN1Error.swift",
        "ASN1Int.swift",
        "ASN1Object.swift",
        "ASN1Tag.swift",
        "DataScanner.swift",
        "ObjectIdentifier.swift",
        "encodable/ASN1CodableType.swift",
        "encodable/ASN1Object+Encoding.swift",
        "encodable/Array+ASN1Encoding.swift",
        "encodable/Bool+ASN1Encoding.swift",
        "encodable/Data+ASN1Encoding.swift",
        "encodable/Date+ASN1Encoding.swift",
        "encodable/GeneralizedTimeDateFormatter.swift",
        "encodable/Int+ASN1Encoding.swift",
        "encodable/String+ASN1Encoding.swift",
        "extension/ASN1DecodedTag+Encoding.swift",
        "extension/ASN1Object+Subscript.swift",
        "extension/ASN1Primitive+Description.swift",
        "extension/Data+ASN1Int.swift",
        "extension/Data+UInt.swift",
        "extension/Int+Length.swift",
        "extension/OutputStream+UInt8.swift",
        "extension/String+Subscript.swift",
        "extension/UInt+TagNo.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.