The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftCompilationDatabase 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/jerrymarino/SwiftCompilationDatabase.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/jerrymarino/SwiftCompilationDatabase
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 810f040 Spartan Message Parser library
Cloned https://github.com/jerrymarino/SwiftCompilationDatabase.git
Revision (git rev-parse @):
810f040e97ebe97210d64a644d8d386e35a6358d
SUCCESS checkout https://github.com/jerrymarino/SwiftCompilationDatabase.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/jerrymarino/SwiftCompilationDatabase.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/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/9] Compiling LogParser LogParser.swift
/host/spi-builder-workspace/Sources/LogParser/LogParser.swift:30:10: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
        .flatMap { try? JSONDecoder().decode(Message.self, from: $0 ) }
         ^
/host/spi-builder-workspace/Sources/LogParser/LogParser.swift:30:10: note: use 'compactMap(_:)' instead
        .flatMap { try? JSONDecoder().decode(Message.self, from: $0 ) }
         ^~~~~~~
         compactMap
/host/spi-builder-workspace/Sources/LogParser/LogParser.swift:36:28: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    let entries = messages.flatMap {
                           ^
/host/spi-builder-workspace/Sources/LogParser/LogParser.swift:36:28: note: use 'compactMap(_:)' instead
    let entries = messages.flatMap {
                           ^~~~~~~
                           compactMap
[5/9] Emitting module LogParser
[6/10] Wrapping AST for LogParser for debugging
[8/12] Emitting module SwiftCompilationDatabase
[9/12] Compiling SwiftCompilationDatabase main.swift
[10/13] Wrapping AST for SwiftCompilationDatabase for debugging
[11/13] Write Objects.LinkFileList
[12/13] Linking SwiftCompilationDatabase
Build complete! (9.92s)
Build complete.
Done.

Build Machine: Linux 2