The Swift Package Index logo.Swift Package Index

Build Information

Successful build of TimeSeries, reference main (e006fa), with Swift 6.3 for macOS (SPM) on 17 Apr 2026 00:34:35 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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 e006faa Minor tweaks to refence package not library
Cloned https://github.com/SwiftStudies/TimeSeries.git
Revision (git rev-parse @):
e006faaae050fd81c34a68e7a368b0d41effc740
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",
  "traits": [
    "default"
  ],
  "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",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/SwiftStudies/TimeSeries.git
[1/560] Fetching timeseries
Fetched https://github.com/SwiftStudies/TimeSeries.git from cache (0.66s)
Creating working copy for https://github.com/SwiftStudies/TimeSeries.git
Working copy of https://github.com/SwiftStudies/TimeSeries.git resolved at main (e006faa)
warning: '.resolve-product-dependencies': dependency 'timeseries' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/SwiftStudies/TimeSeries.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/21] Compiling TimeSeries SumSamples.swift
[4/21] Compiling TimeSeries Summarizer.swift
[5/21] Compiling TimeSeries MeasureValue.swift
[6/21] Compiling TimeSeries MinMax.swift
[7/21] Compiling TimeSeries Count.swift
[8/21] Compiling TimeSeries CountIf.swift
[9/22] Compiling TimeSeries DataPoint.swift
[10/22] Compiling TimeSeries DataSeries.swift
[11/22] Compiling TimeSeries SeriesGenerator.swift
[12/22] Compiling TimeSeries Average.swift
[13/22] Compiling TimeSeries Dates.swift
[14/22] Compiling TimeSeries Times.swift
[15/22] Compiling TimeSeries EventSeries.swift
[16/22] Compiling TimeSeries Interpolator.swift
[17/22] Emitting module TimeSeries
[18/22] Compiling TimeSeries CalendarGenerator.swift
[19/22] Compiling TimeSeries IntervalGenerator.swift
[20/22] Compiling TimeSeries SampleSeries.swift
[21/22] Compiling TimeSeries Sampleable.swift
[22/22] Compiling TimeSeries TimeSeries.swift
Build complete! (7.01s)
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.3
Target:                   TimeSeries
Extracting symbol information for 'TimeSeries'...
Finished extracting symbol information for 'TimeSeries'. (28.27s)
Building documentation for 'TimeSeries'...
warning: External name 'at' used to document parameter
  --> Sources/TimeSeries/DataSeries/DataSeries.swift:47:15-47:17
45 |     /// - Parameters:
46 |     ///     - point: The value to capture.
47 +     ///     - at: The time the value was observed, as seconds since the reference date.
   |               ╰─suggestion: Replace 'at' with 'time'
48 |     ///
49 |     /// - Throws: ``CaptureError/captureOutOfOrder`` if `time` is before the most recent capture.
warning: External name 'at' used to document parameter
   --> Sources/TimeSeries/Samples/SampleSeries.swift:127:15-127:17
125 |     /// - Parameters:
126 |     ///     - point: The new sample value.
127 +     ///     - at: The time the sample was taken, as seconds since the reference date. Defaults to `Date.now`.
    |               ╰─suggestion: Replace 'at' with 'time'
128 |     ///
129 |     /// - Throws: ``CaptureError/captureOutOfOrder`` if `time` is before the most recent capture.
warning: 'startDate' doesn't exist at '/TimeSeries/WeekSeries/generate()'
  --> Sources/TimeSeries/TimeSeries/Series/CalendarGenerator.swift:58:77-58:86
