The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Cheetah with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-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/OpenKitten/Cheetah.git
Reference: 2.0.3-swift5
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/OpenKitten/Cheetah
 * tag               2.0.3-swift5 -> FETCH_HEAD
HEAD is now at 50f9605 Swift 5 support
Cloned https://github.com/OpenKitten/Cheetah.git
Revision (git rev-parse @):
50f9605735311aaecba33c7d162f198d45c07e0d
SUCCESS checkout https://github.com/OpenKitten/Cheetah.git at 2.0.3-swift5
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/OpenKitten/Cheetah.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-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/10] Compiling Cheetah Helpers.swift
[4/10] Compiling Cheetah InternalHelpers.swift
[5/10] Compiling Cheetah Value.swift
/host/spi-builder-workspace/Sources/Cheetah/Value.swift:103:24: warning: 'characters' is deprecated: Please use String directly
                if str.characters.count == 1 {
                       ^
/host/spi-builder-workspace/Sources/Cheetah/Value.swift:170:26: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
        let array = self.flatMap { value -> CheetahValue? in
                         ^
/host/spi-builder-workspace/Sources/Cheetah/Value.swift:170:26: note: use 'compactMap(_:)' instead
        let array = self.flatMap { value -> CheetahValue? in
                         ^~~~~~~
                         compactMap
[6/10] Compiling Cheetah Parser.swift
/host/spi-builder-workspace/Sources/Cheetah/Parser.swift:219:47: warning: 'characters' is deprecated: Please use String directly
            if negate && autoNegate && prefix.characters.first != "-" {
                                              ^
/host/spi-builder-workspace/Sources/Cheetah/Parser.swift:231:26: warning: 'characters' is deprecated: Please use String directly
            guard number.characters.count > 0 else {
                         ^
[7/10] Compiling Cheetah Object.swift
[8/10] Compiling Cheetah Array.swift
[9/10] Emitting module Cheetah
[10/10] Compiling Cheetah Codable.swift
/host/spi-builder-workspace/Sources/Cheetah/Codable.swift:655:43: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
        return decoder.target.object.keys.flatMap { Key(stringValue: $0) }
                                          ^
/host/spi-builder-workspace/Sources/Cheetah/Codable.swift:655:43: note: use 'compactMap(_:)' instead
        return decoder.target.object.keys.flatMap { Key(stringValue: $0) }
                                          ^~~~~~~
                                          compactMap
/host/spi-builder-workspace/Sources/Cheetah/Codable.swift:624:20: warning: function call causes an infinite recursion
        return try unwrap(value)
                   ^
Build complete! (14.83s)
Build complete.
Done.

Build Machine: Linux 2