Build Information
Failed to build EmbraceIO, reference main (584ee2
), with Swift 5.10 for Linux on 15 Nov 2024 17:43:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/embrace-io/embrace-apple-sdk.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/embrace-io/embrace-apple-sdk
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 584ee27 Release/6.5.2 (#125)
Cloned https://github.com/embrace-io/embrace-apple-sdk.git
Revision (git rev-parse @):
584ee27911071342c948aeed0695d589557afbc0
SUCCESS checkout https://github.com/embrace-io/embrace-apple-sdk.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/embrace-io/embrace-apple-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:bbf8567030a4fa53b55a34fff1a818ffa3e86e892fedc5d8aa9c6958f48fdf8a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/groue/GRDB.swift
Fetching https://github.com/open-telemetry/opentelemetry-swift
Fetching https://github.com/embrace-io/KSCrash.git
[1/11943] Fetching opentelemetry-swift
[11944/23666] Fetching opentelemetry-swift, kscrash
Fetched https://github.com/open-telemetry/opentelemetry-swift from cache (0.61s)
[7503/11723] Fetching kscrash
Fetched https://github.com/embrace-io/KSCrash.git from cache (0.99s)
[1/109919] Fetching grdb.swift
Fetched https://github.com/groue/GRDB.swift from cache (13.86s)
Computing version for https://github.com/open-telemetry/opentelemetry-swift
Computed https://github.com/open-telemetry/opentelemetry-swift at 1.10.1 (0.48s)
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-nio.git
[1/1569] Fetching swift-atomics
[1570/3657] Fetching swift-atomics, swift-metrics
[2489/7348] Fetching swift-atomics, swift-metrics, swift-log
[7349/78890] Fetching swift-atomics, swift-metrics, swift-log, swift-nio
[8065/116744] Fetching swift-atomics, swift-metrics, swift-log, swift-nio, swift-protobuf
[20057/165100] Fetching swift-atomics, swift-metrics, swift-log, swift-nio, swift-protobuf, grpc-swift
Fetched https://github.com/apple/swift-atomics.git from cache (3.29s)
Fetched https://github.com/grpc/grpc-swift.git from cache (3.38s)
Fetched https://github.com/apple/swift-nio.git from cache (7.51s)
Fetched https://github.com/apple/swift-metrics.git from cache (7.77s)
Fetched https://github.com/apple/swift-log.git from cache (7.77s)
Fetched https://github.com/apple/swift-protobuf.git from cache (7.84s)
Computing version for https://github.com/embrace-io/KSCrash.git
Computed https://github.com/embrace-io/KSCrash.git at 2.0.6 (0.57s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.42s)
Computing version for https://github.com/groue/GRDB.swift
Computed https://github.com/groue/GRDB.swift at 6.29.3 (0.50s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.44s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.5.0 (0.61s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.28.2 (0.65s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.24.2 (1.06s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/2279] Fetching swift-nio-transport-services
[480/13422] Fetching swift-nio-transport-services, swift-nio-http2
[481/18591] Fetching swift-nio-transport-services, swift-nio-http2, swift-nio-extras
[2284/34066] Fetching swift-nio-transport-services, swift-nio-http2, swift-nio-extras, swift-collections
[11493/47373] Fetching swift-nio-transport-services, swift-nio-http2, swift-nio-extras, swift-collections, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (2.82s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (2.82s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.85s)
Fetched https://github.com/apple/swift-collections.git from cache (3.88s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.90s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.24.1 (0.75s)
Fetching https://github.com/apple/swift-http-types
[1/662] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types from cache (0.31s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.34.1 (0.59s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.91s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.3.1 (3.27s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.29.0 (0.85s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.23.0 (0.49s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.70s)
Fetching https://github.com/apple/swift-system.git
[1/3901] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.46s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.51s)
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.23.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.76.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.34.1
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.5.0
Creating working copy for https://github.com/groue/GRDB.swift
Working copy of https://github.com/groue/GRDB.swift resolved at 6.29.3
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.24.2
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.24.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.29.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.28.2
Creating working copy for https://github.com/embrace-io/KSCrash.git
Working copy of https://github.com/embrace-io/KSCrash.git resolved at 2.0.6
Creating working copy for https://github.com/open-telemetry/opentelemetry-swift
Working copy of https://github.com/open-telemetry/opentelemetry-swift resolved at 1.10.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
[1/1] Compiling plugin GRPCSwiftPlugin
[2/2] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[2/58] Write sources
[3/58] Copying PrivacyInfo.xcprivacy
[3/58] Copying Info.plist
[9/58] Write sources
/host/spi-builder-workspace/Sources/EmbraceObjCUtilsInternal/source/EMBDevice.m:10:9: fatal error: 'mach-o/dyld.h' file not found
#import <mach-o/dyld.h>
^~~~~~~~~~~~~~~
1 error generated.
[13/58] Compiling EMBDevice.m
[13/58] Compiling NSURLSessionTask+Embrace.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/KSCrashRecording.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[13/58] Compiling KSCrashRecording resource_bundle_accessor.m
In file included from /host/spi-builder-workspace/Sources/EmbraceObjCUtilsInternal/source/EMBStackTraceProccessor.m:5:
/host/spi-builder-workspace/Sources/EmbraceObjCUtilsInternal/include/EMBStackTraceProccessor.h:6:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[13/58] Compiling EMBStackTraceProccessor.m
[13/58] Compiling _AtomicsShims.c
In file included from /host/spi-builder-workspace/.build/checkouts/KSCrash/Sources/KSCrashRecording/Monitors/KSCrashSignalInfo.c:9:
/host/spi-builder-workspace/.build/checkouts/KSCrash/Sources/KSCrashRecording/include/KSCrashSignalInfo.h:16:5: error: unknown type name 'uintptr_t'; did you mean '__intptr_t'?
uintptr_t functionPointer;
^~~~~~~~~
__intptr_t
/usr/include/x86_64-linux-gnu/bits/types.h:207:25: note: '__intptr_t' declared here
__STD_TYPE __SWORD_TYPE __intptr_t;
^
[13/58] Compiling KSCrashSignalInfo.c
In file included from /host/spi-builder-workspace/Sources/EmbraceObjCUtilsInternal/source/EMBBinaryImageProvider.m:6:
/host/spi-builder-workspace/Sources/EmbraceObjCUtilsInternal/include/EMBBinaryImageProvider.h:6:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[13/58] Compiling EMBBinaryImageProvider.m
[13/58] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux