Build Information
Failed to build opentelemetry-swift, reference main (60f926
), with Swift 5.8 for Linux on 14 Nov 2024 22:55:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/open-telemetry/opentelemetry-swift.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/open-telemetry/opentelemetry-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 60f9260 Added data compression support for HTTP exporter (#631)
Cloned https://github.com/open-telemetry/opentelemetry-swift.git
Revision (git rev-parse @):
60f92600b052cc39c82415fc05f023c0b3370b98
SUCCESS checkout https://github.com/open-telemetry/opentelemetry-swift.git at main
========================================
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-0":/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:d566266dd4ad92a164016b2b7f1872d3752585be93b4a9fa631006f2c48d84d8
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
[1445/3987] Fetching reachability.swift, swift-metrics
[2109/7677] Fetching reachability.swift, swift-metrics, swift-log
Fetching https://github.com/apple/swift-protobuf.git
Fetched https://github.com/apple/swift-metrics.git (0.90s)
Fetched https://github.com/ashleymills/Reachability.swift (0.91s)
Fetching https://github.com/grpc/grpc-swift.git
Fetched https://github.com/apple/swift-log.git (0.91s)
Fetching https://github.com/apple/swift-nio.git
[1/71498] Fetching swift-nio
[716/109352] Fetching swift-nio, swift-protobuf
[15605/157651] Fetching swift-nio, swift-protobuf, grpc-swift
Fetched https://github.com/grpc/grpc-swift.git (3.76s)
Fetching https://github.com/undefinedlabs/Thrift-Swift
[1/652] Fetching thrift-swift
Fetched https://github.com/undefinedlabs/Thrift-Swift (0.41s)
Fetching https://github.com/undefinedlabs/opentracing-objc
[1/508] Fetching opentracing-objc
Fetched https://github.com/undefinedlabs/opentracing-objc (0.18s)
Fetched https://github.com/apple/swift-nio.git (4.44s)
Fetched https://github.com/apple/swift-protobuf.git (5.33s)
Computing version for https://github.com/undefinedlabs/opentracing-objc
Computed https://github.com/undefinedlabs/opentracing-objc at 0.5.2 (0.98s)
Computing version for https://github.com/undefinedlabs/Thrift-Swift
Computed https://github.com/undefinedlabs/Thrift-Swift at 1.1.2 (1.12s)
Computing version for https://github.com/ashleymills/Reachability.swift
Computed https://github.com/ashleymills/Reachability.swift at 5.2.4 (0.37s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.33s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.5.0 (0.55s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.28.2 (0.46s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.23.1 (0.81s)
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
[4356/30343] Fetching swift-atomics, swift-collections, swift-nio-ssl
Fetched https://github.com/apple/swift-atomics.git (1.31s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-collections.git (1.34s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2271] Fetching swift-nio-transport-services
[433/7425] Fetching swift-nio-transport-services, swift-nio-extras
Fetched https://github.com/apple/swift-nio-ssl.git (1.63s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-nio-transport-services.git (0.31s)
Fetched https://github.com/apple/swift-nio-extras.git (0.42s)
[1/11127] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git (0.85s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.36s)
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.33s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.45s)
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.37s)
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.30s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.75.0 (0.59s)
Fetching https://github.com/apple/swift-system.git
[1/3901] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.38s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.3.2 (0.29s)
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.40s)
Fetching https://github.com/apple/swift-http-types
[1/662] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types (0.21s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.3.1 (0.31s)
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
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-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-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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.3.2
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.5.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-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-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/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-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-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
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/docker-compose.yaml
/host/spi-builder-workspace/Examples/OTLP HTTP Exporter/prometheus.yaml
/host/spi-builder-workspace/Examples/OTLP HTTP Exporter/images/zipkin-spans.png
/host/spi-builder-workspace/Examples/OTLP HTTP Exporter/images/prometheus-metrics.png
/host/spi-builder-workspace/Examples/OTLP HTTP Exporter/collector-config.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/images/prometheus-metrics.png
/host/spi-builder-workspace/Examples/OTLP Exporter/prometheus.yaml
/host/spi-builder-workspace/Examples/OTLP Exporter/collector-config.yaml
/host/spi-builder-workspace/Examples/OTLP Exporter/docker-compose.yaml
/host/spi-builder-workspace/Examples/OTLP Exporter/images/zipkin-spans.png
[1/1] Compiling plugin GRPCSwiftPlugin
[2/2] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[2/509] Compiling a_bool.c
[3/509] Compiling a_dup.c
[4/509] Copying PrivacyInfo.xcprivacy
[6/509] Compiling a_d2i_fp.c
[7/509] Compiling a_bitstr.c
[8/509] Compiling _AtomicsShims.c
[9/509] Compiling a_gentm.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.
[10/509] Compiling a_strnid.c
[11/509] Compiling OTTracer.m
In file included from /host/spi-builder-workspace/.build/checkouts/opentracing-objc/Pod/Classes/OTReference.m:1:
/host/spi-builder-workspace/.build/checkouts/opentracing-objc/Pod/Classes/OTReference.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[11/509] Compiling OTReference.m
[11/509] Compiling CNIOWindows shim.c
[11/509] Compiling OTGlobal.m
[11/509] Compiling c-nioatomics.c
[11/509] Compiling OTNoop.m
BUILD FAILURE 5.8 linux