The Swift Package Index logo.Swift Package Index

Build Information

Successful build of INISerialization with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gwynne/iniserialization.git
Reference: master
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            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/gwynne/iniserialization.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/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
    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
[4/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
    func minIdx(for adv: String.IndexDistance) -> String.Index {
                                ^
[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
    func minIdx(for adv: String.IndexDistance) -> String.Index {
                                ^
[6/9] Compiling INISerialization INISerialization.swift
[7/9] Compiling INISerialization INIEncoder.swift
[8/9] Compiling INISerialization INIParser.swift
[9/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
            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
Build complete! (9.59s)
Build complete.
Done.

Build Machine: Linux 2