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 stable-diffusion, reference 1.1.1 (5a170d), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 01:00:53 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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/ml-stable-diffusion.git
Reference: 1.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/apple/ml-stable-diffusion
 * tag               1.1.1      -> FETCH_HEAD
HEAD is now at 5a170d2 Update pull_request_template.md after changing to MIT license
Cloned https://github.com/apple/ml-stable-diffusion.git
Revision (git rev-parse @):
5a170d29cf38e674b80541d7ce22929c6a11cdde
SUCCESS checkout https://github.com/apple/ml-stable-diffusion.git at 1.1.1
Fetching https://github.com/apple/swift-argument-parser.git
[1/12395] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.60s)
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.45s)
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
========================================
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": "ml-stable-diffusion",
      "name": "stable-diffusion",
      "url": "https://github.com/apple/ml-stable-diffusion.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ml-stable-diffusion",
      "dependencies": [
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser.git",
          "version": "1.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/apple/ml-stable-diffusion.git
[1/2088] Fetching ml-stable-diffusion
Fetched https://github.com/apple/ml-stable-diffusion.git from cache (2.04s)
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.56s)
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.03s)
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/ml-stable-diffusion.git
Working copy of https://github.com/apple/ml-stable-diffusion.git resolved at 1.1.1 (5a170d2)
Found 1 product dependencies
  - swift-argument-parser
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/apple/ml-stable-diffusion.git
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    }
  ],
  "manifest_display_name" : "stable-diffusion",
  "name" : "stable-diffusion",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "StableDiffusion",
      "targets" : [
        "StableDiffusion"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "StableDiffusionSample",
      "targets" : [
        "StableDiffusionCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "StableDiffusionTests",
      "module_type" : "SwiftTarget",
      "name" : "StableDiffusionTests",
      "path" : "swift/StableDiffusionTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/swift/StableDiffusionTests/Resources/merges.txt",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/swift/StableDiffusionTests/Resources/vocab.json",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "StableDiffusionTests.swift"
      ],
      "target_dependencies" : [
        "StableDiffusion"
      ],
      "type" : "test"
    },
    {
      "c99name" : "StableDiffusionCLI",
      "module_type" : "SwiftTarget",
      "name" : "StableDiffusionCLI",
      "path" : "swift/StableDiffusionCLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "StableDiffusionSample"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "StableDiffusion"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "StableDiffusion",
      "module_type" : "SwiftTarget",
      "name" : "StableDiffusion",
      "path" : "swift/StableDiffusion",
      "product_memberships" : [
        "StableDiffusion",
        "StableDiffusionSample"
      ],
      "sources" : [
        "pipeline/CGImage+vImage.swift",
        "pipeline/ControlNet.swift",
        "pipeline/DPMSolverMultistepScheduler.swift",
        "pipeline/Decoder.swift",
        "pipeline/Encoder.swift",
        "pipeline/ManagedMLModel.swift",
        "pipeline/MultilingualTextEncoder.swift",
        "pipeline/NumPyRandomSource.swift",
        "pipeline/NvRandomSource.swift",
        "pipeline/RandomSource.swift",
        "pipeline/ResourceManaging.swift",
        "pipeline/SafetyChecker.swift",
        "pipeline/SampleTimer.swift",
        "pipeline/Scheduler.swift",
        "pipeline/StableDiffusionPipeline+Resources.swift",
        "pipeline/StableDiffusionPipeline.Configuration.swift",
        "pipeline/StableDiffusionPipeline.swift",
        "pipeline/StableDiffusionXL+Resources.swift",
        "pipeline/StableDiffusionXLPipeline.swift",
        "pipeline/TextEncoder.swift",
        "pipeline/TextEncoderXL.swift",
        "pipeline/TorchRandomSource.swift",
        "pipeline/Unet.swift",
        "tokenizer/BPETokenizer+Reading.swift",
        "tokenizer/BPETokenizer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/10] Write sources
[5/10] Write StableDiffusionSample-entitlement.plist
[6/10] Write swift-version--7754E27361AE5C74.txt
[8/36] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/36] Emitting module ArgumentParserToolInfo
[10/75] Compiling ArgumentParser CommandConfiguration.swift
[11/75] Compiling ArgumentParser CommandGroup.swift
[12/75] Compiling ArgumentParser EnumerableFlag.swift
[13/75] Compiling ArgumentParser ExpressibleByArgument.swift
[14/79] Compiling ArgumentParser InputOrigin.swift
[15/79] Compiling ArgumentParser Name.swift
[16/79] Compiling ArgumentParser Parsed.swift
[17/79] Compiling ArgumentParser ParsedValues.swift
[18/79] Emitting module StableDiffusion
[19/81] Compiling ArgumentParser NameSpecification.swift
[20/81] Compiling ArgumentParser Option.swift
[21/81] Compiling ArgumentParser OptionGroup.swift
[22/81] Compiling ArgumentParser AsyncParsableCommand.swift
[23/81] Emitting module ArgumentParser
[24/81] Compiling ArgumentParser Platform.swift
[25/81] Compiling ArgumentParser SequenceExtensions.swift
[26/81] Compiling ArgumentParser StringExtensions.swift
[27/81] Compiling ArgumentParser Tree.swift
[28/81] Compiling ArgumentParser ParsableArguments.swift
[29/81] Compiling ArgumentParser ParsableArgumentsValidation.swift
[30/81] Compiling ArgumentParser ParsableCommand.swift
[31/81] Compiling ArgumentParser ArgumentDecoder.swift
[32/81] Compiling ArgumentParser ArgumentHelp.swift
[33/81] Compiling ArgumentParser ArgumentVisibility.swift
[34/81] Compiling ArgumentParser CompletionKind.swift
[35/81] Compiling ArgumentParser Errors.swift
[36/81] Compiling ArgumentParser Flag.swift
[37/81] Compiling ArgumentParser ArgumentDefinition.swift
[38/81] Compiling ArgumentParser ArgumentSet.swift
[39/81] Compiling ArgumentParser CommandParser.swift
[40/81] Compiling ArgumentParser InputKey.swift
[41/81] Compiling ArgumentParser BashCompletionsGenerator.swift
[42/81] Compiling ArgumentParser CompletionsGenerator.swift
[43/81] Compiling ArgumentParser FishCompletionsGenerator.swift
[44/81] Compiling ArgumentParser ZshCompletionsGenerator.swift
[45/81] Compiling ArgumentParser Argument.swift
[46/81] Compiling ArgumentParser ParserError.swift
[47/81] Compiling ArgumentParser SplitArguments.swift
[48/81] Compiling ArgumentParser DumpHelpGenerator.swift
[49/81] Compiling ArgumentParser HelpCommand.swift
[50/81] Compiling StableDiffusion BPETokenizer+Reading.swift
[51/81] Compiling StableDiffusion BPETokenizer.swift
[52/81] Compiling ArgumentParser HelpGenerator.swift
[53/81] Compiling ArgumentParser MessageInfo.swift
[54/81] Compiling ArgumentParser UsageGenerator.swift
[55/81] Compiling ArgumentParser CollectionExtensions.swift
[79/83] Emitting module StableDiffusionCLI
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusionCLI/main.swift:349:1: warning: extension declares a conformance of imported type 'Script' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'StableDiffusion' introduce this conformance in the future
347 |
348 | @available(iOS 16.2, macOS 13.1, *)
349 | extension Script: ExpressibleByArgument {}
    | |- warning: extension declares a conformance of imported type 'Script' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'StableDiffusion' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
350 |
351 | if #available(iOS 16.2, macOS 13.1, *) {
[80/83] Compiling StableDiffusionCLI main.swift
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusionCLI/main.swift:349:1: warning: extension declares a conformance of imported type 'Script' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'StableDiffusion' introduce this conformance in the future
347 |
348 | @available(iOS 16.2, macOS 13.1, *)
349 | extension Script: ExpressibleByArgument {}
    | |- warning: extension declares a conformance of imported type 'Script' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'StableDiffusion' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
350 |
351 | if #available(iOS 16.2, macOS 13.1, *) {
[80/83] Write Objects.LinkFileList
[81/83] Linking StableDiffusionSample
[82/83] Applying StableDiffusionSample
Build complete! (23.23s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    }
  ],
  "manifest_display_name" : "stable-diffusion",
  "name" : "stable-diffusion",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "StableDiffusion",
      "targets" : [
        "StableDiffusion"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "StableDiffusionSample",
      "targets" : [
        "StableDiffusionCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "StableDiffusionTests",
      "module_type" : "SwiftTarget",
      "name" : "StableDiffusionTests",
      "path" : "swift/StableDiffusionTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/swift/StableDiffusionTests/Resources/merges.txt",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/swift/StableDiffusionTests/Resources/vocab.json",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "StableDiffusionTests.swift"
      ],
      "target_dependencies" : [
        "StableDiffusion"
      ],
      "type" : "test"
    },
    {
      "c99name" : "StableDiffusionCLI",
      "module_type" : "SwiftTarget",
      "name" : "StableDiffusionCLI",
      "path" : "swift/StableDiffusionCLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "StableDiffusionSample"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "StableDiffusion"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "StableDiffusion",
      "module_type" : "SwiftTarget",
      "name" : "StableDiffusion",
      "path" : "swift/StableDiffusion",
      "product_memberships" : [
        "StableDiffusion",
        "StableDiffusionSample"
      ],
      "sources" : [
        "pipeline/CGImage+vImage.swift",
        "pipeline/ControlNet.swift",
        "pipeline/DPMSolverMultistepScheduler.swift",
        "pipeline/Decoder.swift",
        "pipeline/Encoder.swift",
        "pipeline/ManagedMLModel.swift",
        "pipeline/MultilingualTextEncoder.swift",
        "pipeline/NumPyRandomSource.swift",
        "pipeline/NvRandomSource.swift",
        "pipeline/RandomSource.swift",
        "pipeline/ResourceManaging.swift",
        "pipeline/SafetyChecker.swift",
        "pipeline/SampleTimer.swift",
        "pipeline/Scheduler.swift",
        "pipeline/StableDiffusionPipeline+Resources.swift",
        "pipeline/StableDiffusionPipeline.Configuration.swift",
        "pipeline/StableDiffusionPipeline.swift",
        "pipeline/StableDiffusionXL+Resources.swift",
        "pipeline/StableDiffusionXLPipeline.swift",
        "pipeline/TextEncoder.swift",
        "pipeline/TextEncoderXL.swift",
        "pipeline/TorchRandomSource.swift",
        "pipeline/Unet.swift",
        "tokenizer/BPETokenizer+Reading.swift",
        "tokenizer/BPETokenizer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.