The Swift Package Index logo.Swift Package Index

Build Information

Failed to build IzzyParser with Swift 5.7 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/undabot/izzyparser-ios.git
Reference: 1.0.0
Cloned https://github.com/undabot/izzyparser-ios.git into spi-builder-workspace
SUCCESS checkout https://github.com/undabot/izzyparser-ios.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/1193] Fetching cwlpreconditiontesting
[1194/1625] Fetching cwlpreconditiontesting, cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.24s)
Fetching https://github.com/Quick/Quick.git
[1/13933] Fetching quick
[13934/30040] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git (0.65s)
[15302/16107] Fetching nimble
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (1.58s)
Fetched https://github.com/Quick/Nimble.git (1.61s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 3.1.2 (0.33s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.0.0 (0.31s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.0.0
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 3.1.2
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)[1/25] Emitting module IzzyParser
/host/spi-builder-workspace/IzzyParser/Helpers/SwiftReflection.swift:2:8: error: no such module 'ObjectiveC.runtime'
import ObjectiveC.runtime
       ^
[2/28] Compiling IzzyParser IzzyDeserializer.swift
/host/spi-builder-workspace/IzzyParser/Helpers/SwiftReflection.swift:2:8: error: no such module 'ObjectiveC.runtime'
import ObjectiveC.runtime
       ^
[3/28] Compiling IzzyParser JsonApiDeserializer.swift
/host/spi-builder-workspace/IzzyParser/Helpers/SwiftReflection.swift:2:8: error: no such module 'ObjectiveC.runtime'
import ObjectiveC.runtime
       ^
[4/28] Compiling IzzyParser LinksDeserializer.swift
/host/spi-builder-workspace/IzzyParser/Helpers/SwiftReflection.swift:2:8: error: no such module 'ObjectiveC.runtime'
import ObjectiveC.runtime
       ^
[5/28] Compiling IzzyParser MetaDeserializer.swift
/host/spi-builder-workspace/IzzyParser/Helpers/SwiftReflection.swift:2:8: error: no such module 'ObjectiveC.runtime'
import ObjectiveC.runtime
       ^
[6/28] Compiling IzzyParser CodableCustomObject.swift
/host/spi-builder-workspace/IzzyParser/Helpers/SwiftReflection.swift:2:8: error: no such module 'ObjectiveC.runtime'
import ObjectiveC.runtime
       ^
[7/28] Compiling IzzyParser CustomObject.swift
/host/spi-builder-workspace/IzzyParser/Helpers/SwiftReflection.swift:2:8: error: no such module 'ObjectiveC.runtime'
import ObjectiveC.runtime
       ^
[8/28] Compiling IzzyParser Deserializer.swift
/host/spi-builder-workspace/IzzyParser/Helpers/SwiftReflection.swift:2:8: error: no such module 'ObjectiveC.runtime'
import ObjectiveC.runtime
       ^
[9/28] Compiling IzzyParser ErrorsDeserializer.swift
/host/spi-builder-workspace/IzzyParser/Helpers/SwiftReflection.swift:2:8: error: no such module 'ObjectiveC.runtime'
import ObjectiveC.runtime
       ^
[10/28] Compiling IzzyParser ResourceDeserializer.swift
/host/spi-builder-workspace/IzzyParser/Helpers/SwiftReflection.swift:2:8: error: no such module 'ObjectiveC.runtime'
import ObjectiveC.runtime
       ^
[11/28] Compiling IzzyParser IzzyError.swift
/host/spi-builder-workspace/IzzyParser/Helpers/SwiftReflection.swift:2:8: error: no such module 'ObjectiveC.runtime'
import ObjectiveC.runtime
       ^
[12/28] Compiling IzzyParser Codable+Convenience.swift
/host/spi-builder-workspace/IzzyParser/Helpers/SwiftReflection.swift:2:8: error: no such module 'ObjectiveC.runtime'
import ObjectiveC.runtime
       ^
[13/28] Compiling IzzyParser DictionaryExtensions.swift
/host/spi-builder-workspace/IzzyParser/Helpers/SwiftReflection.swift:2:8: error: no such module 'ObjectiveC.runtime'
import ObjectiveC.runtime
       ^
