The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of INISerialization with Swift 5.10 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.39.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gwynne/iniserialization.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/gwynne/iniserialization
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "iniserialization",
      "name": "INISerialization",
      "url": "https://github.com/gwynne/iniserialization.git",
      "version": "unspecified",
      "path": "/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/iniserialization",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/gwynne/iniserialization.git
[2/118] Fetching iniserialization
Fetched https://github.com/gwynne/iniserialization.git from cache (0.23s)
Creating working copy for https://github.com/gwynne/iniserialization.git
Working copy of https://github.com/gwynne/iniserialization.git resolved at main (9185c43)
warning: '.resolve-product-dependencies': dependency 'iniserialization' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/gwynne/iniserialization.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6044DDE57671499D.txt
[3/9] Compiling INISerialization INIParser.swift
[4/9] Compiling INISerialization INIEncoder.swift
[5/9] Compiling INISerialization INISerialization.swift
[6/9] Compiling INISerialization INIWriter.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-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
            throw INISerialization.SerializationError.invalidIdentifier(keyPath: [topKey, key].flatMap { $0 }.joined(separator: "."))
                                                                                               ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/INISerialization/INIWriter.swift:16:96: note: use 'compactMap(_:)' instead
            throw INISerialization.SerializationError.invalidIdentifier(keyPath: [topKey, key].flatMap { $0 }.joined(separator: "."))
                                                                                               ^~~~~~~
                                                                                               compactMap
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-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
            throw INISerialization.SerializationError.nestedTooDeep(keyPath: [topKey, key].flatMap { $0 }.joined(separator: "."))
                                                                                           ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/INISerialization/INIWriter.swift:60:92: note: use 'compactMap(_:)' instead
            throw INISerialization.SerializationError.nestedTooDeep(keyPath: [topKey, key].flatMap { $0 }.joined(separator: "."))
                                                                                           ^~~~~~~
                                                                                           compactMap
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-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
            throw INISerialization.SerializationError.nestedTooDeep(keyPath: [topKey, key].flatMap { $0 }.joined(separator: "."))
                                                                                           ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/INISerialization/INIWriter.swift:62:92: note: use 'compactMap(_:)' instead
            throw INISerialization.SerializationError.nestedTooDeep(keyPath: [topKey, key].flatMap { $0 }.joined(separator: "."))
                                                                                           ^~~~~~~
                                                                                           compactMap
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-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
            throw INISerialization.SerializationError.unsupportedType(keyPath: [topKey, key].flatMap { $0 }.joined(separator: "."), type: type(of: value))
                                                                                             ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/INISerialization/INIWriter.swift:79:94: note: use 'compactMap(_:)' instead
            throw INISerialization.SerializationError.unsupportedType(keyPath: [topKey, key].flatMap { $0 }.joined(separator: "."), type: type(of: value))
                                                                                             ^~~~~~~
                                                                                             compactMap
[7/9] Compiling INISerialization INITokenizer.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/INISerialization/INITokenizer.swift:132:33: warning: 'IndexDistance' is deprecated: All index distances are now of type Int
    func minIdx(for adv: String.IndexDistance) -> String.Index {
                                ^
[8/9] Emitting module INISerialization
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/INISerialization/INITokenizer.swift:132:33: warning: 'IndexDistance' is deprecated: All index distances are now of type Int
    func minIdx(for adv: String.IndexDistance) -> String.Index {
                                ^
[9/9] Compiling INISerialization INIDecoder.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-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
    public var allKeys: [Key] { return self.container.keys.flatMap { Key(stringValue: $0) } }
                                                           ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/INISerialization/INIDecoder.swift:169:60: note: use 'compactMap(_:)' instead
    public var allKeys: [Key] { return self.container.keys.flatMap { Key(stringValue: $0) } }
                                                           ^~~~~~~
                                                           compactMap
Build complete! (5.68s)
Build complete.
Done.