The Swift Package Index logo.Swift Package Index

Build Information

Failed to build opentelemetry-swift with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" 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.34.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/open-telemetry/opentelemetry-swift.git
Reference: 1.9.2
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.9.2      -> FETCH_HEAD
HEAD is now at 4eb75bc Update version to 1.9.2 (#531)
Cloned https://github.com/open-telemetry/opentelemetry-swift.git
Revision (git rev-parse @):
4eb75bc8f0d6449bc197637b5c6044b51ab8c4ed
SUCCESS checkout https://github.com/open-telemetry/opentelemetry-swift.git at 1.9.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/open-telemetry/opentelemetry-swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/undefinedlabs/Thrift-Swift
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/652] Fetching thrift-swift
[653/2727] Fetching thrift-swift, swift-nio-transport-services
[2728/12907] Fetching thrift-swift, swift-nio-transport-services, swift-nio-http2
Fetching https://github.com/apple/swift-protobuf.git
Fetched https://github.com/undefinedlabs/Thrift-Swift (0.88s)
Fetched https://github.com/apple/swift-nio-transport-services.git (0.88s)
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-nio-http2.git (0.89s)
Fetching https://github.com/apple/swift-log.git
[1/3173] Fetching swift-log
[795/4736] Fetching swift-log, swift-atomics
Fetched https://github.com/apple/swift-log.git (0.37s)
Fetching https://github.com/apple/swift-metrics.git
Fetched https://github.com/apple/swift-atomics.git (0.39s)
Fetching https://github.com/apple/swift-nio-ssl.git
[1/1935] Fetching swift-metrics
Fetched https://github.com/apple/swift-metrics.git (0.32s)
Fetching https://github.com/grpc/grpc-swift.git
[1/12224] Fetching swift-nio-ssl
[12225/52148] Fetching swift-nio-ssl, grpc-swift
[18613/86773] Fetching swift-nio-ssl, grpc-swift, swift-protobuf
Fetched https://github.com/apple/swift-nio-ssl.git (1.23s)
Fetching https://github.com/apple/swift-nio-extras.git
[19913/74549] Fetching grpc-swift, swift-protobuf
[33998/79370] Fetching grpc-swift, swift-protobuf, swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git (0.36s)
Fetching https://github.com/undefinedlabs/opentracing-objc
[54256/74549] Fetching grpc-swift, swift-protobuf
[64163/75057] Fetching grpc-swift, swift-protobuf, opentracing-objc
Fetched https://github.com/undefinedlabs/opentracing-objc (0.25s)
Fetching https://github.com/apple/swift-collections.git
[64854/74549] Fetching grpc-swift, swift-protobuf
[69703/88294] Fetching grpc-swift, swift-protobuf, swift-collections
Fetched https://github.com/grpc/grpc-swift.git (2.04s)
Fetching https://github.com/apple/swift-nio.git
[38540/48370] Fetching swift-protobuf, swift-collections
[48371/113662] Fetching swift-protobuf, swift-collections, swift-nio
Fetched https://github.com/apple/swift-collections.git (2.50s)
Fetching https://github.com/ashleymills/Reachability.swift
[96000/99917] Fetching swift-protobuf, swift-nio
[99918/101784] Fetching swift-protobuf, swift-nio, reachability.swift
Fetched https://github.com/ashleymills/Reachability.swift (1.57s)
Fetched https://github.com/apple/swift-protobuf.git (6.33s)
Fetched https://github.com/apple/swift-nio.git (3.61s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.2.0 (1.68s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.4 (0.32s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.20.2 (0.34s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.11.0 (0.52s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.43.1 (0.51s)
Computing version for https://github.com/undefinedlabs/Thrift-Swift
Computed https://github.com/undefinedlabs/Thrift-Swift at 1.1.2 (0.37s)
Computing version for https://github.com/undefinedlabs/opentracing-objc
Computed https://github.com/undefinedlabs/opentracing-objc at 0.5.2 (1.07s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.16.1 (0.46s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.19.1 (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.11.3 (0.50s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.23.0 (0.37s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.3 (0.34s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.0.2 (0.32s)
Computing version for https://github.com/ashleymills/Reachability.swift
Computed https://github.com/ashleymills/Reachability.swift at 5.2.1 (0.31s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.43.1
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/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.11.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.19.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-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.11.3
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.4.4
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.20.2
Creating working copy for https://github.com/ashleymills/Reachability.swift
Working copy of https://github.com/ashleymills/Reachability.swift resolved at 5.2.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.16.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.23.0
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.2.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.3
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 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/zipkin-spans.png
    /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/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/images/zipkin-spans.png
    /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/prometheus.yaml
[1/1] Compiling plugin GRPCSwiftPlugin
[2/2] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[2/524] Compiling a_dup.c
[3/524] Compiling a_i2d_fp.c
[4/524] Copying PrivacyInfo.xcprivacy
[5/524] Compiling a_d2i_fp.c
[6/524] Compiling a_gentm.c
[7/524] Compiling a_mbstr.c
[8/524] Compiling a_enum.c
[9/524] Compiling a_int.c
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.
[10/524] Compiling OTReference.m
[10/524] Compiling _AtomicsShims.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/524] Compiling OTTracer.m
[10/524] Compiling CNIOWindows WSAStartup.c
[10/524] Compiling CNIOWindows shim.c
[10/524] Compiling OTGlobal.m
In file included from /host/spi-builder-workspace/.build/checkouts/opentracing-objc/Pod/Classes/OTNoop.m:1:
/host/spi-builder-workspace/.build/checkouts/opentracing-objc/Pod/Classes/OTNoop.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[10/524] Compiling OTNoop.m
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 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/prometheus.yaml
    /host/spi-builder-workspace/Examples/OTLP HTTP Exporter/images/zipkin-spans.png
    /host/spi-builder-workspace/Examples/OTLP HTTP Exporter/docker-compose.yaml
    /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/docker-compose.yaml
    /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/images/prometheus-metrics.png
    /host/spi-builder-workspace/Examples/OTLP Exporter/prometheus.yaml
[0/1] Planning build
[1/1] Compiling plugin GRPCSwiftPlugin
[2/2] Compiling plugin SwiftProtobufPlugin
Building for debugging...
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.
[2/523] Compiling CNIOWindows shim.c
[3/523] Compiling OTReference.m
In file included from /host/spi-builder-workspace/.build/checkouts/opentracing-objc/Pod/Classes/OTGlobal.m:1:
/host/spi-builder-workspace/.build/checkouts/opentracing-objc/Pod/Classes/OTGlobal.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
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.
[3/523] Compiling OTTracer.m
[3/523] Compiling CNIOWindows WSAStartup.c
In file included from /host/spi-builder-workspace/.build/checkouts/opentracing-objc/Pod/Classes/OTNoop.m:1:
/host/spi-builder-workspace/.build/checkouts/opentracing-objc/Pod/Classes/OTNoop.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/523] Compiling OTNoop.m
[3/523] Compiling _AtomicsShims.c
[3/523] Compiling CNIOLinux shim.c
[3/523] Compiling OTGlobal.m
BUILD FAILURE 5.8 linux

Build Machine: Linux 1