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 Linux on 27 Nov 2024 07:58:35 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

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 /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/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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/MaxDesiatov/typology.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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 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-syntax.git
[1/66683] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (4.71s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50000.0 (2.17s)
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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/27] Emitting module SwiftSyntax
[5/30] Compiling SwiftSyntax AbsolutePosition.swift
[6/30] Compiling SwiftSyntax ByteTreeDeserialization.swift
[7/30] Compiling SwiftSyntax Diagnostic.swift
[8/30] Compiling SwiftSyntax DiagnosticConsumer.swift
[9/30] Compiling SwiftSyntax RawSyntax.swift
[10/30] Compiling SwiftSyntax SourceLength.swift
[11/30] Compiling SwiftSyntax SourcePresence.swift
[12/30] Compiling SwiftSyntax SyntaxRewriter.swift
[13/30] Compiling SwiftSyntax TokenKind.swift
[14/30] Compiling SwiftSyntax Trivia.swift
[15/30] Compiling SwiftSyntax SwiftSyntax.swift
[16/30] Compiling SwiftSyntax SwiftcInvocation.swift
[17/30] Compiling SwiftSyntax Syntax.swift
[18/30] Compiling SwiftSyntax SyntaxBuilders.swift
[19/30] Compiling SwiftSyntax SyntaxClassifier.swift
[20/30] Compiling SwiftSyntax SyntaxCollections.swift
[21/30] Compiling SwiftSyntax SyntaxChildren.swift
[22/30] Compiling SwiftSyntax SyntaxData.swift
[23/30] Compiling SwiftSyntax WeakLookupTable.swift
[24/30] Compiling SwiftSyntax DiagnosticEngine.swift
[25/30] Compiling SwiftSyntax JSONDiagnosticConsumer.swift
[26/30] Compiling SwiftSyntax LazyNonThreadSafeCache.swift
[27/30] Compiling SwiftSyntax PrintingDiagnosticConsumer.swift
[28/30] Compiling SwiftSyntax SyntaxFactory.swift
[29/30] Compiling SwiftSyntax SyntaxKind.swift
[30/30] Compiling SwiftSyntax SyntaxNodes.swift
[32/42] Compiling Typology Substitution.swift
[33/42] Compiling Typology Type.swift
[34/43] Compiling Typology Scheme.swift
[35/43] Compiling Typology Solver.swift
/host/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 |
/host/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
/host/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 |
/host/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
[36/43] Compiling Typology ConstraintSystem.swift
/host/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/43] Compiling Typology Protocol.swift
/host/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 }
[38/43] Compiling Typology AST.swift
[39/43] Compiling Typology Expr.swift
[40/43] Emitting module Typology
[41/43] Compiling Typology Literal.swift
[42/43] Compiling Typology SwiftSyntax.swift
[43/43] Compiling Typology TypeError.swift
Build complete! (63.22s)
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" : "/host/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"
}
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.