The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of INISerialization, reference 1.0.0-alpha.4 (9185c4), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 09:38:14 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gwynne/iniserialization.git
Reference: 1.0.0-alpha.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/gwynne/iniserialization
 * tag               1.0.0-alpha.4 -> FETCH_HEAD
HEAD is now at 9185c43 Heavily update the README to (minimally) document both reading and writing and give basic sample code for using INIEncoder and INIDecoder.
Cloned https://github.com/gwynne/iniserialization.git
Revision (git rev-parse @):
9185c4378ef5b33d7f24892136d21ad7b8d6d37f
SUCCESS checkout https://github.com/gwynne/iniserialization.git at 1.0.0-alpha.4
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/gwynne/iniserialization.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/9] Compiling INISerialization INIWriter.swift
/Users/admin/builder/spi-builder-workspace/Sources/INISerialization/INIWriter.swift:16:96: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
 14 |     private func serializeKey(_ key: String, under topKey: String?) throws -> String {
 15 |         if let _ = key.rangeOfCharacter(from: INITokenizer.notIdentifier) {
 16 |             throw INISerialization.SerializationError.invalidIdentifier(keyPath: [topKey, key].flatMap { $0 }.joined(separator: "."))
    |                                                                                                |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
    |                                                                                                `- note: use 'compactMap(_:)' instead
 17 |         }
 18 |         return key
/Users/admin/builder/spi-builder-workspace/Sources/INISerialization/INIWriter.swift:60:92: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
 58 |
 59 |         if let _ = value as? INIUnorderedObject {
 60 |             throw INISerialization.SerializationError.nestedTooDeep(keyPath: [topKey, key].flatMap { $0 }.joined(separator: "."))
    |                                                                                            |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
    |                                                                                            `- note: use 'compactMap(_:)' instead
 61 |         } else if let _ = value as? INIOrderedObject {
 62 |             throw INISerialization.SerializationError.nestedTooDeep(keyPath: [topKey, key].flatMap { $0 }.joined(separator: "."))
/Users/admin/builder/spi-builder-workspace/Sources/INISerialization/INIWriter.swift:62:92: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
 60 |             throw INISerialization.SerializationError.nestedTooDeep(keyPath: [topKey, key].flatMap { $0 }.joined(separator: "."))
 61 |         } else if let _ = value as? INIOrderedObject {
 62 |             throw INISerialization.SerializationError.nestedTooDeep(keyPath: [topKey, key].flatMap { $0 }.joined(separator: "."))
    |                                                                                            |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
    |                                                                                            `- note: use 'compactMap(_:)' instead
 63 |         }
 64 |         else if let uintValue = value as? UInt { valuePart = try serializeUInt(uintValue) }
/Users/admin/builder/spi-builder-workspace/Sources/INISerialization/INIWriter.swift:79:94: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
 77 |         else if let boolValue = value as? Bool { valuePart = try serializeBool(boolValue) }
 78 |         else {
 79 |             throw INISerialization.SerializationError.unsupportedType(keyPath: [topKey, key].flatMap { $0 }.joined(separator: "."), type: type(of: value))
    |                                                                                              |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
    |                                                                                              `- note: use 'compactMap(_:)' instead
 80 |         }
 81 |         return keyPart + " " + "=" + " " + valuePart
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[4/9] Compiling INISerialization INITokenizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/INISerialization/INITokenizer.swift:132:33: warning: 'IndexDistance' is deprecated: All index distances are now of type Int [#DeprecatedDeclaration]
130 |     /// String.index(_, offsetBy:, limitedBy:) that returns the limit instead of
131 |     /// nil if it's reached.
132 |     func minIdx(for adv: String.IndexDistance) -> String.Index {
    |                                 `- warning: 'IndexDistance' is deprecated: All index distances are now of type Int [#DeprecatedDeclaration]
133 |         return text.index(loc, offsetBy: adv, limitedBy: end()) ?? end()
134 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[5/9] Emitting module INISerialization
/Users/admin/builder/spi-builder-workspace/Sources/INISerialization/INITokenizer.swift:132:33: warning: 'IndexDistance' is deprecated: All index distances are now of type Int [#DeprecatedDeclaration]
130 |     /// String.index(_, offsetBy:, limitedBy:) that returns the limit instead of
131 |     /// nil if it's reached.
132 |     func minIdx(for adv: String.IndexDistance) -> String.Index {
    |                                 `- warning: 'IndexDistance' is deprecated: All index distances are now of type Int [#DeprecatedDeclaration]
133 |         return text.index(loc, offsetBy: adv, limitedBy: end()) ?? end()
134 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[6/9] Compiling INISerialization INIEncoder.swift
[7/9] Compiling INISerialization INIDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/INISerialization/INIDecoder.swift:169:60: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
167 |
168 |     public var codingPath: [CodingKey]
169 |     public var allKeys: [Key] { return self.container.keys.flatMap { Key(stringValue: $0) } }
    |                                                            |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
    |                                                            `- note: use 'compactMap(_:)' instead
170 |     public func contains(_ key: Key) -> Bool { return self.container[key.stringValue] != nil }
171 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[8/9] Compiling INISerialization INISerialization.swift
[9/9] Compiling INISerialization INIParser.swift
Build complete! (3.77s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "INISerialization",
  "name" : "INISerialization",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "INISerialization",
      "targets" : [
        "INISerialization"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "INISerializationTests",
      "module_type" : "SwiftTarget",
      "name" : "INISerializationTests",
      "path" : "Tests/INISerializationTests",
      "sources" : [
        "INICoderTests.swift",
        "INIParserTests.swift",
        "INISerializerTests.swift",
        "INITokenizerTests.swift",
        "INIWriterTests.swift",
        "TestCommon.swift"
      ],
      "target_dependencies" : [
        "INISerialization"
      ],
      "type" : "test"
    },
    {
      "c99name" : "INISerialization",
      "module_type" : "SwiftTarget",
      "name" : "INISerialization",
      "path" : "Sources/INISerialization",
      "product_memberships" : [
        "INISerialization"
      ],
      "sources" : [
        "INIDecoder.swift",
        "INIEncoder.swift",
        "INIParser.swift",
        "INISerialization.swift",
        "INITokenizer.swift",
        "INIWriter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.