The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of TimeSeries, reference 1.0.5 (79bc21), with Swift 6.0 for macOS (SPM) on 8 Nov 2024 17:53:30 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftStudies/TimeSeries.git
Reference: 1.0.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftStudies/TimeSeries
 * tag               1.0.5      -> FETCH_HEAD
HEAD is now at 79bc211 Added new computed properties to DataSeries to get the oldest or newest datapoints
Cloned https://github.com/SwiftStudies/TimeSeries.git
Revision (git rev-parse @):
79bc2111eb97c31654b09230885a7d16a7c1bfd4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SwiftStudies/TimeSeries.git at 1.0.5
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "timeseries",
      "name": "TimeSeries",
      "url": "https://github.com/SwiftStudies/TimeSeries.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TimeSeries",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/SwiftStudies/TimeSeries.git
[1/495] Fetching timeseries
Fetched https://github.com/SwiftStudies/TimeSeries.git from cache (0.81s)
Creating working copy for https://github.com/SwiftStudies/TimeSeries.git
Working copy of https://github.com/SwiftStudies/TimeSeries.git resolved at 1.0.5 (79bc211)
warning: '.resolve-product-dependencies': dependency 'timeseries' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/SwiftStudies/TimeSeries.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/18] Compiling TimeSeries MinMax.swift
[4/19] Compiling TimeSeries SumSamples.swift
[5/19] Compiling TimeSeries Summarizer.swift
[6/19] Compiling TimeSeries CountIf.swift
[7/19] Compiling TimeSeries MeasureValue.swift
[8/19] Compiling TimeSeries DataPoint.swift
[9/19] Compiling TimeSeries DataSeries.swift
[10/19] Compiling TimeSeries EventSeries.swift
[11/19] Compiling TimeSeries Interpolator.swift
[12/19] Compiling TimeSeries Average.swift
[13/19] Compiling TimeSeries Count.swift
[14/19] Compiling TimeSeries Dates.swift
[15/19] Compiling TimeSeries Times.swift
[16/19] Emitting module TimeSeries
[17/19] Compiling TimeSeries SampleSeries.swift
[18/19] Compiling TimeSeries Sampleable.swift
[19/19] Compiling TimeSeries TimeSeries.swift
Build complete! (16.19s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TimeSeries",
  "name" : "TimeSeries",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "TimeSeries",
      "targets" : [
        "TimeSeries"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TimeSeriesTests",
      "module_type" : "SwiftTarget",
      "name" : "TimeSeriesTests",
      "path" : "Tests/TimeSeriesTests",
      "sources" : [
        "DataSeriesTests.swift",
        "DateTests.swift",
        "InterpolatorTests.swift",
        "SampleSeriesTests.swift",
        "SampleTests.swift",
        "SummarizerTests.swift",
        "TimeSeriesTests.swift",
        "ValueTests.swift"
      ],
      "target_dependencies" : [
        "TimeSeries"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TimeSeries",
      "module_type" : "SwiftTarget",
      "name" : "TimeSeries",
      "path" : "Sources/TimeSeries",
      "product_memberships" : [
        "TimeSeries"
      ],
      "sources" : [
        "DataSeries/DataPoint.swift",
        "DataSeries/DataSeries.swift",
        "Date and Time/Dates.swift",
        "Date and Time/Times.swift",
        "Event Series/EventSeries.swift",
        "Samples/Interpolator.swift",
        "Samples/SampleSeries.swift",
        "Samples/Sampleable.swift",
        "TimeSeries/Summarizers/Average.swift",
        "TimeSeries/Summarizers/Count.swift",
        "TimeSeries/Summarizers/CountIf.swift",
        "TimeSeries/Summarizers/MeasureValue.swift",
        "TimeSeries/Summarizers/MinMax.swift",
        "TimeSeries/Summarizers/SumSamples.swift",
        "TimeSeries/Summarizers/Summarizer.swift",
        "TimeSeries/TimeSeries.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/swiftstudies/timeseries/1.0.5
Repository:               SwiftStudies/TimeSeries
Swift version used:       6.0
Target:                   TimeSeries
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
 * branch            88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'TimeSeries'...
Finished extracting symbol information for 'TimeSeries'. (3.34s)
Building documentation for 'TimeSeries'...
warning: External name 'at' used to document parameter
  --> Sources/TimeSeries/DataSeries/DataSeries.swift:34:15-34:17
32 |     /// - Parameters:
33 |     ///     - point: The new sample
34 +     ///     - at: The time the point was captured
   |               ╰─suggestion: Replace 'at' with 'time'
35 |     ///
36 |     /// - Throws: `CaptureError.captureOutOfOrder` if the time is before the most recent capture
warning: Parameter 'interpolator' is missing documentation
  --> Sources/TimeSeries/Samples/SampleSeries.swift:33:121-33:121
31 |     /// - Parameters:
32 |     ///   - defaultValue: The default value to use if no reference points exist, defaults to zero
33 +     ///   - tolerance: The tolerance that must be met before a new data point is stored in the series, defaults to zero.
   |                                                                                                                         ╰─suggestion: Document 'interpolator' parameter
34 |     public init(_ defaultValue: SampleType = SampleType.default, tolerance: SampleType? = nil, interpolatedWith interpolator: any Interpolator<SampleType>){
35 |         self.default = defaultValue
warning: External name 'onOrBefore' used to document parameter
  --> Sources/TimeSeries/Samples/SampleSeries.swift:78:21-78:31
76 |
77 |     /// Returns the sample at the specified time or the first one before it
78 +     /// - Parameter onOrBefore: The time you wish to get the sample, or preceeding sample for
   |                     ╰─suggestion: Replace 'onOrBefore' with 'time'
79 |     /// - Returns: The sample from the exact time, or the proceeding sample. If there are none, it will return `nil`
80 |     public func sample(onOrBefore time: TimeInterval)->DataPoint<DataPointType>?{
warning: Parameter 'value' not found in instance method declaration
   --> Sources/TimeSeries/Samples/SampleSeries.swift:99:13-99:36
97  |     ///
98  |     /// - Parameters:
99  +     ///     - value: The new sample
    |             ╰─suggestion: Remove 'value' parameter documentation
100 |     ///     - at: The time the sample was taken, defaults to the current time
101 |     ///
warning: External name 'at' used to document parameter
   --> Sources/TimeSeries/Samples/SampleSeries.swift:100:15-100:17
98  |     /// - Parameters:
99  |     ///     - value: The new sample
100 +     ///     - at: The time the sample was taken, defaults to the current time
    |               ╰─suggestion: Replace 'at' with 'time'
101 |     ///
102 |     /// - Throws: `SampleError.sampleBeforeEndOfTimeSeries` if the sample is before the most recent sample
warning: Parameter 'point' is missing documentation
   --> Sources/TimeSeries/Samples/SampleSeries.swift:101:9-101:9
99  |     ///     - value: The new sample
100 |     ///     - at: The time the sample was taken, defaults to the current time
101 +     ///
    |         ╰─suggestion: Document 'point' parameter
102 |     /// - Throws: `SampleError.sampleBeforeEndOfTimeSeries` if the sample is before the most recent sample
103 |     public mutating func capture(_ point: SampleType, at time: TimeInterval = Date.now.timeIntervalSinceReferenceDate) throws(CaptureError) {
warning: Parameter 'dataSeries' is missing documentation
  --> Sources/TimeSeries/TimeSeries/TimeSeries.swift:14:67-14:67
12 |     ///   - from: The start point of the generated TimeSeries
13 |     ///   - duration: The `TimeInterval` the time series should cover. If negative the `from` date will be used a to date
14 +     ///   - interval: The period between data points in the series
   |                                                                   ╰─suggestion: Document 'dataSeries' parameter
15 |     init(from:Date, for duration:TimeInterval, every interval:TimeInterval, using dataSeries:any DataSeriesType){
16 |         self.dataSeries = dataSeries
warning: Parameter 'dataSeries' is missing documentation
  --> Sources/TimeSeries/TimeSeries/TimeSeries.swift:63:89-63:89
61 |     ///   - duration: The `TimeInterval` the time series should cover. If negative the `from` date will be used a to date
62 |     ///   - interval: The period between data points in the series
63 +     ///   - summarizer: The summarizer to use when summarizing data in the source series
   |           ╰─suggestion: Document 'dataSeries' parameter
64 |     public init(from:Date, for duration:TimeInterval, every interval:TimeInterval, using dataSeries:any DataSeriesType, summarizer: any Summarizer<DataSeriesPointType, TimeSeriesPointType>){
65 |         self.dataSeries = dataSeries
warning: External name 'at' used to document parameter
  --> Sources/TimeSeries/TimeSeries/TimeSeries.swift:78:15-78:17
76 |     /// - Parameters:
77 |     ///     - value: The new sample
78 +     ///     - at: The time the sample was taken, defaults to the current time
   |               ╰─suggestion: Replace 'at' with 'time'
79 |     ///
80 |     /// - Throws: `SampleError.sampleBeforeEndOfTimeSeries` if the sample is before the most recent sampleFinished building documentation for 'TimeSeries' (0.18s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/swiftstudies/timeseries/1.0.5
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.32s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (2.73s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3168] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.24s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.68s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling Snippets Snippet.swift
[8/57] Compiling Snippets SnippetParser.swift
[9/57] Emitting module Snippets
[10/57] Compiling SymbolKit Mixin+Equals.swift
[11/57] Compiling SymbolKit Mixin+Hash.swift
[12/57] Compiling SymbolKit Mixin.swift
[13/57] Compiling SymbolKit LineList.swift
[14/57] Compiling SymbolKit Position.swift
[15/57] Compiling SymbolKit GenericConstraint.swift
[16/57] Compiling SymbolKit GenericParameter.swift
[17/57] Compiling SymbolKit Generics.swift
[18/57] Compiling SymbolKit Namespace.swift
[19/57] Compiling SymbolKit Relationship.swift
[20/57] Compiling SymbolKit RelationshipKind.swift
[21/57] Compiling SymbolKit SourceOrigin.swift
[22/57] Compiling SymbolKit GenericConstraints.swift
[23/57] Compiling SymbolKit Swift.swift
[24/57] Compiling SymbolKit Symbol.swift
[25/57] Compiling SymbolKit SymbolKind.swift
[26/57] Compiling SymbolKit SymbolGraph.swift
[27/57] Compiling SymbolKit GraphCollector.swift
[28/57] Compiling SymbolKit SourceRange.swift
[29/57] Compiling SymbolKit Metadata.swift
[30/57] Compiling SymbolKit Module.swift
[31/57] Compiling SymbolKit OperatingSystem.swift
[32/57] Compiling SymbolKit Platform.swift
[33/57] Compiling SymbolKit Identifier.swift
[34/57] Compiling SymbolKit KindIdentifier.swift
[35/57] Compiling SymbolKit Location.swift
[36/57] Compiling SymbolKit Mutability.swift
[37/57] Compiling SymbolKit DeclarationFragments.swift
[38/57] Compiling SymbolKit Fragment.swift
[39/57] Compiling SymbolKit FragmentKind.swift
[40/57] Compiling SymbolKit FunctionParameter.swift
[41/57] Compiling SymbolKit FunctionSignature.swift
[42/57] Compiling SymbolKit SemanticVersion.swift
[43/57] Compiling SymbolKit AccessControl.swift
[44/57] Compiling SymbolKit Availability.swift
[45/57] Compiling SymbolKit AvailabilityItem.swift
[46/57] Compiling SymbolKit Domain.swift
[47/57] Compiling SymbolKit Names.swift
[48/57] Compiling SymbolKit SPI.swift
[49/57] Compiling SymbolKit Snippet.swift
[50/57] Compiling SymbolKit Extension.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.54s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/17] Compiling TimeSeries Summarizer.swift
[3/18] Compiling TimeSeries SumSamples.swift
[4/18] Compiling TimeSeries MinMax.swift
[5/18] Compiling TimeSeries CountIf.swift
[6/18] Compiling TimeSeries MeasureValue.swift
[7/18] Compiling TimeSeries Average.swift
[8/18] Compiling TimeSeries Count.swift
[9/18] Emitting module TimeSeries
[10/18] Compiling TimeSeries DataPoint.swift
[11/18] Compiling TimeSeries DataSeries.swift
[12/18] Compiling TimeSeries EventSeries.swift
[13/18] Compiling TimeSeries Interpolator.swift
[14/18] Compiling TimeSeries Dates.swift
[15/18] Compiling TimeSeries Times.swift
[16/18] Compiling TimeSeries SampleSeries.swift
[17/18] Compiling TimeSeries Sampleable.swift
[18/18] Compiling TimeSeries TimeSeries.swift
Build of target: 'TimeSeries' complete! (1.11s)
     384
3	/Users/admin/builder/spi-builder-workspace/.docs/swiftstudies/timeseries/1.0.5
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/swiftstudies/timeseries/1.0.5
File count: 384
Doc size:   3.0MB
Preparing doc bundle ...
Uploading prod-swiftstudies-timeseries-1.0.5-d92cb32e.zip to s3://spi-docs-inbox/prod-swiftstudies-timeseries-1.0.5-d92cb32e.zip
Copying... [18%]
Copying... [28%]
Copying... [37%]
Copying... [46%]
Copying... [55%]
Copying... [64%]
Copying... [73%]
Copying... [83%]
Copying... [92%]
Copying... [100%]
Done.