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 swift-rational, reference master (89bce1), with Swift 6.0 for Linux on 4 Nov 2024 05:23:25 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/abdel-17/swift-rational.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/abdel-17/swift-rational
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 89bce18 Merge pull request #4 from maartene/master
Cloned https://github.com/abdel-17/swift-rational.git
Revision (git rev-parse @):
89bce18053c8e71c80210ac6cbc3289950e6b771
SUCCESS checkout https://github.com/abdel-17/swift-rational.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/abdel-17/swift-rational.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-format.git
Fetching https://github.com/apple/swift-numerics
[1/10220] Fetching swift-format
[3578/15796] Fetching swift-format, swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.45s)
Fetched https://github.com/apple/swift-format.git from cache (1.05s)
Computing version for https://github.com/apple/swift-format.git
Computed https://github.com/apple/swift-format.git at 509.0.0 (2.64s)
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-markdown.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/6278] Fetching swift-markdown
[6279/18631] Fetching swift-markdown, swift-argument-parser
[18632/85030] Fetching swift-markdown, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.82s)
[7606/72677] Fetching swift-markdown, swift-syntax
Fetched https://github.com/apple/swift-markdown.git from cache (4.84s)
Fetched https://github.com/apple/swift-syntax.git from cache (4.90s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.54s)
Computing version for https://github.com/apple/swift-markdown.git
Computed https://github.com/apple/swift-markdown.git at 0.5.0 (1.20s)
Fetching https://github.com/apple/swift-cmark.git
[1/17873] Fetching swift-cmark
Fetched https://github.com/apple/swift-cmark.git from cache (0.89s)
Computing version for https://github.com/apple/swift-cmark.git
Computed https://github.com/apple/swift-cmark.git at 0.5.0 (0.53s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.72s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.47s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-cmark.git
Working copy of https://github.com/apple/swift-cmark.git resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-format.git
Working copy of https://github.com/apple/swift-format.git resolved at 509.0.0
Creating working copy for https://github.com/apple/swift-markdown.git
Working copy of https://github.com/apple/swift-markdown.git resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
[1/1] Compiling plugin Format Source Code
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin Lint Source Code
Building for debugging...
[3/7] Write sources
[5/7] Compiling _NumericsShims _NumericsShims.c
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/17] Compiling RealModule AlgebraicField.swift
[9/17] Compiling RealModule ApproximateEquality.swift
[10/17] Emitting module RealModule
[11/18] Compiling RealModule Real.swift
[12/18] Compiling RealModule ElementaryFunctions.swift
[13/18] Compiling RealModule Float+Real.swift
[14/18] Compiling RealModule AugmentedArithmetic.swift
[15/18] Compiling RealModule Double+Real.swift
[16/18] Compiling RealModule Float16+Real.swift
[17/18] Compiling RealModule Float80+Real.swift
[18/18] Compiling RealModule RealFunctions.swift
[20/30] Compiling RationalModule Rational+Strideable.swift
[21/31] Compiling RationalModule Rational+ExpressibleByIntegerLiteral.swift
[22/31] Compiling RationalModule Rational+LosslessStringConvertible.swift
[23/31] Compiling RationalModule Rational+CustomStringConvertible.swift
[24/31] Compiling RationalModule Rational+Equatable.swift
[25/31] Compiling RationalModule Rational+SignedNumeric.swift
[26/31] Compiling RationalModule Rational.swift
[27/31] Compiling RationalModule GCD.swift
[28/31] Compiling RationalModule Rational+AdditiveArithmetic.swift
[29/31] Emitting module RationalModule
[30/31] Compiling RationalModule Rational+AlgebraicField.swift
[31/31] Compiling RationalModule Rational+Comparable.swift
Build complete! (29.79s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-format",
      "requirement" : {
        "exact" : [
          "509.0.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-format.git"
    },
    {
      "identity" : "swift-numerics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-numerics"
    }
  ],
  "manifest_display_name" : "swift-rational",
  "name" : "swift-rational",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "RationalModule",
      "targets" : [
        "RationalModule"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RationalModuleTests",
      "module_type" : "SwiftTarget",
      "name" : "RationalModuleTests",
      "path" : "Tests/RationalModuleTests",
      "sources" : [
        "AdditiveArithmaticTests.swift",
        "AlgebraicFieldTests.swift",
        "FractionTests.swift",
        "IntegerLiteralTests.swift",
        "LosslessStringConvertibleTests.swift",
        "RationalTests.swift",
        "SignedNumericTests.swift",
        "StirdeableTests.swift",
        "StringConvertibleTests.swift"
      ],
      "target_dependencies" : [
        "RationalModule"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RationalModule",
      "module_type" : "SwiftTarget",
      "name" : "RationalModule",
      "path" : "Sources/RationalModule",
      "product_dependencies" : [
        "RealModule"
      ],
      "product_memberships" : [
        "RationalModule"
      ],
      "sources" : [
        "GCD.swift",
        "Rational+AdditiveArithmetic.swift",
        "Rational+AlgebraicField.swift",
        "Rational+Comparable.swift",
        "Rational+CustomStringConvertible.swift",
        "Rational+Equatable.swift",
        "Rational+ExpressibleByIntegerLiteral.swift",
        "Rational+LosslessStringConvertible.swift",
        "Rational+SignedNumeric.swift",
        "Rational+Strideable.swift",
        "Rational.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.