The Swift Package Index logo.Swift Package Index

Build Information

Successful build of INISerialization with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gwynne/iniserialization.git
Reference: 1.0.0-alpha.4
Cloned https://github.com/gwynne/iniserialization.git into spi-builder-workspace
SUCCESS checkout https://github.com/gwynne/iniserialization.git at 1.0.0-alpha.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[1/7] 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
            throw INISerialization.SerializationError.invalidIdentifier(keyPath: [topKey, key].flatMap { $0 }.joined(separator: "."))
                                                                                               ^
/host/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
/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
            throw INISerialization.SerializationError.nestedTooDeep(keyPath: [topKey, key].flatMap { $0 }.joined(separator: "."))
                                                                                           ^
/host/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
/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
            throw INISerialization.SerializationError.nestedTooDeep(keyPath: [topKey, key].flatMap { $0 }.joined(separator: "."))
                                                                                           ^
/host/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
/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
            throw INISerialization.SerializationError.unsupportedType(keyPath: [topKey, key].flatMap { $0 }.joined(separator: "."), type: type(of: value))
                                                                                             ^
/host/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
[2/7] Compiling INISerialization INISerialization.swift
[3/7] 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
    func minIdx(for adv: String.IndexDistance) -> String.Index {
                                ^
[4/7] Compiling INISerialization INIParser.swift
[5/7] 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
    func minIdx(for adv: String.IndexDistance) -> String.Index {
                                ^
[6/7] 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
    public var allKeys: [Key] { return self.container.keys.flatMap { Key(stringValue: $0) } }
                                                           ^
/host/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
[7/7] Compiling INISerialization INIEncoder.swift
Build complete! (7.98s)
Build complete.
Done.

Build Machine: Linux 1