Build Information
Failed to build opentelemetry-swift, reference 1.11.0 (8da9ef
), with Swift 5.8 for Linux on 29 Oct 2024 20:24:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.55.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/open-telemetry/opentelemetry-swift.git
Reference: 1.11.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/open-telemetry/opentelemetry-swift
* tag 1.11.0 -> FETCH_HEAD
HEAD is now at 8da9ef4 removed 'v' from version strings (#626)
Cloned https://github.com/open-telemetry/opentelemetry-swift.git
Revision (git rev-parse @):
8da9ef4a380d324235dd9ccd8dbb5735a5943978
SUCCESS checkout https://github.com/open-telemetry/opentelemetry-swift.git at 1.11.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $PWD
https://github.com/open-telemetry/opentelemetry-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.8-latest: Pulling from finestructure/spi-images
Digest: sha256:06f9196eb0a58d9e2ef145681487a05751c13e2e1446f508740719934c63fbe6
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.8-latest
Fetching https://github.com/ashleymills/Reachability.swift
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-log.git
[1/1899] Fetching reachability.swift
[1900/3960] Fetching reachability.swift, swift-metrics
[2539/7609] Fetching reachability.swift, swift-metrics, swift-log
Fetching https://github.com/apple/swift-protobuf.git
Fetched https://github.com/apple/swift-metrics.git (1.28s)
Fetched https://github.com/ashleymills/Reachability.swift (1.28s)
Fetching https://github.com/grpc/grpc-swift.git
Fetched https://github.com/apple/swift-log.git (1.28s)
Fetching https://github.com/apple/swift-nio.git
[1/37827] Fetching swift-protobuf
[3406/85790] Fetching swift-protobuf, grpc-swift
[22382/156770] Fetching swift-protobuf, grpc-swift, swift-nio
Fetched https://github.com/grpc/grpc-swift.git (2.39s)
Fetching https://github.com/undefinedlabs/Thrift-Swift
[86094/108807] Fetching swift-protobuf, swift-nio
[86805/109459] Fetching swift-protobuf, swift-nio, thrift-swift
Fetched https://github.com/undefinedlabs/Thrift-Swift (0.48s)
Fetching https://github.com/undefinedlabs/opentracing-objc
[87273/108807] Fetching swift-protobuf, swift-nio
[88224/109315] Fetching swift-protobuf, swift-nio, opentracing-objc
Fetched https://github.com/undefinedlabs/opentracing-objc (0.54s)
[97451/108807] Fetching swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-protobuf.git (9.73s)
Fetched https://github.com/apple/swift-nio.git (10.24s)
Computing version for https://github.com/undefinedlabs/opentracing-objc
Computed https://github.com/undefinedlabs/opentracing-objc at 0.5.2 (1.61s)
Computing version for https://github.com/undefinedlabs/Thrift-Swift
Computed https://github.com/undefinedlabs/Thrift-Swift at 1.1.2 (2.23s)
Computing version for https://github.com/ashleymills/Reachability.swift
Computed https://github.com/ashleymills/Reachability.swift at 5.2.4 (0.61s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.58s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.5.0 (0.52s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.28.2 (0.57s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.23.1 (0.91s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1569] Fetching swift-atomics
[1570/17044] Fetching swift-atomics, swift-collections
[2344/30339] Fetching swift-atomics, swift-collections, swift-nio-ssl
Fetched https://github.com/apple/swift-atomics.git (1.98s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-collections.git (2.09s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/5061] Fetching swift-nio-extras
[5062/7321] Fetching swift-nio-extras, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-ssl.git (2.74s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-nio-extras.git (0.80s)
Fetched https://github.com/apple/swift-nio-transport-services.git (0.79s)
[1/11004] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git (1.68s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.66s)
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.60s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.86s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.28.0 (0.76s)
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.60s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.75.0 (0.99s)
Fetching https://github.com/apple/swift-system.git
[1/3901] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.47s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.3.2 (0.52s)
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.62s)
Fetching https://github.com/apple/swift-http-types
[1/647] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types (0.31s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.3.0 (0.57s)
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-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/undefinedlabs/Thrift-Swift
Working copy of https://github.com/undefinedlabs/Thrift-Swift resolved at 1.1.2
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/undefinedlabs/opentracing-objc
Working copy of https://github.com/undefinedlabs/opentracing-objc resolved at 0.5.2
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.28.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.75.0
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.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/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-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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.3.2
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/ashleymills/Reachability.swift
Working copy of https://github.com/ashleymills/Reachability.swift resolved at 5.2.4
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/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.23.1
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/Exporters/Persistence/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/Bridges/OTelSwiftLog/README.md
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Examples/OTLP HTTP Exporter/images/prometheus-metrics.png
/host/spi-builder-workspace/Examples/OTLP HTTP Exporter/images/zipkin-spans.png
/host/spi-builder-workspace/Examples/OTLP HTTP Exporter/prometheus.yaml
/host/spi-builder-workspace/Examples/OTLP HTTP Exporter/collector-config.yaml
/host/spi-builder-workspace/Examples/OTLP HTTP Exporter/docker-compose.yaml
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Examples/OTLP Exporter/collector-config.yaml
/host/spi-builder-workspace/Examples/OTLP Exporter/images/zipkin-spans.png
/host/spi-builder-workspace/Examples/OTLP Exporter/docker-compose.yaml
/host/spi-builder-workspace/Examples/OTLP Exporter/prometheus.yaml
/host/spi-builder-workspace/Examples/OTLP Exporter/images/prometheus-metrics.png
[1/1] Compiling plugin GRPCSwiftPlugin
[2/2] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[2/507] Copying PrivacyInfo.xcprivacy
[4/507] Compiling CGRPCZlib empty.c
In file included from /host/spi-builder-workspace/.build/checkouts/opentracing-objc/Pod/Classes/OTTracer.m:1:
/host/spi-builder-workspace/.build/checkouts/opentracing-objc/Pod/Classes/OTTracer.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[5/507] Compiling OTTracer.m
[5/507] Compiling OTReference.m
[5/507] Compiling _AtomicsShims.c
[5/507] Compiling c-atomics.c
[5/507] Compiling a_d2i_fp.c
[5/507] Compiling a_dup.c
[5/507] Compiling c-nioatomics.c
BUILD FAILURE 5.8 linux