The Swift Package Index logo.Swift Package Index

Build Information

Failed to build VIPER 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/thomverbeek/VIPER.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/thomverbeek/VIPER
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2c44cce Merge pull request #1 from thomverbeek/develop
Cloned https://github.com/thomverbeek/VIPER.git
Revision (git rev-parse @):
2c44cce00daf5bf99b0fbdf58fbc9fac3397f1fa
SUCCESS checkout https://github.com/thomverbeek/VIPER.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/thomverbeek/VIPER.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
Fetching https://github.com/apple/swift-argument-parser
[1/11426] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.73s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.5 (0.48s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.0.5
Building for debugging...
[0/8] Write sources
[3/8] Write swift-version-24593BA9C3E375BF.txt
[5/37] Emitting module ArgumentParser
[6/40] Compiling ArgumentParser NameSpecification.swift
[7/40] Compiling ArgumentParser Option.swift
[8/40] Compiling ArgumentParser OptionGroup.swift
[9/40] Compiling ArgumentParser CommandConfiguration.swift
[10/40] Compiling ArgumentParser ParsedValues.swift
[11/40] Compiling ArgumentParser ParserError.swift
[12/40] Compiling ArgumentParser SplitArguments.swift
[13/40] Compiling ArgumentParser CommandParser.swift
[14/40] Compiling ArgumentParser InputOrigin.swift
[15/40] Compiling ArgumentParser Name.swift
[16/40] Compiling ArgumentParser Parsed.swift
[17/40] Compiling ArgumentParser ArgumentDecoder.swift
[18/40] Compiling ArgumentParser ArgumentDefinition.swift
[19/40] Compiling ArgumentParser ArgumentSet.swift
[20/40] Compiling ArgumentParser ArgumentSetSequence.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/40] Emitting module VIPER
/host/spi-builder-workspace/Sources/VIPER/VIPER.swift:2:8: error: no such module 'ObjectiveC'
import ObjectiveC
       ^
[22/40] Compiling VIPER VIPER.swift
/host/spi-builder-workspace/Sources/VIPER/VIPER.swift:2:8: error: no such module 'ObjectiveC'
import ObjectiveC
       ^
[23/40] Compiling ArgumentParser Argument.swift
[24/40] Compiling ArgumentParser ArgumentHelp.swift
[25/40] Compiling ArgumentParser Errors.swift
[26/40] Compiling ArgumentParser Flag.swift
[27/40] Compiling ArgumentParser UsageGenerator.swift
[28/40] Compiling ArgumentParser StringExtensions.swift
[29/40] Compiling ArgumentParser Tree.swift
[30/40] Compiling ArgumentParser HelpCommand.swift
[31/40] Compiling ArgumentParser HelpGenerator.swift
[32/40] Compiling ArgumentParser MessageInfo.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/7] Emitting module VIPER
/host/spi-builder-workspace/Sources/VIPER/VIPER.swift:2:8: error: no such module 'ObjectiveC'
import ObjectiveC
       ^
[3/7] Compiling VIPER VIPER.swift
/host/spi-builder-workspace/Sources/VIPER/VIPER.swift:2:8: error: no such module 'ObjectiveC'
import ObjectiveC
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2