Build Information
Failed to build Instantiate with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-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/tarunon/Instantiate.git
Reference: 4.0.1
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/tarunon/Instantiate
* tag 4.0.1 -> FETCH_HEAD
HEAD is now at 5652b7d fix: spm package resolve problem
Cloned https://github.com/tarunon/Instantiate.git
Revision (git rev-parse @):
5652b7deb45e4826dab31fa67336c1f9649e42c2
SUCCESS checkout https://github.com/tarunon/Instantiate.git at 4.0.1
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/tarunon/Instantiate.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/20] Emitting module Instantiate
/host/spi-builder-workspace/Sources/Instantiate/Nib.swift:28:25: error: cannot find type 'NibName' in scope
static var nibName: NibName { get }
^~~~~~~
/host/spi-builder-workspace/Sources/Instantiate/Nib.swift:30:21: error: cannot find type 'Nib' in scope
static var nib: Nib { get }
^~~
/host/spi-builder-workspace/Sources/Instantiate/Nib.swift:38:21: error: cannot find type 'Nib' in scope
static var nib: Nib {
^~~
/host/spi-builder-workspace/Sources/Instantiate/Storyboard.swift:28:32: error: cannot find type 'StoryboardName' in scope
static var storyboardName: StoryboardName { get }
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Instantiate/Storyboard.swift:30:28: error: cannot find type 'Storyboard' in scope
static var storyboard: Storyboard { get }
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Instantiate/Storyboard.swift:38:28: error: cannot find type 'Storyboard' in scope
static var storyboard: Storyboard {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Instantiate/Storyboard.swift:45:21: error: cannot find type 'StoryboardSceneIdentifier' in scope
case identifier(StoryboardSceneIdentifier)
^~~~~~~~~~~~~~~~~~~~~~~~~
[5/22] Compiling Instantiate Reusable+NSTableView.swift
[6/22] Compiling Instantiate Storyboard+NSViewController.swift
[7/22] Compiling Instantiate Deprecated.swift
[8/22] Compiling Instantiate Identifier.swift
[9/22] Compiling Instantiate Injectable.swift
[10/22] Compiling Instantiate Reusable+UICollectionView.swift
[11/22] Compiling Instantiate Reusable+UITableView.swift
[12/22] Compiling Instantiate Nib+UIView.swift
[13/22] Compiling Instantiate Nib+UIViewController.swift
[14/22] Compiling Instantiate Storyboard+UIViewController.swift
[15/22] Compiling Instantiate Nib+NSView.swift
[16/22] Compiling Instantiate Nib+NSViewController.swift
[17/22] Compiling Instantiate Reusable+NSCollectionView.swift
[18/22] Compiling Instantiate Storyboard.swift
/host/spi-builder-workspace/Sources/Instantiate/Storyboard.swift:28:32: error: cannot find type 'StoryboardName' in scope
static var storyboardName: StoryboardName { get }
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Instantiate/Storyboard.swift:30:28: error: cannot find type 'Storyboard' in scope
static var storyboard: Storyboard { get }
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Instantiate/Storyboard.swift:38:28: error: cannot find type 'Storyboard' in scope
static var storyboard: Storyboard {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Instantiate/Storyboard.swift:45:21: error: cannot find type 'StoryboardSceneIdentifier' in scope
case identifier(StoryboardSceneIdentifier)
^~~~~~~~~~~~~~~~~~~~~~~~~
[19/22] Compiling Instantiate ViewLoadBeforeInject.swift
/host/spi-builder-workspace/Sources/Instantiate/Storyboard.swift:28:32: error: cannot find type 'StoryboardName' in scope
static var storyboardName: StoryboardName { get }
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Instantiate/Storyboard.swift:30:28: error: cannot find type 'Storyboard' in scope
static var storyboard: Storyboard { get }
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Instantiate/Storyboard.swift:38:28: error: cannot find type 'Storyboard' in scope
static var storyboard: Storyboard {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Instantiate/Storyboard.swift:45:21: error: cannot find type 'StoryboardSceneIdentifier' in scope
case identifier(StoryboardSceneIdentifier)
^~~~~~~~~~~~~~~~~~~~~~~~~
[20/22] Compiling Instantiate Instantiatable.swift
/host/spi-builder-workspace/Sources/Instantiate/Nib.swift:28:25: error: cannot find type 'NibName' in scope
static var nibName: NibName { get }
^~~~~~~
/host/spi-builder-workspace/Sources/Instantiate/Nib.swift:30:21: error: cannot find type 'Nib' in scope
static var nib: Nib { get }
^~~
/host/spi-builder-workspace/Sources/Instantiate/Nib.swift:38:21: error: cannot find type 'Nib' in scope
static var nib: Nib {
^~~
[21/22] Compiling Instantiate Nib.swift
/host/spi-builder-workspace/Sources/Instantiate/Nib.swift:28:25: error: cannot find type 'NibName' in scope
static var nibName: NibName { get }
^~~~~~~
/host/spi-builder-workspace/Sources/Instantiate/Nib.swift:30:21: error: cannot find type 'Nib' in scope
static var nib: Nib { get }
^~~
/host/spi-builder-workspace/Sources/Instantiate/Nib.swift:38:21: error: cannot find type 'Nib' in scope
static var nib: Nib {
^~~
[22/22] Compiling Instantiate Reusable.swift
/host/spi-builder-workspace/Sources/Instantiate/Nib.swift:28:25: error: cannot find type 'NibName' in scope
static var nibName: NibName { get }
^~~~~~~
/host/spi-builder-workspace/Sources/Instantiate/Nib.swift:30:21: error: cannot find type 'Nib' in scope
static var nib: Nib { get }
^~~
/host/spi-builder-workspace/Sources/Instantiate/Nib.swift:38:21: error: cannot find type 'Nib' in scope
static var nib: Nib {
^~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] Compiling Instantiate ViewLoadBeforeInject.swift
[3/7] Compiling Instantiate Storyboard.swift
/host/spi-builder-workspace/Sources/Instantiate/Storyboard.swift:28:32: error: cannot find type 'StoryboardName' in scope
static var storyboardName: StoryboardName { get }
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Instantiate/Storyboard.swift:30:28: error: cannot find type 'Storyboard' in scope
static var storyboard: Storyboard { get }
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Instantiate/Storyboard.swift:38:28: error: cannot find type 'Storyboard' in scope
static var storyboard: Storyboard {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Instantiate/Storyboard.swift:45:21: error: cannot find type 'StoryboardSceneIdentifier' in scope
case identifier(StoryboardSceneIdentifier)
^~~~~~~~~~~~~~~~~~~~~~~~~
[4/7] Compiling Instantiate Reusable.swift
[5/7] Compiling Instantiate Nib.swift
/host/spi-builder-workspace/Sources/Instantiate/Nib.swift:28:25: error: cannot find type 'NibName' in scope
static var nibName: NibName { get }
^~~~~~~
/host/spi-builder-workspace/Sources/Instantiate/Nib.swift:30:21: error: cannot find type 'Nib' in scope
static var nib: Nib { get }
^~~
/host/spi-builder-workspace/Sources/Instantiate/Nib.swift:38:21: error: cannot find type 'Nib' in scope
static var nib: Nib {
^~~
[6/7] Compiling Instantiate Instantiatable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/7] Emitting module Instantiate
/host/spi-builder-workspace/Sources/Instantiate/Nib.swift:28:25: error: cannot find type 'NibName' in scope
static var nibName: NibName { get }
^~~~~~~
/host/spi-builder-workspace/Sources/Instantiate/Nib.swift:30:21: error: cannot find type 'Nib' in scope
static var nib: Nib { get }
^~~
/host/spi-builder-workspace/Sources/Instantiate/Nib.swift:38:21: error: cannot find type 'Nib' in scope
static var nib: Nib {
^~~
/host/spi-builder-workspace/Sources/Instantiate/Storyboard.swift:28:32: error: cannot find type 'StoryboardName' in scope
static var storyboardName: StoryboardName { get }
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Instantiate/Storyboard.swift:30:28: error: cannot find type 'Storyboard' in scope
static var storyboard: Storyboard { get }
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Instantiate/Storyboard.swift:38:28: error: cannot find type 'Storyboard' in scope
static var storyboard: Storyboard {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Instantiate/Storyboard.swift:45:21: error: cannot find type 'StoryboardSceneIdentifier' in scope
case identifier(StoryboardSceneIdentifier)
^~~~~~~~~~~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux