Build Information
Successful build of SKCore with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/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/pvzig/SKCore.git
Reference: 4.1.3
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/pvzig/SKCore
* tag 4.1.3 -> FETCH_HEAD
HEAD is now at b50637b Correct version number, project level deploy targets
Cloned https://github.com/pvzig/SKCore.git
Revision (git rev-parse @):
b50637bb233308e15869c1aef77d20f4e1e10e2e
SUCCESS checkout https://github.com/pvzig/SKCore.git at 4.1.3
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/pvzig/SKCore.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/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/27] Emitting module SKCore
[4/30] Compiling SKCore Topic.swift
[5/30] Compiling SKCore User.swift
[6/30] Compiling SKCore UserGroup.swift
[7/30] Compiling SKCore Channel.swift
[8/30] Compiling SKCore Comment.swift
[9/30] Compiling SKCore CustomProfile.swift
[10/30] Compiling SKCore CustomProfileField.swift
[11/30] Compiling SKCore Reaction.swift
[12/30] Compiling SKCore Reply.swift
[13/30] Compiling SKCore Scope.swift
[14/30] Compiling SKCore Action.swift
/host/spi-builder-workspace/Sources/SKCore/Attachment.swift:64:86: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
markdownEnabledFields = (attachment?["mrkdwn_in"] as? [String]).map { Set($0.flatMap(AttachmentTextField.init)) }
^
/host/spi-builder-workspace/Sources/SKCore/Attachment.swift:64:86: note: use 'compactMap(_:)' instead
markdownEnabledFields = (attachment?["mrkdwn_in"] as? [String]).map { Set($0.flatMap(AttachmentTextField.init)) }
^~~~~~~
compactMap
[15/30] Compiling SKCore Attachment.swift
/host/spi-builder-workspace/Sources/SKCore/Attachment.swift:64:86: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
markdownEnabledFields = (attachment?["mrkdwn_in"] as? [String]).map { Set($0.flatMap(AttachmentTextField.init)) }
^
/host/spi-builder-workspace/Sources/SKCore/Attachment.swift:64:86: note: use 'compactMap(_:)' instead
markdownEnabledFields = (attachment?["mrkdwn_in"] as? [String]).map { Set($0.flatMap(AttachmentTextField.init)) }
^~~~~~~
compactMap
[16/30] Compiling SKCore AttachmentField.swift
/host/spi-builder-workspace/Sources/SKCore/Attachment.swift:64:86: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
markdownEnabledFields = (attachment?["mrkdwn_in"] as? [String]).map { Set($0.flatMap(AttachmentTextField.init)) }
^
/host/spi-builder-workspace/Sources/SKCore/Attachment.swift:64:86: note: use 'compactMap(_:)' instead
markdownEnabledFields = (attachment?["mrkdwn_in"] as? [String]).map { Set($0.flatMap(AttachmentTextField.init)) }
^~~~~~~
compactMap
[17/30] Compiling SKCore Bot.swift
/host/spi-builder-workspace/Sources/SKCore/Attachment.swift:64:86: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
markdownEnabledFields = (attachment?["mrkdwn_in"] as? [String]).map { Set($0.flatMap(AttachmentTextField.init)) }
^
/host/spi-builder-workspace/Sources/SKCore/Attachment.swift:64:86: note: use 'compactMap(_:)' instead
markdownEnabledFields = (attachment?["mrkdwn_in"] as? [String]).map { Set($0.flatMap(AttachmentTextField.init)) }
^~~~~~~
compactMap
[18/30] Compiling SKCore SlackError.swift
[19/30] Compiling SKCore Team.swift
[20/30] Compiling SKCore TeamIcon.swift
[21/30] Compiling SKCore Message.swift
[22/30] Compiling SKCore OAuthConfig.swift
[23/30] Compiling SKCore RTMOptions.swift
[24/30] Compiling SKCore File.swift
[25/30] Compiling SKCore History.swift
[26/30] Compiling SKCore Item.swift
[27/30] Compiling SKCore DoNotDisturbStatus.swift
[28/30] Compiling SKCore Edited.swift
[29/30] Compiling SKCore Event.swift
[30/30] Compiling SKCore Extensions.swift
Build complete! (8.84s)
Build complete.
Done.