error: compile command failed due to signal 11 (use -v to see invocation)/host/spi-builder-workspace/IzzyParser/Helpers/SwiftReflection.swift:2:8: error: no such module 'ObjectiveC.runtime'
import ObjectiveC.runtime
       ^
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project and the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/IzzyParser/Deserialization/CodableCustomObject.swift /host/spi-builder-workspace/IzzyParser/Deserialization/CustomObject.swift /host/spi-builder-workspace/IzzyParser/Deserialization/Deserializer.swift /host/spi-builder-workspace/IzzyParser/Deserialization/ErrorsDeserializer.swift /host/spi-builder-workspace/IzzyParser/Deserialization/IzzyDeserializer.swift /host/spi-builder-workspace/IzzyParser/Deserialization/JsonApiDeserializer.swift /host/spi-builder-workspace/IzzyParser/Deserialization/LinksDeserializer.swift /host/spi-builder-workspace/IzzyParser/Deserialization/MetaDeserializer.swift /host/spi-builder-workspace/IzzyParser/Deserialization/ResourceDeserializer.swift /host/spi-builder-workspace/IzzyParser/Errors/IzzyError.swift /host/spi-builder-workspace/IzzyParser/Helpers/Codable+Convenience.swift /host/spi-builder-workspace/IzzyParser/Helpers/DictionaryExtensions.swift -primary-file /host/spi-builder-workspace/IzzyParser/Helpers/SwiftReflection.swift -primary-file /host/spi-builder-workspace/IzzyParser/Izzy.swift -primary-file /host/spi-builder-workspace/IzzyParser/ResourceMatcher/ResourceMatcher.swift /host/spi-builder-workspace/IzzyParser/ResourceObjects/Identity.swift /host/spi-builder-workspace/IzzyParser/ResourceObjects/JSONAPIError.swift /host/spi-builder-workspace/IzzyParser/ResourceObjects/Link.swift /host/spi-builder-workspace/IzzyParser/ResourceObjects/Nullable.swift /host/spi-builder-workspace/IzzyParser/ResourceObjects/Resource.swift /host/spi-builder-workspace/IzzyParser/ResourceObjects/SingleResourceJSON.swift /host/spi-builder-workspace/IzzyParser/Resources/JSONAPIDocument.swift /host/spi-builder-workspace/IzzyParser/Serialization/IzzySerializer.swift /host/spi-builder-workspace/IzzyParser/Serialization/ResourceCollectionSerializer.swift /host/spi-builder-workspace/IzzyParser/Serialization/SerializationValidator.swift /host/spi-builder-workspace/IzzyParser/Serialization/Serializer.swift /host/spi-builder-workspace/IzzyParser/Serialization/SingleResourceSerializer.swift -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/IzzyParser.build/Helpers/SwiftReflection.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/IzzyParser.build/Helpers/SwiftReflection.swiftdeps -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/IzzyParser.build/Izzy.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/IzzyParser.build/Izzy.swiftdeps -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/IzzyParser.build/ResourceMatcher/ResourceMatcher.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/IzzyParser.build/ResourceMatcher/ResourceMatcher.swiftdeps -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug -enable-testing -g -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -new-driver-path /usr/bin/swift-driver -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -module-name IzzyParser -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/IzzyParser.build/Helpers/SwiftReflection.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/IzzyParser.build/Izzy.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/IzzyParser.build/ResourceMatcher/ResourceMatcher.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1.	Swift version 5.7.3 (swift-5.7.3-RELEASE)
2.	Compiling with the current language version
3.	While evaluating request TypeCheckSourceFileRequest(source_file "/host/spi-builder-workspace/IzzyParser/Helpers/SwiftReflection.swift")
4.	While evaluating request TypeCheckFunctionBodyRequest(IzzyParser.(file).NSObject extension._@/host/spi-builder-workspace/IzzyParser/Helpers/SwiftReflection.swift:6:32)
5.	While type-checking statement at [/host/spi-builder-workspace/IzzyParser/Helpers/SwiftReflection.swift:6:32 - line:29:5] RangeText="{
        var propertiesInClassHierarchy = [(UInt32, UnsafeMutablePointer<objc_property_t>?)]()

        var selfPropertiesCount: UInt32 = 0
        let selfProperties = class_copyPropertyList(type(of: self), &selfPropertiesCount)
        propertiesInClassHierarchy.append((selfPropertiesCount, selfProperties))
        propertiesInClassHierarchy.append(contentsOf: superClassProperties())

        let propertyCount = propertiesInClassHierarchy.reduce(0) { $0 + Int($1.0) }
        guard propertyCount > 0 else { return [Property]() }
        var resourceProperties = [Property]()

        propertiesInClassHierarchy
            .filter { $0.0 > 0 }
            .forEach { (count, properties) in
                for index in 0 ..< Int(count) {
                    let property = properties![index]
                    resourceProperties.append(property)
                }
        }

        propertiesInClassHierarchy.forEach { free($0.1) }
        return resourceProperties
    "
6.	While type-checking expression at [/host/spi-builder-workspace/IzzyParser/Helpers/SwiftReflection.swift:18:9 - line:25:9] RangeText="propertiesInClassHierarchy
            .filter { $0.0 > 0 }
            .forEach { (count, properties) in
                for index in 0 ..< Int(count) {
                    let property = properties![index]
                    resourceProperties.append(property)
                }
        "
7.	While type-checking-target starting at /host/spi-builder-workspace/IzzyParser/Helpers/SwiftReflection.swift:20:14
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
/usr/bin/swift-frontend[0x52d0903]
/usr/bin/swift-frontend[0x52ce80e]
/usr/bin/swift-frontend[0x52d0c8f]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7fb3c657a420]
/usr/bin/swift-frontend[0x10aec68]
/usr/bin/swift-frontend[0x10aedb9]
/usr/bin/swift-frontend[0x109895f]
/usr/bin/swift-frontend[0x109a7be]
/usr/bin/swift-frontend[0x109a3b9]
/usr/bin/swift-frontend[0x1099bfa]
/usr/bin/swift-frontend[0x11c4cab]
/usr/bin/swift-frontend[0x11c4a74]
/usr/bin/swift-frontend[0x11c496d]
/usr/bin/swift-frontend[0x1274f2c]
/usr/bin/swift-frontend[0x1276cec]
/usr/bin/swift-frontend[0x12762bc]
/usr/bin/swift-frontend[0x12758b8]
/usr/bin/swift-frontend[0x17723d5]
/usr/bin/swift-frontend[0x177225f]
/usr/bin/swift-frontend[0x16f9c10]
/usr/bin/swift-frontend[0x12a4069]
/usr/bin/swift-frontend[0x12a5c34]
/usr/bin/swift-frontend[0x12a5abb]
/usr/bin/swift-frontend[0x12a3f09]
/usr/bin/swift-frontend[0x5da3e9]
/usr/bin/swift-frontend[0x5cff8a]
/usr/bin/swift-frontend[0x5cfe88]
/usr/bin/swift-frontend[0x582293]
/usr/bin/swift-frontend[0x4516ef]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7fb3c59a4083]
/usr/bin/swift-frontend[0x45070e]
BUILD FAILURE 5.7 linux

Build Machine: Linux 2