Build Information
Failed to build swift-dropbox-client 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/darrarski/swift-dropbox-client.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/darrarski/swift-dropbox-client
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b7871de Merge pull request #10 from darrarski/fix/metadata-model
Cloned https://github.com/darrarski/swift-dropbox-client.git
Revision (git rev-parse @):
b7871defa289f636baedc61b4b45af9c13888ea4
SUCCESS checkout https://github.com/darrarski/swift-dropbox-client.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/darrarski/swift-dropbox-client.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/20] Emitting module DropboxClient
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[4/22] Compiling DropboxClient PKCEUtils.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[5/22] Compiling DropboxClient UploadFile.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[6/22] Compiling DropboxClient GetMetadata.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[7/22] Compiling DropboxClient HTTPClient.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[8/22] Compiling DropboxClient Metadata.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[9/22] Compiling DropboxClient OpenURL.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[10/22] Compiling DropboxClient CurrentValueAsyncSequence.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[11/22] Compiling DropboxClient DateGenerator.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[12/22] Compiling DropboxClient DeleteFile.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[13/22] Compiling DropboxClient Keychain.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[14/22] Compiling DropboxClient ListFolder.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[15/22] Compiling DropboxClient DownloadFile.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[16/22] Compiling DropboxClient FileMetadata.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[17/22] Compiling DropboxClient ActorIsolated.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[18/22] Compiling DropboxClient Auth.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[19/22] Compiling DropboxClient Client.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[20/22] Compiling DropboxClient Coding.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[21/22] Compiling DropboxClient Config.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[22/22] Compiling DropboxClient Credentials.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/19] Compiling DropboxClient Coding.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[3/19] Compiling DropboxClient Config.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[4/19] Compiling DropboxClient Credentials.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[5/21] Compiling DropboxClient Metadata.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[6/21] Compiling DropboxClient OpenURL.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[7/21] Compiling DropboxClient DownloadFile.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[8/21] Compiling DropboxClient FileMetadata.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[9/21] Compiling DropboxClient GetMetadata.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[10/21] Compiling DropboxClient HTTPClient.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[11/21] Compiling DropboxClient Keychain.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[12/21] Compiling DropboxClient ListFolder.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[13/21] Compiling DropboxClient CurrentValueAsyncSequence.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[14/21] Compiling DropboxClient DateGenerator.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[15/21] Compiling DropboxClient DeleteFile.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[16/21] Compiling DropboxClient ActorIsolated.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[17/21] Compiling DropboxClient Auth.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[18/21] Compiling DropboxClient Client.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/21] Emitting module DropboxClient
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[20/21] Compiling DropboxClient PKCEUtils.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
[21/21] Compiling DropboxClient UploadFile.swift
/host/spi-builder-workspace/Sources/DropboxClient/Keychain.swift:2:8: error: no such module 'Security'
import Security
^
error: fatalError
BUILD FAILURE 5.10 linux