The Swift Package Index logo.Swift Package Index

Build Information

Successful build of range-source, reference v1.0.0 (fc541d), with Swift 6.3 for macOS (SPM) on 28 Oct 2026 06:08:50 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MediaCacheDev/range-source.git
Reference: v1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MediaCacheDev/range-source
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at fc541d9 CHANGELOG for 1.0.0
Cloned https://github.com/MediaCacheDev/range-source.git
Revision (git rev-parse @):
fc541d915da4385c281f0026d959da99d378cb66
SUCCESS checkout https://github.com/MediaCacheDev/range-source.git at v1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/MediaCacheDev/range-source.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Compiling range_source.cpp
/Users/admin/builder/spi-builder-workspace/ios/Sources/RangeSource/RangeSourceUpstreams.mm:205:33: warning: 'valueForHTTPHeaderField:' is only available on macOS 10.15 or newer [-Wunguarded-availability-new]
  205 |     info.etag = stdString([http valueForHTTPHeaderField:@"ETag"]);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h:172:1: note: 'valueForHTTPHeaderField:' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
  172 | - (nullable NSString *)valueForHTTPHeaderField:(NSString *)field API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0), tvos(13.0));
      | ^
/Users/admin/builder/spi-builder-workspace/ios/Sources/RangeSource/RangeSourceUpstreams.mm:205:33: note: enclose 'valueForHTTPHeaderField:' in an @available check to silence this warning
  205 |     info.etag = stdString([http valueForHTTPHeaderField:@"ETag"]);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/ios/Sources/RangeSource/RangeSourceUpstreams.mm:206:41: warning: 'valueForHTTPHeaderField:' is only available on macOS 10.15 or newer [-Wunguarded-availability-new]
  206 |     info.lastModified = stdString([http valueForHTTPHeaderField:@"Last-Modified"]);
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h:172:1: note: 'valueForHTTPHeaderField:' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
  172 | - (nullable NSString *)valueForHTTPHeaderField:(NSString *)field API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0), tvos(13.0));
      | ^
/Users/admin/builder/spi-builder-workspace/ios/Sources/RangeSource/RangeSourceUpstreams.mm:206:41: note: enclose 'valueForHTTPHeaderField:' in an @available check to silence this warning
  206 |     info.lastModified = stdString([http valueForHTTPHeaderField:@"Last-Modified"]);
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/ios/Sources/RangeSource/RangeSourceUpstreams.mm:207:32: warning: 'valueForHTTPHeaderField:' is only available on macOS 10.15 or newer [-Wunguarded-availability-new]
  207 |     NSString *encoding = [http valueForHTTPHeaderField:@"Content-Encoding"];
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h:172:1: note: 'valueForHTTPHeaderField:' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
  172 | - (nullable NSString *)valueForHTTPHeaderField:(NSString *)field API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0), tvos(13.0));
      | ^
/Users/admin/builder/spi-builder-workspace/ios/Sources/RangeSource/RangeSourceUpstreams.mm:207:32: note: enclose 'valueForHTTPHeaderField:' in an @available check to silence this warning
  207 |     NSString *encoding = [http valueForHTTPHeaderField:@"Content-Encoding"];
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  208 |     if (encoding.length > 0 && [encoding caseInsensitiveCompare:@"identity"] != NSOrderedSame) {
  209 |         // URLSession decodes it, and the offsets would be into the decoded bytes
  210 |         state->pipe->finish(stdString([NSString stringWithFormat:@"%@ came compressed (%@)", response.URL, encoding]));
  211 |         completionHandler(NSURLSessionResponseCancel);
  212 |         return;
  213 |     }
      |
/Users/admin/builder/spi-builder-workspace/ios/Sources/RangeSource/RangeSourceUpstreams.mm:215:36: warning: 'valueForHTTPHeaderField:' is only available on macOS 10.15 or newer [-Wunguarded-availability-new]
  215 |     NSString *contentRange = [http valueForHTTPHeaderField:@"Content-Range"];
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h:172:1: note: 'valueForHTTPHeaderField:' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
  172 | - (nullable NSString *)valueForHTTPHeaderField:(NSString *)field API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0), tvos(13.0));
      | ^
/Users/admin/builder/spi-builder-workspace/ios/Sources/RangeSource/RangeSourceUpstreams.mm:215:36: note: enclose 'valueForHTTPHeaderField:' in an @available check to silence this warning
  215 |     NSString *contentRange = [http valueForHTTPHeaderField:@"Content-Range"];
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 warnings generated.
[1/5] Compiling RangeSource.mm
[1/5] Compiling RangeSourceUpstreams.mm
[3/5] Compiling RangeReader.cpp
[4/5] Compiling Store.cpp
Build complete! (1.72s)
Build complete.
{
  "cxx_language_standard" : "c++17",
  "dependencies" : [
  ],
  "manifest_display_name" : "range-source",
  "name" : "range-source",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "RangeSource",
      "targets" : [
        "RangeSource"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RangeSourceTests",
      "module_type" : "SwiftTarget",
      "name" : "RangeSourceTests",
      "path" : "ios/Tests/RangeSourceTests",
      "sources" : [
        "RangeSourceTests.swift"
      ],
      "target_dependencies" : [
        "RangeSource"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RangeSource",
      "module_type" : "ClangTarget",
      "name" : "RangeSource",
      "path" : ".",
      "product_memberships" : [
        "RangeSource"
      ],
      "sources" : [
        "ios/Sources/RangeSource/RangeSource.mm",
        "ios/Sources/RangeSource/RangeSourceUpstreams.mm",
        "native/src/RangeReader.cpp",
        "native/src/Store.cpp",
        "native/src/range_source.cpp"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.