56 |     }
57 |
58 +     /// Generates 7 consecutive 24-hour periods starting from midnight on ``startDate``.
59 |     public func generate() -> any Sequence<ClosedRange<TimeInterval>> {
60 |         let start = startDate.timeIntervalSinceReferenceDate
warning: 'startDate' doesn't exist at '/TimeSeries/Rolling12MonthsSeries/generate()'
  --> Sources/TimeSeries/TimeSeries/Series/CalendarGenerator.swift:87:80-87:89
85 |     }
86 |
87 +     /// Generates 12 monthly periods starting from the first of the month of ``startDate``.
88 |     public func generate() -> any Sequence<ClosedRange<TimeInterval>> {
89 |         var result : [ClosedRange<TimeInterval>] = []
warning: 'startDate' doesn't exist at '/TimeSeries/MonthSeries/generate()'
   --> Sources/TimeSeries/TimeSeries/Series/CalendarGenerator.swift:120:65-120:74
118 |     }
119 |
120 +     /// Generates one 24-hour period per day for the month of ``startDate``.
121 |     public func generate() -> any Sequence<ClosedRange<TimeInterval>> {
122 |         var result : [ClosedRange<TimeInterval>] = []
warning: 'periodLength' doesn't exist at '/TimeSeries/IntervalGenerator/generate()'
  --> Sources/TimeSeries/TimeSeries/Series/IntervalGenerator.swift:37:54-37:66
35 |     }
36 |
37 +     /// Generates equally spaced periods of length ``periodLength`` covering ``totalDuration``.
38 |     public func generate() -> any Sequence<ClosedRange<TimeInterval>> {
39 |         var result : [ClosedRange<TimeInterval>] = []
warning: 'totalDuration' doesn't exist at '/TimeSeries/IntervalGenerator/generate()'
  --> Sources/TimeSeries/TimeSeries/Series/IntervalGenerator.swift:37:80-37:93
35 |     }
36 |
37 +     /// Generates equally spaced periods of length ``periodLength`` covering ``totalDuration``.
38 |     public func generate() -> any Sequence<ClosedRange<TimeInterval>> {
39 |         var result : [ClosedRange<TimeInterval>] = []
warning: 'condition' doesn't exist at '/TimeSeries/CountIf/summarize(series:for:startingAt:)'
  --> Sources/TimeSeries/TimeSeries/Summarizers/CountIf.swift:33:50-33:59
31 |     }
32 |
33 +     /// Counts data points in the period where ``condition`` returns `true`.
34 |     public func summarize(series: any Series, for period: TimeInterval, startingAt start: TimeInterval) -> DataPoint<Int> {
35 |         return DataPoint<Int>(value: series[dataPointsFrom: start...(start+period)].filter({condition($0.value)}).count, timeInterval: start)
warning: External name 'at' used to document parameter
   --> Sources/TimeSeries/TimeSeries/TimeSeries.swift:118:15-118:17
116 |     /// - Parameters:
117 |     ///     - value: The new value to capture.
118 +     ///     - at: The time the value was observed, as seconds since the reference date. Defaults to `Date.now`.
    |               ╰─suggestion: Replace 'at' with 'time'
119 |     ///
120 |     /// - Throws: ``CaptureError/captureOutOfOrder`` if `time` is before the most recent capture.
warning: 'update()' doesn't exist at '/TimeSeries/TimeSeries/summarize(from:to:with:)'
   --> Sources/TimeSeries/TimeSeries/TimeSeries.swift:144:61-144:69
142 |     /// Generates summary data points for a custom time range using the current ``summarizer``.
143 |     ///
144 +     /// This is the lower-level method used internally by ``update()``. It can also be called
145 |     /// directly to summarize an arbitrary range without changing the stored ``dataPoints``.
146 |     ///
Finished building documentation for 'TimeSeries' (0.43s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/swiftstudies/timeseries/main
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2277] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.16s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (3.47s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.29s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.03s)
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
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.6
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--6988338F2F200930.txt
[6/53] Compiling SymbolKit Identifier.swift
[7/53] Compiling SymbolKit KindIdentifier.swift
[8/53] Compiling SymbolKit Location.swift
[9/53] Compiling SymbolKit Mutability.swift
[10/57] Compiling SymbolKit SemanticVersion.swift
[11/57] Compiling SymbolKit AccessControl.swift
[12/57] Compiling SymbolKit Availability.swift
[13/57] Compiling SymbolKit AvailabilityItem.swift
[14/57] Compiling SymbolKit Domain.swift
[15/57] Compiling SymbolKit DeclarationFragments.swift
[16/57] Compiling SymbolKit Fragment.swift
[17/57] Compiling SymbolKit FragmentKind.swift
[18/57] Compiling SymbolKit FunctionParameter.swift
[19/57] Compiling SymbolKit FunctionSignature.swift
[20/57] Compiling SymbolKit GenericConstraint.swift
[21/57] Compiling SymbolKit GenericParameter.swift
[22/57] Compiling SymbolKit Generics.swift
[23/57] Compiling SymbolKit Namespace.swift
[24/57] Compiling Snippets SnippetParser.swift
[25/57] Emitting module Snippets
[26/57] Compiling Snippets Snippet.swift
[27/57] Compiling SymbolKit Symbol.swift
[28/57] Compiling SymbolKit SymbolKind.swift
[29/57] Compiling SymbolKit SymbolGraph.swift
[30/57] Compiling SymbolKit GraphCollector.swift
[31/57] Compiling SymbolKit Relationship.swift
[32/57] Compiling SymbolKit RelationshipKind.swift
[33/57] Compiling SymbolKit SourceOrigin.swift
[34/57] Compiling SymbolKit GenericConstraints.swift
[35/57] Compiling SymbolKit Swift.swift
[36/57] Compiling SymbolKit Names.swift
[37/57] Compiling SymbolKit SPI.swift
[38/57] Compiling SymbolKit Snippet.swift
[39/57] Compiling SymbolKit Extension.swift
[40/57] Compiling SymbolKit Mixin+Equals.swift
[41/57] Compiling SymbolKit Mixin+Hash.swift
[42/57] Compiling SymbolKit Mixin.swift
[43/57] Compiling SymbolKit LineList.swift
[44/57] Compiling SymbolKit Position.swift
[45/57] Emitting module SymbolKit
[46/57] Compiling SymbolKit SourceRange.swift
[47/57] Compiling SymbolKit Metadata.swift
[48/57] Compiling SymbolKit Module.swift
[49/57] Compiling SymbolKit OperatingSystem.swift
[50/57] Compiling SymbolKit Platform.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] Emitting module snippet_extract
[57/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[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.38s)
Building for debugging...
[0/1] Write swift-version--6988338F2F200930.txt
Build of target: 'TimeSeries' complete! (0.24s)
     416
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: 416
Doc size:   4.0MB
Preparing doc bundle ...
Uploading prod-swiftstudies-timeseries-main-a9ca2460.zip to s3://spi-docs-inbox/prod-swiftstudies-timeseries-main-a9ca2460.zip
Copying... [16%]
Copying... [24%]
Copying... [32%]
Copying... [40%]
Copying... [57%]
Copying... [65%]
Copying... [73%]
Copying... [81%]
Copying... [97%]
Copying... [100%]
Done.