Build Information
Successful build of INISerialization with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
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 /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: linux
Swift version: 5.8
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.8-latest swift build --triple x86_64-unknown-linux-gnu 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 INIParser.swift
[4/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 {
^
[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! (5.79s)
Build complete.
Done.