Build Information
Failed to build influxdb-client-swift, reference 1.7.0 (92ebb7
), with Swift 6.1 for Wasm on 29 May 2025 09:23:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankinsoid/influxdb-client-swift.git
Reference: 1.7.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/dankinsoid/influxdb-client-swift
* tag 1.7.0 -> FETCH_HEAD
HEAD is now at 92ebb73 fix changelog
Cloned https://github.com/dankinsoid/influxdb-client-swift.git
Revision (git rev-parse @):
92ebb73336aef8aaf7f17b77d34715cc2071c50a
SUCCESS checkout https://github.com/dankinsoid/influxdb-client-swift.git at 1.7.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/dankinsoid/influxdb-client-swift.git
https://github.com/dankinsoid/influxdb-client-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "gzipswift",
"requirement" : {
"range" : [
{
"lower_bound" : "5.1.1",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/1024jp/GzipSwift"
},
{
"identity" : "csv.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "2.4.2",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/yaslab/CSV.swift"
},
{
"identity" : "swift-junit",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/allegro/swift-junit.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "influxdb-client-swift",
"name" : "influxdb-client-swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "InfluxDBSwift",
"targets" : [
"InfluxDBSwift"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "InfluxDBSwiftApis",
"targets" : [
"InfluxDBSwiftApis"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "InfluxDBSwiftTests",
"module_type" : "SwiftTarget",
"name" : "InfluxDBSwiftTests",
"path" : "Tests/InfluxDBSwiftTests",
"product_dependencies" : [
"SwiftTestReporter"
],
"sources" : [
"AAJunitReportInitializerTests.swift",
"DeleteAPITests.swift",
"FluxCSVParserTests.swift",
"InfluxDBClientTests.swift",
"IntegrationTests.swift",
"InvokableScriptsAPITests.swift",
"MockHTTP.swift",
"PointSettingsTests.swift",
"PointTests.swift",
"QueryAPITests.swift",
"WriteAPITests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"InfluxDBSwift"
],
"type" : "test"
},
{
"c99name" : "InfluxDBSwiftApisTests",
"module_type" : "SwiftTarget",
"name" : "InfluxDBSwiftApisTests",
"path" : "Tests/InfluxDBSwiftApisTests",
"product_dependencies" : [
"SwiftTestReporter"
],
"sources" : [
"AuthorizationsAPITests.swift",
"BucketsAPITests.swift",
"DBRPsAPITests.swift",
"HealthAPITests.swift",
"InfluxDB2APITests.swift",
"LabelsAPITests.swift",
"OrganizationsAPITests.swift",
"PingAPITests.swift",
"ReadyAPITests.swift",
"ScraperTargetsAPITests.swift",
"SecretsAPITests.swift",
"SetupAPITests.swift",
"SourcesAPITests.swift",
"TasksAPITests.swift",
"UsersAPITests.swift",
"VariablesAPITests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"InfluxDBSwiftApis"
],
"type" : "test"
},
{
"c99name" : "InfluxDBSwiftApis",
"module_type" : "SwiftTarget",
"name" : "InfluxDBSwiftApis",
"path" : "Sources/InfluxDBSwiftApis",
"product_memberships" : [
"InfluxDBSwiftApis"
],
"sources" : [
"Generated/APIs.swift",
"Generated/APIs/AuthorizationsAPI.swift",
"Generated/APIs/BucketsAPI.swift",
"Generated/APIs/DBRPsAPI.swift",
"Generated/APIs/HealthAPI.swift",
"Generated/APIs/LabelsAPI.swift",
"Generated/APIs/OrganizationsAPI.swift",
"Generated/APIs/PingAPI.swift",
"Generated/APIs/ReadyAPI.swift",
"Generated/APIs/ScraperTargetsAPI.swift",
"Generated/APIs/SecretsAPI.swift",
"Generated/APIs/SetupAPI.swift",
"Generated/APIs/SourcesAPI.swift",
"Generated/APIs/TasksAPI.swift",
"Generated/APIs/UsersAPI.swift",
"Generated/APIs/VariablesAPI.swift",
"Generated/Extensions.swift",
"Generated/JSONDataEncoding.swift",
"Generated/JSONEncodingHelper.swift",
"Generated/Models.swift",
"Generated/Models/AddResourceMemberRequestBody.swift",
"Generated/Models/Authorization.swift",
"Generated/Models/AuthorizationLinks.swift",
"Generated/Models/AuthorizationPostRequest.swift",
"Generated/Models/AuthorizationUpdateRequest.swift",
"Generated/Models/Authorizations.swift",
"Generated/Models/Bucket.swift",
"Generated/Models/BucketLinks.swift",
"Generated/Models/Buckets.swift",
"Generated/Models/DBRP.swift",
"Generated/Models/DBRPCreate.swift",
"Generated/Models/DBRPGet.swift",
"Generated/Models/DBRPUpdate.swift",
"Generated/Models/DBRPs.swift",
"Generated/Models/HealthCheck.swift",
"Generated/Models/IsOnboarding.swift",
"Generated/Models/Label.swift",
"Generated/Models/LabelCreateRequest.swift",
"Generated/Models/LabelMapping.swift",
"Generated/Models/LabelResponse.swift",
"Generated/Models/LabelUpdate.swift",
"Generated/Models/LabelsResponse.swift",
"Generated/Models/Links.swift",
"Generated/Models/LogEvent.swift",
"Generated/Models/Logs.swift",
"Generated/Models/OnboardingRequest.swift",
"Generated/Models/OnboardingResponse.swift",
"Generated/Models/Organization.swift",
"Generated/Models/OrganizationLinks.swift",
"Generated/Models/Organizations.swift",
"Generated/Models/PasswordResetBody.swift",
"Generated/Models/PatchBucketRequest.swift",
"Generated/Models/PatchOrganizationRequest.swift",
"Generated/Models/PatchRetentionRule.swift",
"Generated/Models/Permission.swift",
"Generated/Models/PostBucketRequest.swift",
"Generated/Models/PostOrganizationRequest.swift",
"Generated/Models/Ready.swift",
"Generated/Models/Resource.swift",
"Generated/Models/ResourceMember.swift",
"Generated/Models/ResourceMembers.swift",
"Generated/Models/ResourceMembersLinks.swift",
"Generated/Models/ResourceOwner.swift",
"Generated/Models/ResourceOwners.swift",
"Generated/Models/RetentionRule.swift",
"Generated/Models/Run.swift",
"Generated/Models/RunLinks.swift",
"Generated/Models/RunManually.swift",
"Generated/Models/Runs.swift",
"Generated/Models/SchemaType.swift",
"Generated/Models/ScraperTargetRequest.swift",
"Generated/Models/ScraperTargetResponse.swift",
"Generated/Models/ScraperTargetResponseAllOfLinks.swift",
"Generated/Models/ScraperTargetResponses.swift",
"Generated/Models/SecretKeys.swift",
"Generated/Models/SecretKeysResponse.swift",
"Generated/Models/SecretKeysResponseAllOfLinks.swift",
"Generated/Models/Source.swift",
"Generated/Models/SourceLinks.swift",
"Generated/Models/Sources.swift",
"Generated/Models/Task.swift",
"Generated/Models/TaskCreateRequest.swift",
"Generated/Models/TaskLinks.swift",
"Generated/Models/TaskStatusType.swift",
"Generated/Models/TaskUpdateRequest.swift",
"Generated/Models/Tasks.swift",
"Generated/Models/User.swift",
"Generated/Models/UserResponse.swift",
"Generated/Models/UserResponseLinks.swift",
"Generated/Models/Users.swift",
"Generated/Models/Variable.swift",
"Generated/Models/VariableLinks.swift",
"Generated/Models/VariableProperties.swift",
"Generated/Models/Variables.swift",
"Generated/SynchronizedDictionary.swift",
"Generated/URLSessionImplementations.swift",
"InfluxDB2API.swift"
],
"target_dependencies" : [
"InfluxDBSwift"
],
"type" : "library"
},
{
"c99name" : "InfluxDBSwift",
"module_type" : "SwiftTarget",
"name" : "InfluxDBSwift",
"path" : "Sources/InfluxDBSwift",
"product_dependencies" : [
"Gzip",
"CSV",
"Logging"
],
"product_memberships" : [
"InfluxDBSwift",
"InfluxDBSwiftApis"
],
"sources" : [
"DeleteAPI.swift",
"FluxCSVParser.swift",
"Generated/APIHelper.swift",
"Generated/CodableHelper.swift",
"Generated/Cursor.swift",
"Generated/Models/DeletePredicateRequest.swift",
"Generated/Models/Dialect.swift",
"Generated/Models/Query.swift",
"Generated/Models/Script.swift",
"Generated/Models/ScriptCreateRequest.swift",
"Generated/Models/ScriptInvocationParams.swift",
"Generated/Models/ScriptLanguage.swift",
"Generated/Models/ScriptUpdateRequest.swift",
"Generated/Models/Scripts.swift",
"Generated/OpenISO8601DateFormatter.swift",
"InfluxDBClient.swift",
"Internal/LoggingHelper.swift",
"InvokableScriptsAPI.swift",
"Point.swift",
"QueryAPI.swift",
"WriteAPI.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/1024jp/GzipSwift
Fetching https://github.com/allegro/swift-junit.git
Fetching https://github.com/yaslab/CSV.swift
Fetching https://github.com/apple/swift-log.git
[1/1549] Fetching gzipswift
[1550/3382] Fetching gzipswift, csv.swift
[3383/7218] Fetching gzipswift, csv.swift, swift-log
[7219/7453] Fetching gzipswift, csv.swift, swift-log, swift-junit
Fetched https://github.com/allegro/swift-junit.git from cache (0.46s)
Fetched https://github.com/1024jp/GzipSwift from cache (0.46s)
Fetched https://github.com/yaslab/CSV.swift from cache (0.46s)
Fetched https://github.com/apple/swift-log.git from cache (0.48s)
Computing version for https://github.com/allegro/swift-junit.git
Computed https://github.com/allegro/swift-junit.git at 2.1.0 (1.00s)
Fetching https://github.com/alexaubry/HTMLString.git
[1/1631] Fetching htmlstring
Fetched https://github.com/alexaubry/HTMLString.git from cache (0.27s)
Computing version for https://github.com/alexaubry/HTMLString.git
Computed https://github.com/alexaubry/HTMLString.git at 5.0.0 (2.28s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 5.2.0 (0.54s)
Computing version for https://github.com/yaslab/CSV.swift
Computed https://github.com/yaslab/CSV.swift at 2.5.2 (0.86s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.82s)
Creating working copy for https://github.com/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 5.2.0
Creating working copy for https://github.com/allegro/swift-junit.git
Working copy of https://github.com/allegro/swift-junit.git resolved at 2.1.0
Creating working copy for https://github.com/yaslab/CSV.swift
Working copy of https://github.com/yaslab/CSV.swift resolved at 2.5.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.6.3
Creating working copy for https://github.com/alexaubry/HTMLString.git
Working copy of https://github.com/alexaubry/HTMLString.git resolved at 5.0.0
Building for debugging...
[0/7] Write sources
[5/7] Compiling system-zlib anchor.c
[6/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/22] Emitting module Gzip
/host/spi-builder-workspace/.build/checkouts/GzipSwift/Sources/Gzip/Data+Gzip.swift:34:12: error: no such module 'zlib'
32 | import zlibLinux
33 | #else
34 | import zlib
| `- error: no such module 'zlib'
35 | #endif
36 |
[9/22] Compiling Logging LogHandler.swift
[10/22] Compiling CSV Endian.swift
[11/23] Compiling CSV UnicodeIterator.swift
[12/23] Compiling CSV Legacy.swift
[13/23] Emitting module Logging
[14/23] Compiling Logging Locks.swift
[15/23] Compiling Logging MetadataProvider.swift
[16/23] Compiling Logging Logging.swift
[18/24] Compiling Gzip Data+Gzip.swift
/host/spi-builder-workspace/.build/checkouts/GzipSwift/Sources/Gzip/Data+Gzip.swift:34:12: error: no such module 'zlib'
32 | import zlibLinux
33 | #else
34 | import zlib
| `- error: no such module 'zlib'
35 | #endif
36 |
[19/24] Emitting module CSV
[20/24] Compiling CSV BinaryReader.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/16] Compiling CSV Legacy.swift
[3/17] Compiling Logging MetadataProvider.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/17] Emitting module Gzip
/host/spi-builder-workspace/.build/checkouts/GzipSwift/Sources/Gzip/Data+Gzip.swift:34:12: error: no such module 'zlib'
32 | import zlibLinux
33 | #else
34 | import zlib
| `- error: no such module 'zlib'
35 | #endif
36 |
[5/17] Compiling Gzip Data+Gzip.swift
/host/spi-builder-workspace/.build/checkouts/GzipSwift/Sources/Gzip/Data+Gzip.swift:34:12: error: no such module 'zlib'
32 | import zlibLinux
33 | #else
34 | import zlib
| `- error: no such module 'zlib'
35 | #endif
36 |
[6/17] Compiling CSV Endian.swift
[7/17] Compiling CSV UnicodeIterator.swift
[8/17] Compiling CSV CSVWriter.swift
[9/17] Compiling CSV CSVError.swift
[10/17] Compiling CSV BinaryReader.swift
[11/17] Compiling CSV CSVReader.swift
[12/17] Emitting module CSV
[13/17] Compiling CSV CSVRowDecoder.swift
[15/18] Compiling Logging Locks.swift
[16/18] Compiling Logging LogHandler.swift
[17/18] Emitting module Logging
BUILD FAILURE 6.1 wasm