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 main (dcf752), with Swift 6.0 for macOS (SPM) on 8 Nov 2024 17:52:59 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftStudies/TimeSeries
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at dcf752b Added new sequence generators for generating non regular sequences (such as calendars)
Cloned https://github.com/SwiftStudies/TimeSeries.git
Revision (git rev-parse @):
dcf752b49d84309b3eaadb70cb81536df40994d9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SwiftStudies/TimeSeries.git at main
========================================
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 main (dcf752b)
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/21] Compiling TimeSeries SumSamples.swift
[4/21] Compiling TimeSeries Summarizer.swift
[5/22] Compiling TimeSeries MeasureValue.swift
[6/22] Compiling TimeSeries MinMax.swift
[7/22] Compiling TimeSeries DataPoint.swift
[8/22] Compiling TimeSeries DataSeries.swift
[9/22] Emitting module TimeSeries
[10/22] Compiling TimeSeries Count.swift
[11/22] Compiling TimeSeries CountIf.swift
[12/22] Compiling TimeSeries CalendarGenerator.swift
[13/22] Compiling TimeSeries IntervalGenerator.swift
[14/22] Compiling TimeSeries Dates.swift
[15/22] Compiling TimeSeries Times.swift
[16/22] Compiling TimeSeries SeriesGenerator.swift
[17/22] Compiling TimeSeries Average.swift
[18/22] Compiling TimeSeries SampleSeries.swift
[19/22] Compiling TimeSeries Sampleable.swift
[20/22] Compiling TimeSeries EventSeries.swift
[21/22] Compiling TimeSeries Interpolator.swift
[22/22] Compiling TimeSeries TimeSeries.swift
Build complete! (15.35s)
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",
        "SeriesGeneratorTests.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/Series/CalendarGenerator.swift",
        "TimeSeries/Series/IntervalGenerator.swift",
        "TimeSeries/Series/SeriesGenerator.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/main
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.21s)
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.20s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/swiftstudies/timeseries/main
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.63s)
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.25s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.69s)
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] Compiling Snippets Snippet.swift
[7/53] Compiling Snippets SnippetParser.swift
[8/53] Emitting module Snippets
[9/53] Compiling SymbolKit GenericConstraint.swift
[10/53] Compiling SymbolKit GenericParameter.swift
[11/53] Compiling SymbolKit Generics.swift
[12/53] Compiling SymbolKit Namespace.swift
[13/53] Compiling SymbolKit Names.swift
[14/53] Compiling SymbolKit SPI.swift
[15/53] Compiling SymbolKit Snippet.swift
[16/53] Compiling SymbolKit Extension.swift
[17/57] Emitting module SymbolKit
[18/57] Compiling SymbolKit SourceRange.swift
[19/57] Compiling SymbolKit Metadata.swift
[20/57] Compiling SymbolKit Module.swift
[21/57] Compiling SymbolKit OperatingSystem.swift
[22/57] Compiling SymbolKit Platform.swift
[23/57] Compiling SymbolKit DeclarationFragments.swift
[24/57] Compiling SymbolKit Fragment.swift
[25/57] Compiling SymbolKit FragmentKind.swift
[26/57] Compiling SymbolKit FunctionParameter.swift
[27/57] Compiling SymbolKit FunctionSignature.swift
[28/57] Compiling SymbolKit Identifier.swift
[29/57] Compiling SymbolKit KindIdentifier.swift
[30/57] Compiling SymbolKit Location.swift
[31/57] Compiling SymbolKit Mutability.swift
[32/57] Compiling SymbolKit Mixin+Equals.swift
[33/57] Compiling SymbolKit Mixin+Hash.swift
[34/57] Compiling SymbolKit Mixin.swift
[35/57] Compiling SymbolKit LineList.swift
[36/57] Compiling SymbolKit Position.swift
[37/57] Compiling SymbolKit Relationship.swift
[38/57] Compiling SymbolKit RelationshipKind.swift
[39/57] Compiling SymbolKit SourceOrigin.swift
[40/57] Compiling SymbolKit GenericConstraints.swift
[41/57] Compiling SymbolKit Swift.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 Symbol.swift
[48/57] Compiling SymbolKit SymbolKind.swift
[49/57] Compiling SymbolKit SymbolGraph.swift
[50/57] Compiling SymbolKit GraphCollector.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.46s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/20] Compiling TimeSeries SumSamples.swift
[3/20] Compiling TimeSeries Summarizer.swift
[4/20] Compiling TimeSeries MeasureValue.swift
[5/20] Compiling TimeSeries MinMax.swift
[6/21] Compiling TimeSeries Count.swift
[7/21] Compiling TimeSeries CountIf.swift
[8/21] Compiling TimeSeries CalendarGenerator.swift
[9/21] Compiling TimeSeries IntervalGenerator.swift
[10/21] Compiling TimeSeries SeriesGenerator.swift
[11/21] Compiling TimeSeries Average.swift
[12/21] Compiling TimeSeries SampleSeries.swift
[13/21] Compiling TimeSeries Sampleable.swift
[14/21] Emitting module TimeSeries
[15/21] Compiling TimeSeries Dates.swift
[16/21] Compiling TimeSeries Times.swift
[17/21] Compiling TimeSeries DataPoint.swift
[18/21] Compiling TimeSeries DataSeries.swift
[19/21] Compiling TimeSeries EventSeries.swift
[20/21] Compiling TimeSeries Interpolator.swift
[21/21] Compiling TimeSeries TimeSeries.swift
Build of target: 'TimeSeries' complete! (0.98s)
     414
4	/Users/admin/builder/spi-builder-workspace/.docs/swiftstudies/timeseries/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/swiftstudies/timeseries/main
File count: 414
Doc size:   4.0MB
Preparing doc bundle ...
Uploading prod-swiftstudies-timeseries-main-b77821c6.zip to s3://spi-docs-inbox/prod-swiftstudies-timeseries-main-b77821c6.zip
Copying... [17%]
Copying... [26%]
Copying... [35%]
Copying... [44%]
Copying... [52%]
Copying... [61%]
Copying... [79%]
Copying... [87%]
Copying... [96%]
Copying... [100%]
Done.