This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 FitFileParser with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/roznet/FitFileParser.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/roznet/FitFileParser
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c4c1379 Merge pull request #9 from davidfmiller/main
Cloned https://github.com/roznet/FitFileParser.git
Revision (git rev-parse @):
c4c1379393aa4f25ad63733949e009f330a90214
SUCCESS checkout https://github.com/roznet/FitFileParser.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/roznet/FitFileParser.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/9] Write sources
[1/9] Write swift-version-6F35C1178C84523A.txt
[2/9] Compiling FitFileParserObjc fit.m
[3/9] Compiling FitFileParserObjc rzfit_objc_reference_mesg.m
[4/9] Compiling FitFileParserObjc fit_crc.m
[5/9] Compiling FitFileParserObjc fit_convert.m
[6/9] Compiling FitFileParserObjc FitInterpretMesg.m
[7/9] Compiling FitFileParserObjc FitDevDataParser.m
/Users/admin/builder/spi-builder-workspace/Sources/FitFileParserObjc/rzfit_objc_map.m:4770:46: warning: implicit conversion from 'int' to 'FIT_SINT16' (aka 'short') changes value from 32768 to -32768 [-Wconstant-conversion]
 4770 |     case 0: return (FIT_FIELD_INFO){.scale = 32768, .offset = 0, .fit_type = 0, .fit_unit = 1, .fit_flag = 0 }; // fractional_timestamp
      |                                    ~         ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FitFileParserObjc/rzfit_objc_map.m:4772:46: warning: implicit conversion from 'int' to 'FIT_SINT16' (aka 'short') changes value from 32768 to -32768 [-Wconstant-conversion]
 4772 |     case 2: return (FIT_FIELD_INFO){.scale = 32768, .offset = 0, .fit_type = 0, .fit_unit = 1, .fit_flag = 0 }; // fractional_system_timestamp
      |                                    ~         ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FitFileParserObjc/rzfit_objc_map.m:5401:48: warning: implicit conversion from 'int' to 'FIT_SINT16' (aka 'short') changes value from 65536 to 0 [-Wconstant-conversion]
 5401 |     case 168: return (FIT_FIELD_INFO){.scale = 65536, .offset = 0, .fit_type = 0, .fit_unit = 0, .fit_flag = 0 }; // training_load_peak
      |                                      ~         ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FitFileParserObjc/rzfit_objc_map.m:5996:46: warning: implicit conversion from 'int' to 'FIT_SINT16' (aka 'short') changes value from 65535 to -1 [-Wconstant-conversion]
 5996 |     case 5: return (FIT_FIELD_INFO){.scale = 65535, .offset = 0, .fit_type = 0, .fit_unit = 0, .fit_flag = 0 }; // orientation_matrix
      |                                    ~         ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FitFileParserObjc/rzfit_objc_map.m:6748:46: warning: implicit conversion from 'int' to 'FIT_SINT16' (aka 'short') changes value from 32768 to -32768 [-Wconstant-conversion]
 6748 |     case 0: return (FIT_FIELD_INFO){.scale = 32768, .offset = 0, .fit_type = 0, .fit_unit = 1, .fit_flag = 0 }; // fractional_timestamp
      |                                    ~         ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FitFileParserObjc/rzfit_objc_map.m:6807:46: warning: implicit conversion from 'int' to 'FIT_SINT16' (aka 'short') changes value from 32768 to -32768 [-Wconstant-conversion]
 6807 |     case 0: return (FIT_FIELD_INFO){.scale = 32768, .offset = 0, .fit_type = 0, .fit_unit = 1, .fit_flag = 0 }; // fractional_timestamp
      |                                    ~         ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FitFileParserObjc/rzfit_objc_map.m:6818:46: warning: implicit conversion from 'int' to 'FIT_SINT16' (aka 'short') changes value from 32768 to -32768 [-Wconstant-conversion]
 6818 |     case 0: return (FIT_FIELD_INFO){.scale = 32768, .offset = 0, .fit_type = 0, .fit_unit = 1, .fit_flag = 0 }; // fractional_timestamp
      |                                    ~         ^~~~~
7 warnings generated.
[8/9] Compiling FitFileParserObjc rzfit_objc_map.m
[10/15] Emitting module FitFileParser
[11/15] Compiling FitFileParser FitFieldValue.swift
[12/15] Compiling FitFileParser FitMessage.swift
[13/15] Compiling FitFileParser FitFile.swift
[14/15] Compiling FitFileParser rzfit_swift_reverse_map.swift
[15/15] Compiling FitFileParser rzfit_swift_map.swift
Build complete! (29.15s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FitFileParser",
  "name" : "FitFileParser",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "ios",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "FitFileParser",
      "targets" : [
        "FitFileParser"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FitFileParserSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "FitFileParserSwiftTests",
      "path" : "Tests/FitFileParserSwiftTests",
      "sources" : [
        "FitFileParserSwiftTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "FitFileParser"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FitFileParserObjc",
      "module_type" : "ClangTarget",
      "name" : "FitFileParserObjc",
      "path" : "Sources/FitFileParserObjc",
      "product_memberships" : [
        "FitFileParser"
      ],
      "sources" : [
        "FitDevDataParser.m",
        "FitInterpretMesg.m",
        "fit.m",
        "fit_convert.m",
        "fit_crc.m",
        "rzfit_objc_map.m",
        "rzfit_objc_reference_mesg.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FitFileParser",
      "module_type" : "SwiftTarget",
      "name" : "FitFileParser",
      "path" : "Sources/FitFileParser",
      "product_memberships" : [
        "FitFileParser"
      ],
      "sources" : [
        "FitFieldValue.swift",
        "FitFile.swift",
        "FitMessage.swift",
        "rzfit_swift_map.swift",
        "rzfit_swift_reverse_map.swift"
      ],
      "target_dependencies" : [
        "FitFileParserObjc"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.