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 main (9185c4), with Swift 6.2 (beta) for Android on 18 Jun 2025 09:32:21 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gwynne/iniserialization.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/gwynne/iniserialization.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/9] Compiling INISerialization INIWriter.swift
/host/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
/host/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: "."))
/host/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) }
/host/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 INISerialization.swift
[5/9] Compiling INISerialization INITokenizer.swift
/host/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
/host/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] Emitting module INISerialization
/host/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>
[9/9] Compiling INISerialization INIParser.swift
Build complete! (17.96s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "INISerialization",
  "name" : "INISerialization",
  "path" : "/host/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"
}
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Done.