The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Mechanica 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/alemar11/Mechanica.git
Reference: 3.1.0
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/alemar11/Mechanica
 * tag               3.1.0      -> FETCH_HEAD
HEAD is now at 9df104e update pod
Cloned https://github.com/alemar11/Mechanica.git
Revision (git rev-parse @):
9df104e130ab6670b68ca59c38a6fec2f039291a
SUCCESS checkout https://github.com/alemar11/Mechanica.git at 3.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/alemar11/Mechanica.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
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/BundleInfoTests.swift': File not found.
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/33] Emitting module Mechanica
/host/spi-builder-workspace/Sources/Foundation/URLRequest+Utils.swift:5:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
          ^~~~~~~~~~
[4/37] Compiling Mechanica FloatingPoint+Utils.swift
[5/37] Compiling Mechanica Operators.swift
[6/37] Compiling Mechanica Optional+Utils.swift
[7/37] Compiling Mechanica RangeReplaceableCollection+Utils.swift
[8/37] Compiling Mechanica Sequence+Utils.swift
[9/37] Compiling Mechanica SignedInteger.swift
[10/37] Compiling Mechanica String+Utils.swift
[11/37] Compiling Mechanica Unicode+Utils.swift
[12/37] Compiling Mechanica Bundle+Info.swift
[13/37] Compiling Mechanica Calendar+Utils.swift
[14/37] Compiling Mechanica Data+Utils.swift
[15/37] Compiling Mechanica Date+Utils.swift
[16/37] Compiling Mechanica Dictionary+FoundationUtils.swift
[17/37] Compiling Mechanica Character+Utils.swift
[18/37] Compiling Mechanica Collection+Utils.swift
[19/37] Compiling Mechanica Dictionary+Utils.swift
[20/37] Compiling Mechanica FixedWidthInteger+Utils.swift
[21/37] Compiling Mechanica DispatchQueue+Utils.swift
[22/37] Compiling Mechanica FileManager+Utils.swift
[23/37] Compiling Mechanica FoundationUtils.swift
[24/37] Compiling Mechanica Locale.swift
[25/37] Compiling Mechanica NSAttributedString+Utils.swift
[26/37] Compiling Mechanica Stat+Utils.swift
/host/spi-builder-workspace/Sources/Foundation/URLRequest+Utils.swift:5:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
          ^~~~~~~~~~
[27/37] Compiling Mechanica String+FoundationUtils.swift
/host/spi-builder-workspace/Sources/Foundation/URLRequest+Utils.swift:5:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
          ^~~~~~~~~~
[28/37] Compiling Mechanica URL+Utils.swift
/host/spi-builder-workspace/Sources/Foundation/URLRequest+Utils.swift:5:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
          ^~~~~~~~~~
[29/37] Compiling Mechanica URLRequest+Utils.swift
/host/spi-builder-workspace/Sources/Foundation/URLRequest+Utils.swift:5:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
          ^~~~~~~~~~
[30/37] Compiling Mechanica UserDefaults+Utils.swift
[31/37] Compiling Mechanica BinaryFloatingPoint+Utils.swift
[32/37] Compiling Mechanica BinaryInteger+Utils.swift
[33/37] Compiling Mechanica Bool+Utils.swift
[34/37] Compiling Mechanica NSMutableAttributedString+Utils.swift
[35/37] Compiling Mechanica NSObjectProtocol+Utils.swift
[36/37] Compiling Mechanica NSPredicate+Utils.swift
[37/37] Compiling Mechanica ProcessInfo+Utils.swift
error: fatalError
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/BundleInfoTests.swift': File not found.
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/6] Compiling Mechanica URLRequest+Utils.swift
/host/spi-builder-workspace/Sources/Foundation/URLRequest+Utils.swift:5:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
          ^~~~~~~~~~
[3/6] Compiling Mechanica URL+Utils.swift
[4/7] Compiling Mechanica FileManager+Utils.swift
[5/7] Compiling Mechanica Stat+Utils.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/7] Compiling Mechanica String+FoundationUtils.swift
[7/7] Emitting module Mechanica
/host/spi-builder-workspace/Sources/Foundation/URLRequest+Utils.swift:5:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
          ^~~~~~~~~~
[8/27] Compiling Mechanica UserDefaults+Utils.swift
[9/27] Compiling Mechanica BinaryFloatingPoint+Utils.swift
[10/27] Compiling Mechanica Bool+Utils.swift
[11/27] Compiling Mechanica FixedWidthInteger+Utils.swift
[12/27] Compiling Mechanica FloatingPoint+Utils.swift
[13/27] Compiling Mechanica FoundationUtils.swift
[14/27] Compiling Mechanica Locale.swift
[15/27] Compiling Mechanica NSAttributedString+Utils.swift
[16/27] Compiling Mechanica Data+Utils.swift
[17/27] Compiling Mechanica Date+Utils.swift
[18/27] Compiling Mechanica Dictionary+FoundationUtils.swift
[19/27] Compiling Mechanica Operators.swift
[20/27] Compiling Mechanica Optional+Utils.swift
[21/27] Compiling Mechanica NSMutableAttributedString+Utils.swift
[22/27] Compiling Mechanica NSObjectProtocol+Utils.swift
[23/27] Compiling Mechanica ProcessInfo+Utils.swift
[24/27] Compiling Mechanica Character+Utils.swift
[25/27] Compiling Mechanica Dictionary+Utils.swift
[26/27] Compiling Mechanica SignedInteger.swift
[27/27] Compiling Mechanica String+Utils.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1