The Swift Package Index logo.Swift Package Index

Build Information

Successful build of DeepSeekKit, reference master (4d5758), with Swift 6.1 for Linux on 13 Jul 2025 11:14:59 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/guitaripod/DeepSeekKit.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/guitaripod/DeepSeekKit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4d5758f Update GitHub username from marcusziade to guitaripod
Cloned https://github.com/guitaripod/DeepSeekKit.git
Revision (git rev-parse @):
4d5758f6a3c4e724eaa83dab8d91ef579d9a3bb3
SUCCESS checkout https://github.com/guitaripod/DeepSeekKit.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/guitaripod/DeepSeekKit.git
https://github.com/guitaripod/DeepSeekKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "DeepSeekKit",
  "name" : "DeepSeekKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "DeepSeekKit",
      "targets" : [
        "DeepSeekKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "deepseek-cli",
      "targets" : [
        "DeepSeekCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DeepSeekKitTests",
      "module_type" : "SwiftTarget",
      "name" : "DeepSeekKitTests",
      "path" : "Tests/DeepSeekKitTests",
      "sources" : [
        "Builders/FunctionBuilderTests.swift",
        "Errors/DeepSeekErrorTests.swift",
        "Models/ChatCompletionRequestTests.swift",
        "Models/ChatMessageTests.swift",
        "Models/CompletionRequestTests.swift",
        "Models/ResponseTests.swift",
        "Models/ToolTests.swift",
        "Networking/RequestBuilderTests.swift"
      ],
      "target_dependencies" : [
        "DeepSeekKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DeepSeekKit",
      "module_type" : "SwiftTarget",
      "name" : "DeepSeekKit",
      "path" : "Sources/DeepSeekKit",
      "product_memberships" : [
        "DeepSeekKit",
        "deepseek-cli"
      ],
      "sources" : [
        "Core/BalanceServiceProtocol.swift",
        "Core/ChatServiceProtocol.swift",
        "Core/DeepSeekProtocol.swift",
        "Core/ModelServiceProtocol.swift",
        "Core/NetworkingProtocol.swift",
        "DeepSeekClient.swift",
        "DeepSeekKit.swift",
        "Errors/DeepSeekError.swift",
        "Extensions/ChatMessage+Convenience.swift",
        "Extensions/FunctionBuilder.swift",
        "Models/BalanceResponse.swift",
        "Models/ChatCompletionChunk.swift",
        "Models/ChatCompletionRequest.swift",
        "Models/ChatCompletionResponse.swift",
        "Models/ChatMessage.swift",
        "Models/CompletionRequest.swift",
        "Models/CompletionResponse.swift",
        "Models/Model.swift",
        "Models/Tool.swift",
        "Networking/RequestBuilder.swift",
        "Networking/URLSessionNetworking.swift",
        "Services/BalanceService.swift",
        "Services/ChatService.swift",
        "Services/ModelService.swift",
        "Streaming/CURLStreamingHandler.swift",
        "Streaming/StreamingHandler.swift",
        "Streaming/URLSessionStreamingHandler.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DeepSeekCLI",
      "module_type" : "SwiftTarget",
      "name" : "DeepSeekCLI",
      "path" : "Sources/DeepSeekCLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "deepseek-cli"
      ],
      "sources" : [
        "Commands/Balance.swift",
        "Commands/Chat.swift",
        "Commands/Complete.swift",
        "Commands/FunctionCall.swift",
        "Commands/JSONMode.swift",
        "Commands/Models.swift",
        "Commands/Reasoning.swift",
        "Commands/Stream.swift",
        "DeepSeekCLI.swift",
        "TestAll.swift"
      ],
      "target_dependencies" : [
        "DeepSeekKit"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser
[1/2094] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.41s)
[1/15524] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.93s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (3.83s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3425] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.55s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.51s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.65s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/15] Write sources
[8/15] Write swift-version-24593BA9C3E375BF.txt
[10/42] Emitting module DeepSeekKit
/host/spi-builder-workspace/Sources/DeepSeekKit/Models/Tool.swift:70:16: warning: stored property 'parameters' of 'Sendable'-conforming struct 'FunctionDefinition' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
 68 |
 69 |     /// The parameters schema in JSON Schema format. Defines the structure and validation rules for function parameters.
 70 |     public let parameters: [String: Any]
    |                `- warning: stored property 'parameters' of 'Sendable'-conforming struct 'FunctionDefinition' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
 71 |
 72 |     /// Creates a new function definition.
[11/45] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/45] Emitting module ArgumentParserToolInfo
[13/46] Wrapping AST for ArgumentParserToolInfo for debugging
[15/90] Emitting module ArgumentParser
[16/96] Compiling ArgumentParser InputKey.swift
[17/96] Compiling ArgumentParser InputOrigin.swift
[18/96] Compiling ArgumentParser Name.swift
[19/96] Compiling ArgumentParser Parsed.swift
[20/96] Compiling ArgumentParser ParsedValues.swift
[21/96] Compiling ArgumentParser ParserError.swift
[22/96] Compiling ArgumentParser EnumerableFlag.swift
[23/96] Compiling ArgumentParser ExpressibleByArgument.swift
[24/96] Compiling ArgumentParser ArgumentVisibility.swift
[26/96] Compiling ArgumentParser ParsableArguments.swift
[27/96] Compiling ArgumentParser ParsableCommand.swift
[28/96] Compiling ArgumentParser CollectionExtensions.swift
[29/96] Compiling ArgumentParser Mutex.swift
[30/96] Compiling ArgumentParser Platform.swift
[31/96] Compiling ArgumentParser SequenceExtensions.swift
[32/96] Compiling ArgumentParser StringExtensions.swift
[33/96] Compiling ArgumentParser SwiftExtensions.swift
[34/96] Compiling ArgumentParser OptionGroup.swift
[35/96] Compiling ArgumentParser AsyncParsableCommand.swift
[36/96] Compiling ArgumentParser CommandConfiguration.swift
[37/96] Compiling ArgumentParser CommandGroup.swift
[41/96] Compiling ArgumentParser NameSpecification.swift
[42/96] Compiling ArgumentParser Option.swift
[43/96] Compiling ArgumentParser BashCompletionsGenerator.swift
[44/96] Compiling ArgumentParser CompletionsGenerator.swift
[45/96] Compiling ArgumentParser FishCompletionsGenerator.swift
[46/96] Compiling ArgumentParser ZshCompletionsGenerator.swift
[47/96] Compiling ArgumentParser Argument.swift
[48/96] Compiling ArgumentParser ArgumentDiscussion.swift
[49/96] Compiling ArgumentParser CompletionKind.swift
[50/96] Compiling ArgumentParser Errors.swift
[51/96] Compiling ArgumentParser Flag.swift
[52/96] Compiling ArgumentParser ArgumentHelp.swift
/host/spi-builder-workspace/Sources/DeepSeekKit/Models/Tool.swift:70:16: warning: stored property 'parameters' of 'Sendable'-conforming struct 'FunctionDefinition' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
 68 |
 69 |     /// The parameters schema in JSON Schema format. Defines the structure and validation rules for function parameters.
 70 |     public let parameters: [String: Any]
    |                `- warning: stored property 'parameters' of 'Sendable'-conforming struct 'FunctionDefinition' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
 71 |
 72 |     /// Creates a new function definition.
/host/spi-builder-workspace/Sources/DeepSeekKit/Models/Tool.swift:70:16: warning: stored property 'parameters' of 'Sendable'-conforming struct 'FunctionDefinition' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
 68 |
 69 |     /// The parameters schema in JSON Schema format. Defines the structure and validation rules for function parameters.
 70 |     public let parameters: [String: Any]
    |                `- warning: stored property 'parameters' of 'Sendable'-conforming struct 'FunctionDefinition' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
 71 |
 72 |     /// Creates a new function definition.
/host/spi-builder-workspace/Sources/DeepSeekKit/Models/Tool.swift:70:16: warning: stored property 'parameters' of 'Sendable'-conforming struct 'FunctionDefinition' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
 68 |
 69 |     /// The parameters schema in JSON Schema format. Defines the structure and validation rules for function parameters.
 70 |     public let parameters: [String: Any]
    |                `- warning: stored property 'parameters' of 'Sendable'-conforming struct 'FunctionDefinition' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
 71 |
 72 |     /// Creates a new function definition.
[56/97] Compiling ArgumentParser Tree.swift
[57/97] Compiling ArgumentParser CodingKeyValidator.swift
[58/97] Compiling ArgumentParser NonsenseFlagsValidator.swift
[59/97] Compiling ArgumentParser ParsableArgumentsValidation.swift
[60/97] Compiling ArgumentParser PositionalArgumentsValidator.swift
[61/97] Compiling ArgumentParser UniqueNamesValidator.swift
[61/97] Wrapping AST for DeepSeekKit for debugging
[63/97] Compiling ArgumentParser SplitArguments.swift
[64/97] Compiling ArgumentParser DumpHelpGenerator.swift
[65/97] Compiling ArgumentParser HelpCommand.swift
[66/97] Compiling ArgumentParser HelpGenerator.swift
[67/97] Compiling ArgumentParser MessageInfo.swift
[68/97] Compiling ArgumentParser UsageGenerator.swift
[77/97] Compiling ArgumentParser ArgumentDecoder.swift
[78/97] Compiling ArgumentParser ArgumentDefinition.swift
[79/97] Compiling ArgumentParser ArgumentSet.swift
[80/97] Compiling ArgumentParser CommandParser.swift
[94/98] Wrapping AST for ArgumentParser for debugging
[96/108] Compiling DeepSeekCLI DeepSeekCLI.swift
[97/109] Compiling DeepSeekCLI Stream.swift
/host/spi-builder-workspace/Sources/DeepSeekCLI/Commands/Stream.swift:61:32: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
59 |                         responseContent += content
60 |                         print(content, terminator: "")
61 |                         fflush(stdout)
   |                                `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 |                     }
63 |
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/DeepSeekCLI/Commands/Stream.swift:68:36: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
66 |                         if showReasoning {
67 |                             print("[R: \(reasoning)]", terminator: "")
68 |                             fflush(stdout)
   |                                    `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
69 |                         }
70 |                     }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
[98/109] Compiling DeepSeekCLI Reasoning.swift
/host/spi-builder-workspace/Sources/DeepSeekCLI/Commands/Reasoning.swift:63:36: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 61 |                         if !hideReasoning {
 62 |                             print(content, terminator: "")
 63 |                             fflush(stdout)
    |                                    `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 64 |                         }
 65 |                     }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
[99/109] Compiling DeepSeekCLI Models.swift
[100/109] Compiling DeepSeekCLI JSONMode.swift
[101/109] Compiling DeepSeekCLI Balance.swift
[102/109] Compiling DeepSeekCLI Chat.swift
[103/109] Emitting module DeepSeekCLI
[104/109] Compiling DeepSeekCLI Complete.swift
[105/109] Compiling DeepSeekCLI FunctionCall.swift
[106/109] Compiling DeepSeekCLI TestAll.swift
[107/110] Wrapping AST for DeepSeekCLI for debugging
[108/110] Write Objects.LinkFileList
[109/110] Linking deepseek-cli
Build complete! (48.45s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "DeepSeekKit",
  "name" : "DeepSeekKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "DeepSeekKit",
      "targets" : [
        "DeepSeekKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "deepseek-cli",
      "targets" : [
        "DeepSeekCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DeepSeekKitTests",
      "module_type" : "SwiftTarget",
      "name" : "DeepSeekKitTests",
      "path" : "Tests/DeepSeekKitTests",
      "sources" : [
        "Builders/FunctionBuilderTests.swift",
        "Errors/DeepSeekErrorTests.swift",
        "Models/ChatCompletionRequestTests.swift",
        "Models/ChatMessageTests.swift",
        "Models/CompletionRequestTests.swift",
        "Models/ResponseTests.swift",
        "Models/ToolTests.swift",
        "Networking/RequestBuilderTests.swift"
      ],
      "target_dependencies" : [
        "DeepSeekKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DeepSeekKit",
      "module_type" : "SwiftTarget",
      "name" : "DeepSeekKit",
      "path" : "Sources/DeepSeekKit",
      "product_memberships" : [
        "DeepSeekKit",
        "deepseek-cli"
      ],
      "sources" : [
        "Core/BalanceServiceProtocol.swift",
        "Core/ChatServiceProtocol.swift",
        "Core/DeepSeekProtocol.swift",
        "Core/ModelServiceProtocol.swift",
        "Core/NetworkingProtocol.swift",
        "DeepSeekClient.swift",
        "DeepSeekKit.swift",
        "Errors/DeepSeekError.swift",
        "Extensions/ChatMessage+Convenience.swift",
        "Extensions/FunctionBuilder.swift",
        "Models/BalanceResponse.swift",
        "Models/ChatCompletionChunk.swift",
        "Models/ChatCompletionRequest.swift",
        "Models/ChatCompletionResponse.swift",
        "Models/ChatMessage.swift",
        "Models/CompletionRequest.swift",
        "Models/CompletionResponse.swift",
        "Models/Model.swift",
        "Models/Tool.swift",
        "Networking/RequestBuilder.swift",
        "Networking/URLSessionNetworking.swift",
        "Services/BalanceService.swift",
        "Services/ChatService.swift",
        "Services/ModelService.swift",
        "Streaming/CURLStreamingHandler.swift",
        "Streaming/StreamingHandler.swift",
        "Streaming/URLSessionStreamingHandler.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DeepSeekCLI",
      "module_type" : "SwiftTarget",
      "name" : "DeepSeekCLI",
      "path" : "Sources/DeepSeekCLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "deepseek-cli"
      ],
      "sources" : [
        "Commands/Balance.swift",
        "Commands/Chat.swift",
        "Commands/Complete.swift",
        "Commands/FunctionCall.swift",
        "Commands/JSONMode.swift",
        "Commands/Models.swift",
        "Commands/Reasoning.swift",
        "Commands/Stream.swift",
        "DeepSeekCLI.swift",
        "TestAll.swift"
      ],
      "target_dependencies" : [
        "DeepSeekKit"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.9"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.