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 Typology, reference 0.0.2 (f41e03), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 08:05:34 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MaxDesiatov/typology.git
Reference: 0.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MaxDesiatov/typology
 * tag               0.0.2      -> FETCH_HEAD
HEAD is now at f41e03f Add named tuple case (#30)
Cloned https://github.com/MaxDesiatov/typology.git
Revision (git rev-parse @):
f41e03ff4927c4014ebd95b4d3077500155ac95a
SUCCESS checkout https://github.com/MaxDesiatov/typology.git at 0.0.2
Fetching https://github.com/apple/swift-syntax.git
[1/66683] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.69s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50000.0 (2.42s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50000.0
========================================
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": "typology",
      "name": "Typology",
      "url": "https://github.com/MaxDesiatov/typology.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/typology",
      "dependencies": [
        {
          "identity": "swift-syntax",
          "name": "SwiftSyntax",
          "url": "https://github.com/apple/swift-syntax.git",
          "version": "0.50000.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/MaxDesiatov/typology.git
[1/1167] Fetching typology
Fetched https://github.com/MaxDesiatov/typology.git from cache (0.86s)
Fetching https://github.com/apple/swift-syntax.git from cache
Fetched https://github.com/apple/swift-syntax.git from cache (0.98s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50000.0 (0.02s)
Creating working copy for https://github.com/MaxDesiatov/typology.git
Working copy of https://github.com/MaxDesiatov/typology.git resolved at 0.0.2 (f41e03f)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50000.0
warning: '.resolve-product-dependencies': dependency 'typology' is not used by any target
Found 1 product dependencies
  - SwiftSyntax
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/MaxDesiatov/typology.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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/28] Compiling SwiftSyntax SourceLength.swift
[5/28] Compiling SwiftSyntax SourcePresence.swift
[6/28] Compiling SwiftSyntax SwiftSyntax.swift
[7/30] Compiling SwiftSyntax DiagnosticConsumer.swift
[8/30] Compiling SwiftSyntax DiagnosticEngine.swift
[9/30] Compiling SwiftSyntax JSONDiagnosticConsumer.swift
[10/30] Compiling SwiftSyntax SwiftcInvocation.swift
[11/30] Compiling SwiftSyntax Syntax.swift
[12/30] Compiling SwiftSyntax SyntaxChildren.swift
[13/30] Emitting module SwiftSyntax
[14/30] Compiling SwiftSyntax TokenKind.swift
[15/30] Compiling SwiftSyntax Trivia.swift
[16/30] Compiling SwiftSyntax SyntaxData.swift
[17/30] Compiling SwiftSyntax WeakLookupTable.swift
[18/30] Compiling SwiftSyntax SyntaxBuilders.swift
[19/30] Compiling SwiftSyntax AbsolutePosition.swift
[20/30] Compiling SwiftSyntax ByteTreeDeserialization.swift
[21/30] Compiling SwiftSyntax Diagnostic.swift
[22/30] Compiling SwiftSyntax SyntaxClassifier.swift
[23/30] Compiling SwiftSyntax SyntaxCollections.swift
[24/30] Compiling SwiftSyntax SyntaxFactory.swift
[25/30] Compiling SwiftSyntax SyntaxKind.swift
[26/30] Compiling SwiftSyntax LazyNonThreadSafeCache.swift
[27/30] Compiling SwiftSyntax PrintingDiagnosticConsumer.swift
[28/30] Compiling SwiftSyntax RawSyntax.swift
[29/30] Compiling SwiftSyntax SyntaxNodes.swift
[30/30] Compiling SwiftSyntax SyntaxRewriter.swift
[31/41] Compiling Typology Substitution.swift
[32/42] Compiling Typology TypeError.swift
[33/42] Compiling Typology Type.swift
[34/42] Compiling Typology Scheme.swift
[35/42] Compiling Typology Protocol.swift
[36/42] Compiling Typology ConstraintSystem.swift
/Users/admin/builder/spi-builder-workspace/Sources/Typology/ConstraintSystem.swift:71:9: warning: variable 'old' was never mutated; consider changing to 'let' constant
 69 |     // preserve old environment to be restored after inference in extended
 70 |     // environment has finished
 71 |     var old = self.environment
    |         `- warning: variable 'old' was never mutated; consider changing to 'let' constant
 72 |
 73 |     defer { self.environment = old }
[37/42] Compiling Typology SwiftSyntax.swift
[38/42] Compiling Typology Literal.swift
[39/42] Compiling Typology AST.swift
[40/42] Compiling Typology Expr.swift
[41/42] Emitting module Typology
[42/42] Compiling Typology Solver.swift
/Users/admin/builder/spi-builder-workspace/Sources/Typology/Solver.swift:126:28: warning: enum case 'constructor' has 2 associated values; matching them as a tuple is deprecated
124 |       return try bind(type: t, to: v)
125 |
126 |     case let (.constructor(a), .constructor(b)) where a == b:
    |                            `- warning: enum case 'constructor' has 2 associated values; matching them as a tuple is deprecated
127 |       return empty
128 |
/Users/admin/builder/spi-builder-workspace/Sources/Typology/Type.swift:88:8: note: 'constructor' declared here
 86 |    in the context of Swift type system.
 87 |    */
 88 |   case constructor(TypeIdentifier, [Type])
    |        `- note: 'constructor' declared here
 89 |
 90 |   /** A free type variable that can be used as a temporary placeholder type
/Users/admin/builder/spi-builder-workspace/Sources/Typology/Solver.swift:126:45: warning: enum case 'constructor' has 2 associated values; matching them as a tuple is deprecated
124 |       return try bind(type: t, to: v)
125 |
126 |     case let (.constructor(a), .constructor(b)) where a == b:
    |                                             `- warning: enum case 'constructor' has 2 associated values; matching them as a tuple is deprecated
127 |       return empty
128 |
/Users/admin/builder/spi-builder-workspace/Sources/Typology/Type.swift:88:8: note: 'constructor' declared here
 86 |    in the context of Swift type system.
 87 |    */
 88 |   case constructor(TypeIdentifier, [Type])
    |        `- note: 'constructor' declared here
 89 |
 90 |   /** A free type variable that can be used as a temporary placeholder type
Build complete! (29.86s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "exact" : [
          "0.50000.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.git"
    }
  ],
  "manifest_display_name" : "Typology",
  "name" : "Typology",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Typology",
      "targets" : [
        "Typology"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TypologyTests",
      "module_type" : "SwiftTarget",
      "name" : "TypologyTests",
      "path" : "Tests/TypologyTests",
      "sources" : [
        "ASTTests.swift",
        "Benchmarks.swift",
        "InferenceTests.swift"
      ],
      "target_dependencies" : [
        "Typology"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Typology",
      "module_type" : "SwiftTarget",
      "name" : "Typology",
      "path" : "Sources/Typology",
      "product_dependencies" : [
        "SwiftSyntax"
      ],
      "product_memberships" : [
        "Typology"
      ],
      "sources" : [
        "AST/AST.swift",
        "AST/Expr.swift",
        "AST/Literal.swift",
        "AST/SwiftSyntax.swift",
        "ConstraintSystem.swift",
        "Protocol.swift",
        "Scheme.swift",
        "Solver.swift",
        "Substitution.swift",
        "Type.swift",
        "TypeError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.