The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-influxdb-telemetry, reference main (9639bc), with Swift 6.1 for Linux on 13 Aug 2025 04:37:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankinsoid/swift-influxdb-telemetry.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/dankinsoid/swift-influxdb-telemetry
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9639bcd writer
Cloned https://github.com/dankinsoid/swift-influxdb-telemetry.git
Revision (git rev-parse @):
9639bcd93a0ee8d5bf82c4794191b712c72055c1
SUCCESS checkout https://github.com/dankinsoid/swift-influxdb-telemetry.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dankinsoid/swift-influxdb-telemetry.git
https://github.com/dankinsoid/swift-influxdb-telemetry.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "influxdb-client-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.7.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/influxdata/influxdb-client-swift.git"
    },
    {
      "identity" : "swift-metrics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.4.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-metrics.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-atomics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-atomics.git"
    },
    {
      "identity" : "swift-analytics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/dankinsoid/swift-analytics.git"
    },
    {
      "identity" : "swift-distributed-tracing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-distributed-tracing.git"
    }
  ],
  "manifest_display_name" : "swift-influxdb-telemetry",
  "name" : "swift-influxdb-telemetry",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "InfluxDBLogs",
      "targets" : [
        "InfluxDBLogs"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "InfluxDBMetrics",
      "targets" : [
        "InfluxDBMetrics"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "InfluxDBAnalytics",
      "targets" : [
        "InfluxDBAnalytics"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "InfluxDBTracing",
      "targets" : [
        "InfluxDBTracing"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftInfluxDBCore",
      "module_type" : "SwiftTarget",
      "name" : "SwiftInfluxDBCore",
      "path" : "Sources/SwiftInfluxDBCore",
      "product_dependencies" : [
        "InfluxDBSwift",
        "Logging"
      ],
      "product_memberships" : [
        "InfluxDBLogs",
        "InfluxDBMetrics",
        "InfluxDBAnalytics",
        "InfluxDBTracing"
      ],
      "sources" : [
        "InfluxDBPointsWriter.swift",
        "IntervalType.swift",
        "LabelsSet.swift",
        "NIOLock.swift",
        "NIOLockedValueBox.swift",
        "SwiftInfluxAPI.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "InfluxDBTracing",
      "module_type" : "SwiftTarget",
      "name" : "InfluxDBTracing",
      "path" : "Sources/InfluxDBTracing",
      "product_dependencies" : [
        "Tracing",
        "Instrumentation"
      ],
      "product_memberships" : [
        "InfluxDBTracing"
      ],
      "sources" : [
        "InfluxDBTracing.swift"
      ],
      "target_dependencies" : [
        "SwiftInfluxDBCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "InfluxDBMetrics",
      "module_type" : "SwiftTarget",
      "name" : "InfluxDBMetrics",
      "path" : "Sources/InfluxDBMetrics",
      "product_dependencies" : [
        "Metrics",
        "Atomics"
      ],
      "product_memberships" : [
        "InfluxDBMetrics"
      ],
      "sources" : [
        "Counter.swift",
        "FloatingCounter.swift",
        "HandlerID.swift",
        "InfluxMetric.swift",
        "InfluxMetricHandler.swift",
        "MetricIdentifyingPolicy.swift",
        "Recorder.swift",
        "SwiftInfluxDBMetrics.swift",
        "Timer.swift"
      ],
      "target_dependencies" : [
        "SwiftInfluxDBCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "InfluxDBLogs",
      "module_type" : "SwiftTarget",
      "name" : "InfluxDBLogs",
      "path" : "Sources/InfluxDBLogs",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "InfluxDBLogs"
      ],
      "sources" : [
        "SwiftInfluxDBLogs.swift"
      ],
      "target_dependencies" : [
        "SwiftInfluxDBCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "InfluxDBAnalytics",
      "module_type" : "SwiftTarget",
      "name" : "InfluxDBAnalytics",
      "path" : "Sources/InfluxDBAnalytics",
      "product_dependencies" : [
        "SwiftAnalytics"
      ],
      "product_memberships" : [
        "InfluxDBAnalytics"
      ],
      "sources" : [
        "SwiftInfluxDBAnalytics.swift"
      ],
      "target_dependencies" : [
        "SwiftInfluxDBCore"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/influxdata/influxdb-client-swift.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/dankinsoid/swift-analytics.git
Fetching https://github.com/apple/swift-distributed-tracing.git
[1/249] Fetching swift-analytics
[250/2468] Fetching swift-analytics, swift-metrics
[472/4276] Fetching swift-analytics, swift-metrics, swift-atomics
[491/9392] Fetching swift-analytics, swift-metrics, swift-atomics, swift-distributed-tracing
[3192/13278] Fetching swift-analytics, swift-metrics, swift-atomics, swift-distributed-tracing, swift-log
[3689/17109] Fetching swift-analytics, swift-metrics, swift-atomics, swift-distributed-tracing, swift-log, influxdb-client-swift
Fetched https://github.com/apple/swift-atomics.git from cache (0.55s)
Fetched https://github.com/dankinsoid/swift-analytics.git from cache (0.58s)
Fetched https://github.com/apple/swift-log.git from cache (0.58s)
Fetched https://github.com/apple/swift-metrics.git from cache (0.58s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.59s)
Fetched https://github.com/influxdata/influxdb-client-swift.git from cache (0.64s)
Computing version for https://github.com/influxdata/influxdb-client-swift.git
Computed https://github.com/influxdata/influxdb-client-swift.git at 1.7.0 (3.12s)
Fetching https://github.com/1024jp/GzipSwift
Fetching https://github.com/yaslab/CSV.swift
[1/1557] Fetching gzipswift
[1558/3390] Fetching gzipswift, csv.swift
Fetched https://github.com/yaslab/CSV.swift from cache (0.25s)
Fetched https://github.com/1024jp/GzipSwift from cache (0.25s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.78s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 5.2.0 (0.61s)
Computing version for https://github.com/yaslab/CSV.swift
Computed https://github.com/yaslab/CSV.swift at 2.5.2 (0.57s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.1 (0.57s)
Fetching https://github.com/apple/swift-service-context.git
[1/1088] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.26s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (0.83s)
Computing version for https://github.com/dankinsoid/swift-analytics.git
Computed https://github.com/dankinsoid/swift-analytics.git at 1.10.1 (0.84s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.72s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.54s)
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.1
Creating working copy for https://github.com/dankinsoid/swift-analytics.git
Working copy of https://github.com/dankinsoid/swift-analytics.git resolved at 1.10.1
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/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 5.2.0
Creating working copy for https://github.com/influxdata/influxdb-client-swift.git
Working copy of https://github.com/influxdata/influxdb-client-swift.git resolved at 1.7.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.3.0
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.2.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.4
Building for debugging...
[0/19] Write sources
[16/19] Compiling system-zlib anchor.c
[17/19] Compiling _AtomicsShims.c
[18/19] Write swift-version-24593BA9C3E375BF.txt
[20/71] Emitting module Gzip
[21/71] Compiling CSV Endian.swift
[22/71] Compiling CSV Legacy.swift
[23/72] Compiling Atomics AtomicMemoryOrderings.swift
[24/72] Compiling Atomics DoubleWord.swift
[25/72] Compiling ServiceContextModule ServiceContextKey.swift
[26/74] Compiling SwiftAnalytics ParametersProvider.swift
[27/74] Compiling SwiftAnalytics ParametersValue+JSONString.swift
[28/74] Compiling SwiftAnalytics Locks.swift
[29/74] Compiling SwiftAnalytics MockAnalyticsHandler.swift
[30/74] Compiling Atomics AtomicReference.swift
[31/74] Emitting module ServiceContextModule
[32/74] Compiling ServiceContextModule ServiceContext.swift
[33/75] Compiling CoreMetrics Metrics.swift
[34/75] Compiling Logging LogHandler.swift
[35/75] Compiling Atomics ManagedAtomic.swift
[36/75] Compiling Atomics ManagedAtomicLazyReference.swift
[37/75] Compiling Atomics UnsafeAtomic.swift
[38/75] Compiling Atomics UnsafeAtomicLazyReference.swift
[40/75] Emitting module Atomics
[41/75] Compiling SwiftAnalytics Analytics.swift
[42/75] Compiling SwiftAnalytics AnalyticsHandler.swift
[43/75] Compiling SwiftAnalytics AnalyticsSystem.swift
[44/75] Compiling SwiftAnalytics AnyCodingKey.swift
[45/75] Compiling SwiftAnalytics MultiplexAnalyticsHandler.swift
[46/75] Compiling SwiftAnalytics NOOPAnalyticsHandler.swift
[47/75] Compiling CSV UnicodeIterator.swift
[48/81] Compiling Atomics IntegerOperations.swift
[49/81] Compiling Atomics Unmanaged extensions.swift
[50/82] Compiling Instrumentation Instrument.swift
[51/82] Compiling Instrumentation NoOpInstrument.swift
[52/82] Emitting module Instrumentation
[54/82] Compiling Instrumentation MultiplexInstrument.swift
[55/82] Compiling Instrumentation InstrumentationSystem.swift
[56/82] Compiling Instrumentation Locks.swift
[57/83] Compiling CoreMetrics Locks.swift
[58/83] Emitting module CoreMetrics
[59/84] Compiling Logging MetadataProvider.swift
[60/84] Compiling Logging Logging.swift
[61/84] Emitting module Logging
[62/84] Compiling Logging Locks.swift
[66/85] Emitting module SwiftAnalytics
[69/86] Compiling SwiftAnalytics ParametersValueEncoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/ParametersValueEncoder.swift:477:29: error: pattern variable binding cannot appear in an expression
475 |             }
476 |
477 |         case let .formatted(formatter):
    |                             `- error: pattern variable binding cannot appear in an expression
478 |             return .string(formatter.string(from: date))
479 |
[70/86] Compiling SwiftAnalytics ParametersValueDecoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/ParametersValueDecoder.swift:716:29: error: pattern variable binding cannot appear in an expression
714 |             }
715 |
716 |         case let .formatted(formatter):
    |                             `- error: pattern variable binding cannot appear in an expression
717 |             guard case let .string(string) = value else {
718 |                 throw DecodingError.typeMismatch(Date.self, DecodingError.Context(
[71/86] Compiling CSV CSVError.swift
[72/86] Emitting module CSV
[73/86] Compiling CSV BinaryReader.swift
[74/86] Compiling CSV CSVReader.swift
[75/86] Compiling CSV CSVWriter.swift
[76/86] Compiling CSV CSVRowDecoder.swift
[79/86] Compiling Gzip Data+Gzip.swift
[82/98] Compiling SwiftAnalytics WithAnalyticsParameters.swift
[89/118] Compiling Tracing InstrumentationSystem+Tracing.swift
[90/118] Emitting module Tracing
[91/118] Emitting module Metrics
[92/118] Compiling Metrics Metrics.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/53] Compiling CSV Legacy.swift
[3/54] Compiling ServiceContextModule ServiceContextKey.swift
[4/54] Compiling CSV Endian.swift
[5/54] Compiling Logging MetadataProvider.swift
[6/54] Emitting module ServiceContextModule
[7/54] Compiling ServiceContextModule ServiceContext.swift
[8/55] Emitting module Gzip
[9/55] Compiling Atomics ManagedAtomic.swift
[10/55] Compiling Atomics ManagedAtomicLazyReference.swift
[11/57] Compiling Atomics UnsafeAtomic.swift
[12/57] Compiling Atomics UnsafeAtomicLazyReference.swift
[13/57] Compiling Logging Locks.swift
[15/57] Compiling CSV UnicodeIterator.swift
[16/57] Compiling Atomics AtomicStorage.swift
[17/57] Compiling Atomics AtomicValue.swift
[18/57] Compiling Atomics AtomicMemoryOrderings.swift
[19/57] Compiling Atomics DoubleWord.swift
[20/57] Emitting module Logging
[21/57] Compiling Atomics AtomicBool.swift
[22/57] Compiling Atomics IntegerConformances.swift
[23/57] Compiling Atomics PointerConformances.swift
[24/57] Compiling Atomics Primitives.native.swift
[25/58] Compiling CSV CSVError.swift
[26/64] Compiling CSV BinaryReader.swift
[27/64] Emitting module CSV
[28/64] Compiling CSV CSVWriter.swift
[29/64] Compiling Atomics AtomicReference.swift
[31/64] Compiling Atomics AtomicInteger.swift
[32/64] Compiling Atomics AtomicOptionalWrappable.swift
[33/64] Compiling SwiftAnalytics ParametersValueEncoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/ParametersValueEncoder.swift:477:29: error: pattern variable binding cannot appear in an expression
475 |             }
476 |
477 |         case let .formatted(formatter):
    |                             `- error: pattern variable binding cannot appear in an expression
478 |             return .string(formatter.string(from: date))
479 |
[34/64] Compiling Instrumentation NoOpInstrument.swift
[35/64] Emitting module Instrumentation
[36/64] Compiling Atomics IntegerOperations.swift
[37/64] Compiling Atomics Unmanaged extensions.swift
[38/64] Compiling Atomics OptionalRawRepresentable.swift
[39/64] Compiling Atomics RawRepresentable.swift
[40/64] Emitting module SwiftAnalytics
[41/64] Compiling Gzip Data+Gzip.swift
[42/64] Compiling Instrumentation MultiplexInstrument.swift
[43/64] Compiling Instrumentation Instrument.swift
[44/65] Compiling SwiftAnalytics WithAnalyticsParameters.swift
[48/65] Compiling Instrumentation InstrumentationSystem.swift
[49/65] Compiling Instrumentation Locks.swift
[50/66] Compiling SwiftAnalytics ParametersValueDecoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/ParametersValueDecoder.swift:716:29: error: pattern variable binding cannot appear in an expression
714 |             }
715 |
716 |         case let .formatted(formatter):
    |                             `- error: pattern variable binding cannot appear in an expression
717 |             guard case let .string(string) = value else {
718 |                 throw DecodingError.typeMismatch(Date.self, DecodingError.Context(
[51/66] Compiling Logging LogHandler.swift
[52/66] Emitting module CoreMetrics
BUILD FAILURE 6.1 linux