The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of PLzmaSDK, reference 1.5.0 (d42ec4), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 03:30:03 UTC.

Swift 6 data race errors: 3

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OlehKulykov/PLzmaSDK.git
Reference: 1.5.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/OlehKulykov/PLzmaSDK
 * tag               1.5.0      -> FETCH_HEAD
HEAD is now at d42ec41 Release 1.5.0
Cloned https://github.com/OlehKulykov/PLzmaSDK.git
Revision (git rev-parse @):
d42ec415ffa0fa45bafd09b9e36e7bf8dfc6c136
SUCCESS checkout https://github.com/OlehKulykov/PLzmaSDK.git at 1.5.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/OlehKulykov/PLzmaSDK.git
https://github.com/OlehKulykov/PLzmaSDK.git
{
  "c_language_standard" : "c11",
  "cxx_language_standard" : "c++11",
  "dependencies" : [
  ],
  "manifest_display_name" : "PLzmaSDK",
  "name" : "PLzmaSDK",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PLzmaSDK",
      "targets" : [
        "PLzmaSDK"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PLzmaSDK-Static",
      "targets" : [
        "PLzmaSDK"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "PLzmaSDK-Dynamic",
      "targets" : [
        "PLzmaSDK"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "plzma_test_files",
      "module_type" : "ClangTarget",
      "name" : "plzma_test_files",
      "path" : "test_files",
      "sources" : [
        "file__10_7z.c",
        "file__11_7z.c",
        "file__12_7z.c",
        "file__13_7z.c",
        "file__14_7z.c",
        "file__15_tar.c",
        "file__16_tar_xz.c",
        "file__17_jpg_xz.c",
        "file__18_7z_001.c",
        "file__18_7z_002.c",
        "file__18_7z_003.c",
        "file__1_7z.c",
        "file__2_7z.c",
        "file__3_7z.c",
        "file__4_7z.c",
        "file__5_7z.c",
        "file__6_7z.c",
        "file__7_7z.c",
        "file__8_7z.c",
        "file__9_7z.c",
        "file__munchen_jpg.c",
        "file__names_txt.c",
        "file__shutuptakemoney_jpg.c",
        "file__southpark_jpg.c",
        "file__zombies_jpg.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "libplzma",
      "module_type" : "ClangTarget",
      "name" : "libplzma",
      "path" : "src",
      "product_memberships" : [
        "PLzmaSDK",
        "PLzmaSDK-Static",
        "PLzmaSDK-Dynamic"
      ],
      "sources" : [
        "Asm/arm64/7zAsm.S",
        "Asm/arm64/LzmaDecOpt.S",
        "C/7zCrc.c",
        "C/7zCrcOpt.c",
        "C/7zStream.c",
        "C/Aes.c",
        "C/AesOpt.c",
        "C/Alloc.c",
        "C/Bcj2.c",
        "C/Bcj2Enc.c",
        "C/Bra.c",
        "C/Bra86.c",
        "C/BraIA64.c",
        "C/CpuArch.c",
        "C/Delta.c",
        "C/LzFind.c",
        "C/LzFindMt.c",
        "C/LzFindOpt.c",
        "C/Lzma2Dec.c",
        "C/Lzma2DecMt.c",
        "C/Lzma2Enc.c",
        "C/LzmaDec.c",
        "C/LzmaEnc.c",
        "C/LzmaLib.c",
        "C/MtCoder.c",
        "C/Ppmd7.c",
        "C/Ppmd7Dec.c",
        "C/Ppmd7Enc.c",
        "C/Sha256.c",
        "C/Sha256Opt.c",
        "C/Sort.c",
        "C/SwapBytes.c",
        "C/Threads.c",
        "C/Xz.c",
        "C/XzCrc64.c",
        "C/XzCrc64Opt.c",
        "C/XzDec.c",
        "C/XzEnc.c",
        "C/XzIn.c",
        "CPP/7zip/Archive/7z/7zDecode.cpp",
        "CPP/7zip/Archive/7z/7zEncode.cpp",
        "CPP/7zip/Archive/7z/7zExtract.cpp",
        "CPP/7zip/Archive/7z/7zFolderInStream.cpp",
        "CPP/7zip/Archive/7z/7zHandler.cpp",
        "CPP/7zip/Archive/7z/7zHandlerOut.cpp",
        "CPP/7zip/Archive/7z/7zHeader.cpp",
        "CPP/7zip/Archive/7z/7zIn.cpp",
        "CPP/7zip/Archive/7z/7zOut.cpp",
        "CPP/7zip/Archive/7z/7zProperties.cpp",
        "CPP/7zip/Archive/7z/7zRegister.cpp",
        "CPP/7zip/Archive/7z/7zUpdate.cpp",
        "CPP/7zip/Archive/ArchiveExports.cpp",
        "CPP/7zip/Archive/Common/CoderMixer2.cpp",
        "CPP/7zip/Archive/Common/DummyOutStream.cpp",
        "CPP/7zip/Archive/Common/HandlerOut.cpp",
        "CPP/7zip/Archive/Common/InStreamWithCRC.cpp",
        "CPP/7zip/Archive/Common/ItemNameUtils.cpp",
        "CPP/7zip/Archive/Common/MultiStream.cpp",
        "CPP/7zip/Archive/Common/OutStreamWithCRC.cpp",
        "CPP/7zip/Archive/DllExports2.cpp",
        "CPP/7zip/Archive/LzmaHandler.cpp",
        "CPP/7zip/Archive/SplitHandler.cpp",
        "CPP/7zip/Archive/Tar/TarHandler.cpp",
        "CPP/7zip/Archive/Tar/TarHandlerOut.cpp",
        "CPP/7zip/Archive/Tar/TarHeader.cpp",
        "CPP/7zip/Archive/Tar/TarIn.cpp",
        "CPP/7zip/Archive/Tar/TarOut.cpp",
        "CPP/7zip/Archive/Tar/TarRegister.cpp",
        "CPP/7zip/Archive/Tar/TarUpdate.cpp",
        "CPP/7zip/Archive/XzHandler.cpp",
        "CPP/7zip/Common/CWrappers.cpp",
        "CPP/7zip/Common/CreateCoder.cpp",
        "CPP/7zip/Common/FileStreams.cpp",
        "CPP/7zip/Common/FilterCoder.cpp",
        "CPP/7zip/Common/InBuffer.cpp",
        "CPP/7zip/Common/InOutTempBuffer.cpp",
        "CPP/7zip/Common/LimitedStreams.cpp",
        "CPP/7zip/Common/MethodProps.cpp",
        "CPP/7zip/Common/OffsetStream.cpp",
        "CPP/7zip/Common/OutBuffer.cpp",
        "CPP/7zip/Common/ProgressUtils.cpp",
        "CPP/7zip/Common/PropId.cpp",
        "CPP/7zip/Common/StreamObjects.cpp",
        "CPP/7zip/Common/StreamUtils.cpp",
        "CPP/7zip/Common/UniqBlocks.cpp",
        "CPP/7zip/Common/VirtThread.cpp",
        "CPP/7zip/Compress/Bcj2Coder.cpp",
        "CPP/7zip/Compress/Bcj2Register.cpp",
        "CPP/7zip/Compress/BcjCoder.cpp",
        "CPP/7zip/Compress/BcjRegister.cpp",
        "CPP/7zip/Compress/BranchMisc.cpp",
        "CPP/7zip/Compress/BranchRegister.cpp",
        "CPP/7zip/Compress/ByteSwap.cpp",
        "CPP/7zip/Compress/CodecExports.cpp",
        "CPP/7zip/Compress/CopyCoder.cpp",
        "CPP/7zip/Compress/CopyRegister.cpp",
        "CPP/7zip/Compress/DeltaFilter.cpp",
        "CPP/7zip/Compress/Lzma2Decoder.cpp",
        "CPP/7zip/Compress/Lzma2Encoder.cpp",
        "CPP/7zip/Compress/Lzma2Register.cpp",
        "CPP/7zip/Compress/LzmaDecoder.cpp",
        "CPP/7zip/Compress/LzmaEncoder.cpp",
        "CPP/7zip/Compress/LzmaRegister.cpp",
        "CPP/7zip/Compress/PpmdDecoder.cpp",
        "CPP/7zip/Compress/PpmdEncoder.cpp",
        "CPP/7zip/Compress/PpmdRegister.cpp",
        "CPP/7zip/Compress/XzDecoder.cpp",
        "CPP/7zip/Compress/XzEncoder.cpp",
        "CPP/7zip/Crypto/7zAes.cpp",
        "CPP/7zip/Crypto/7zAesRegister.cpp",
        "CPP/7zip/Crypto/MyAes.cpp",
        "CPP/7zip/Crypto/MyAesReg.cpp",
        "CPP/7zip/Crypto/RandGen.cpp",
        "CPP/Common/CRC.cpp",
        "CPP/Common/CrcReg.cpp",
        "CPP/Common/IntToString.cpp",
        "CPP/Common/MyString.cpp",
        "CPP/Common/MyWindows.cpp",
        "CPP/Common/NewHandler.cpp",
        "CPP/Common/Sha256Reg.cpp",
        "CPP/Common/StringConvert.cpp",
        "CPP/Common/StringToInt.cpp",
        "CPP/Common/UTFConvert.cpp",
        "CPP/Common/Wildcard.cpp",
        "CPP/Common/XzCrc64Reg.cpp",
        "CPP/Windows/FileDir.cpp",
        "CPP/Windows/FileFind.cpp",
        "CPP/Windows/FileIO.cpp",
        "CPP/Windows/FileName.cpp",
        "CPP/Windows/PropVariant.cpp",
        "CPP/Windows/PropVariantConv.cpp",
        "CPP/Windows/System.cpp",
        "CPP/Windows/TimeUtils.cpp",
        "plzma.cpp",
        "plzma_base_callback.cpp",
        "plzma_common.cpp",
        "plzma_decoder_impl.cpp",
        "plzma_encoder_impl.cpp",
        "plzma_exception.cpp",
        "plzma_extract_callback.cpp",
        "plzma_file_utils.cpp",
        "plzma_in_streams.cpp",
        "plzma_item.cpp",
        "plzma_open_callback.cpp",
        "plzma_out_streams.cpp",
        "plzma_path.cpp",
        "plzma_path_utils.cpp",
        "plzma_progress.cpp",
        "plzma_raw_heap_memory.cpp",
        "plzma_string.cpp",
        "plzma_update_callback.cpp"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PLzmaSDKTests",
      "module_type" : "SwiftTarget",
      "name" : "PLzmaSDKTests",
      "path" : "swift_pm_tests",
      "sources" : [
        "LinuxMain.swift",
        "plzmaTests/Compress.swift",
        "plzmaTests/Global.swift",
        "plzmaTests/OpenAndList.swift",
        "plzmaTests/TypesTests.swift",
        "plzmaTests/XCTestManifests.swift",
        "plzmaTests/plzmaTests.swift"
      ],
      "target_dependencies" : [
        "PLzmaSDK",
        "libplzma",
        "plzma_test_files"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PLzmaSDK",
      "module_type" : "SwiftTarget",
      "name" : "PLzmaSDK",
      "path" : "swift",
      "product_memberships" : [
        "PLzmaSDK",
        "PLzmaSDK-Static",
        "PLzmaSDK-Dynamic"
      ],
      "sources" : [
        "Decoder.swift",
        "Encoder.swift",
        "Exception.swift",
        "Global.swift",
        "InStream.swift",
        "Item.swift",
        "ItemArray.swift",
        "ItemOutStreamArray.swift",
        "OutMultiStream.swift",
        "OutStream.swift",
        "Path.swift",
        "String+Plzma.swift",
        "Types.swift"
      ],
      "target_dependencies" : [
        "libplzma"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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/182] Compiling 7zDecode.cpp
[1/182] Compiling 7zEncode.cpp
[2/182] Write swift-version-2F0A5646E1D333AE.txt
[3/182] Compiling plzma_test_files file__southpark_jpg.c
[4/182] Compiling plzma_test_files file__zombies_jpg.c
[5/182] Compiling plzma_test_files file__names_txt.c
[6/182] Compiling plzma_test_files file__shutuptakemoney_jpg.c
[7/182] Compiling plzma_test_files file__munchen_jpg.c
[8/182] Compiling plzma_test_files file__9_7z.c
[9/182] Compiling plzma_test_files file__8_7z.c
[10/182] Compiling XzEnc.c
[11/182] Compiling 7zStream.c
[12/182] Compiling plzma_test_files file__7_7z.c
[13/182] Compiling Bcj2.c
[14/182] Compiling Alloc.c
[15/182] Compiling plzma_test_files file__6_7z.c
[16/182] Compiling plzma_test_files file__5_7z.c
[17/182] Compiling plzma_test_files file__4_7z.c
[18/182] Compiling XzIn.c
[19/182] Compiling plzma_test_files file__18_7z_003.c
[20/182] Compiling plzma_test_files file__3_7z.c
[21/182] Compiling plzma_test_files file__2_7z.c
[22/182] Compiling plzma_test_files file__1_7z.c
[23/182] Compiling AesOpt.c
[24/182] Compiling plzma_test_files file__18_7z_002.c
[25/182] Compiling plzma_test_files file__18_7z_001.c
[26/182] Compiling plzma_test_files file__17_jpg_xz.c
[27/182] Compiling Aes.c
[28/182] Compiling 7zCrcOpt.c
[29/182] Compiling plzma_test_files file__16_tar_xz.c
[30/182] Compiling plzma_test_files file__14_7z.c
[31/182] Compiling plzma_test_files file__15_tar.c
[32/182] Compiling plzma_test_files file__13_7z.c
[33/182] Compiling libplzma plzma_update_callback.cpp
[34/182] Compiling libplzma plzma_raw_heap_memory.cpp
[35/182] Compiling plzma_test_files file__12_7z.c
[36/182] Compiling plzma_test_files file__11_7z.c
[37/182] Compiling libplzma plzma_string.cpp
[38/182] Compiling plzma_test_files file__10_7z.c
[39/182] Compiling libplzma plzma_path_utils.cpp
[40/182] Compiling libplzma plzma_file_utils.cpp
[41/182] Compiling libplzma plzma_item.cpp
[42/182] Compiling libplzma plzma_path.cpp
[43/182] Compiling libplzma plzma_exception.cpp
[44/182] Compiling libplzma plzma_common.cpp
[45/182] Compiling TimeUtils.cpp
[46/182] Compiling System.cpp
[47/182] Compiling PropVariantConv.cpp
[48/182] Compiling PropVariant.cpp
[49/182] Compiling libplzma plzma_progress.cpp
[50/182] Compiling libplzma plzma_open_callback.cpp
[51/182] Compiling libplzma plzma_in_streams.cpp
[51/182] Compiling libplzma plzma_base_callback.cpp
[51/182] Compiling libplzma plzma_extract_callback.cpp
[51/182] Compiling libplzma plzma_decoder_impl.cpp
[51/182] Compiling libplzma plzma.cpp
[51/182] Compiling libplzma plzma_out_streams.cpp
[57/182] Compiling libplzma plzma_encoder_impl.cpp
[58/182] Compiling FileName.cpp
[59/182] Compiling StringToInt.cpp
[60/182] Compiling XzCrc64Reg.cpp
[61/182] Compiling NewHandler.cpp
[62/182] Compiling FileFind.cpp
[63/182] Compiling StringConvert.cpp
[64/182] Compiling FileIO.cpp
[65/182] Compiling UTFConvert.cpp
[66/182] Compiling Sha256Reg.cpp
[67/182] Compiling FileDir.cpp
[68/182] Compiling Wildcard.cpp
[69/182] Compiling MyWindows.cpp
[70/182] Compiling IntToString.cpp
[71/182] Compiling CRC.cpp
[72/182] Compiling RandGen.cpp
[73/182] Compiling CrcReg.cpp
[74/182] Compiling MyAesReg.cpp
[75/182] Compiling MyAes.cpp
[76/182] Compiling 7zAesRegister.cpp
[77/182] Compiling MyString.cpp
[78/182] Compiling 7zAes.cpp
[79/182] Compiling PpmdRegister.cpp
[79/182] Compiling XzDecoder.cpp
[81/182] Compiling XzEncoder.cpp
[82/182] Compiling PpmdEncoder.cpp
[83/182] Compiling PpmdDecoder.cpp
[84/182] Compiling LzmaRegister.cpp
[85/182] Compiling LzmaEncoder.cpp
[86/182] Compiling LzmaDecoder.cpp
[87/182] Compiling Lzma2Register.cpp
[88/182] Compiling Lzma2Encoder.cpp
[89/182] Compiling CopyRegister.cpp
[90/182] Compiling DeltaFilter.cpp
[91/182] Compiling Lzma2Decoder.cpp
[92/182] Compiling CopyCoder.cpp
[93/182] Compiling ByteSwap.cpp
[94/182] Compiling BranchRegister.cpp
[95/182] Compiling CodecExports.cpp
[96/182] Compiling BranchMisc.cpp
[97/182] Compiling BcjRegister.cpp
[98/182] Compiling BcjCoder.cpp
[99/182] Compiling VirtThread.cpp
[100/182] Compiling Bcj2Register.cpp
[101/182] Compiling StreamUtils.cpp
[102/182] Compiling PropId.cpp
[103/182] Compiling UniqBlocks.cpp
[104/182] Compiling Bcj2Coder.cpp
[105/182] Compiling ProgressUtils.cpp
[106/182] Compiling OutBuffer.cpp
[107/182] Compiling StreamObjects.cpp
[107/182] Compiling OffsetStream.cpp
[109/182] Compiling InBuffer.cpp
[110/182] Compiling LimitedStreams.cpp
[111/182] Compiling InOutTempBuffer.cpp
[112/182] Compiling MethodProps.cpp
[113/182] Compiling FilterCoder.cpp
[114/182] Compiling CWrappers.cpp
[115/182] Compiling CreateCoder.cpp
[116/182] Compiling FileStreams.cpp
[117/182] Compiling TarUpdate.cpp
[118/182] Compiling TarHeader.cpp
[119/182] Compiling XzHandler.cpp
[120/182] Compiling TarRegister.cpp
[121/182] Compiling TarOut.cpp
[122/182] Compiling TarIn.cpp
[123/182] Compiling TarHandlerOut.cpp
[124/182] Compiling SplitHandler.cpp
[125/182] Compiling LzmaHandler.cpp
[126/182] Compiling OutStreamWithCRC.cpp
[127/182] Compiling DllExports2.cpp
[128/182] Compiling MultiStream.cpp
[129/182] Compiling TarHandler.cpp
[130/182] Compiling ItemNameUtils.cpp
[131/182] Compiling InStreamWithCRC.cpp
[132/182] Compiling DummyOutStream.cpp
[133/182] Compiling HandlerOut.cpp
[134/182] Compiling ArchiveExports.cpp
[135/182] Compiling 7zHeader.cpp
[136/182] Compiling 7zRegister.cpp
[137/182] Compiling CoderMixer2.cpp
[138/182] Compiling 7zProperties.cpp
[139/182] Compiling 7zOut.cpp
[140/182] Compiling 7zIn.cpp
[141/182] Compiling XzCrc64.c
[142/182] Compiling XzCrc64Opt.c
[143/182] Compiling XzDec.c
[144/182] Compiling 7zHandler.cpp
[145/182] Compiling 7zFolderInStream.cpp
[146/182] Compiling 7zHandlerOut.cpp
[147/182] Compiling Xz.c
[148/182] Compiling 7zUpdate.cpp
[149/182] Compiling 7zExtract.cpp
[150/182] Compiling Threads.c
[151/182] Compiling Sort.c
[152/182] Compiling Sha256.c
[153/182] Compiling Ppmd7Enc.c
[154/182] Compiling Ppmd7Dec.c
[155/182] Compiling MtCoder.c
[156/182] Compiling LzmaLib.c
[157/182] Compiling Ppmd7.c
[158/182] Compiling LzmaDec.c
[159/182] Compiling Lzma2DecMt.c
[160/182] Compiling Lzma2Enc.c
[161/182] Compiling LzFindOpt.c
[162/182] Compiling Lzma2Dec.c
[163/182] Compiling LzmaEnc.c
[164/182] Compiling BraIA64.c
[165/182] Compiling LzFindMt.c
[166/182] Compiling Delta.c
[167/182] Compiling Sha256Opt.c
[168/182] Write sources
[169/182] Compiling CpuArch.c
[170/182] Compiling SwapBytes.c
[171/182] Compiling 7zAsm.S
[172/182] Compiling Bra86.c
[173/182] Compiling Bcj2Enc.c
[174/182] Compiling 7zCrc.c
[175/182] Compiling LzmaDecOpt.S
[176/182] Compiling Bra.c
[177/182] Compiling LzFind.c
[179/195] Compiling PLzmaSDK String+Plzma.swift
[180/196] Compiling PLzmaSDK InStream.swift
[181/196] Compiling PLzmaSDK Item.swift
[182/196] Compiling PLzmaSDK Path.swift
[183/196] Compiling PLzmaSDK ItemOutStreamArray.swift
[184/196] Compiling PLzmaSDK Exception.swift
/Users/admin/builder/spi-builder-workspace/swift/Exception.swift:52:16: warning: stored property 'code' of 'Sendable'-conforming struct 'Exception' has non-sendable type 'ErrorCode'; this is an error in the Swift 6 language mode
50 |
51 |     /// Returns predefined code, type of the exception.
52 |     public let code: ErrorCode
   |                `- warning: stored property 'code' of 'Sendable'-conforming struct 'Exception' has non-sendable type 'ErrorCode'; this is an error in the Swift 6 language mode
53 |
54 |
/Users/admin/builder/spi-builder-workspace/swift/Types.swift:51:13: note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
 49 |
 50 | /// Exception error codes.
 51 | public enum ErrorCode: UInt8, Enum {
    |             `- note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
 52 |
 53 |     public typealias EType = plzma_error_code
[185/196] Compiling PLzmaSDK Global.swift
/Users/admin/builder/spi-builder-workspace/swift/Exception.swift:52:16: warning: stored property 'code' of 'Sendable'-conforming struct 'Exception' has non-sendable type 'ErrorCode'; this is an error in the Swift 6 language mode
50 |
51 |     /// Returns predefined code, type of the exception.
52 |     public let code: ErrorCode
   |                `- warning: stored property 'code' of 'Sendable'-conforming struct 'Exception' has non-sendable type 'ErrorCode'; this is an error in the Swift 6 language mode
53 |
54 |
/Users/admin/builder/spi-builder-workspace/swift/Types.swift:51:13: note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
 49 |
 50 | /// Exception error codes.
 51 | public enum ErrorCode: UInt8, Enum {
    |             `- note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
 52 |
 53 |     public typealias EType = plzma_error_code
[186/196] Emitting module PLzmaSDK
/Users/admin/builder/spi-builder-workspace/swift/Exception.swift:52:16: warning: stored property 'code' of 'Sendable'-conforming struct 'Exception' has non-sendable type 'ErrorCode'; this is an error in the Swift 6 language mode
50 |
51 |     /// Returns predefined code, type of the exception.
52 |     public let code: ErrorCode
   |                `- warning: stored property 'code' of 'Sendable'-conforming struct 'Exception' has non-sendable type 'ErrorCode'; this is an error in the Swift 6 language mode
53 |
54 |
/Users/admin/builder/spi-builder-workspace/swift/Types.swift:51:13: note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
 49 |
 50 | /// Exception error codes.
 51 | public enum ErrorCode: UInt8, Enum {
    |             `- note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
 52 |
 53 |     public typealias EType = plzma_error_code
/Users/admin/builder/spi-builder-workspace/swift/Types.swift:167:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OpenDirMode' may have shared mutable state; this is an error in the Swift 6 language mode
154 | /// The enumeration with bitmask options for opening directory path.
155 | /// Currently uses for defining behavior of directory iteration.
156 | public struct OpenDirMode: OptionSet {
    |               `- note: consider making struct 'OpenDirMode' conform to the 'Sendable' protocol
157 |
158 |     public typealias RawValue = plzma_open_dir_mode_t
    :
165 |
166 |     /// Default behaviour, ignore any options.
167 |     public static let `default` = OpenDirMode([])
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OpenDirMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 |
169 |     /// Follow the symbolic links.
/Users/admin/builder/spi-builder-workspace/swift/Types.swift:170:23: warning: static property 'followSymlinks' is not concurrency-safe because non-'Sendable' type 'OpenDirMode' may have shared mutable state; this is an error in the Swift 6 language mode
154 | /// The enumeration with bitmask options for opening directory path.
155 | /// Currently uses for defining behavior of directory iteration.
156 | public struct OpenDirMode: OptionSet {
    |               `- note: consider making struct 'OpenDirMode' conform to the 'Sendable' protocol
157 |
158 |     public typealias RawValue = plzma_open_dir_mode_t
    :
168 |
169 |     /// Follow the symbolic links.
170 |     public static let followSymlinks = OpenDirMode(rawValue: 1 << 0)
    |                       |- warning: static property 'followSymlinks' is not concurrency-safe because non-'Sendable' type 'OpenDirMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'followSymlinks' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 | }
172 |
[187/196] Compiling PLzmaSDK OutMultiStream.swift
[188/196] Compiling PLzmaSDK OutStream.swift
[189/196] Compiling PLzmaSDK ItemArray.swift
[190/196] Compiling PLzmaSDK Decoder.swift
[191/196] Compiling PLzmaSDK Encoder.swift
[192/196] Compiling PLzmaSDK Types.swift
/Users/admin/builder/spi-builder-workspace/swift/Types.swift:167:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OpenDirMode' may have shared mutable state; this is an error in the Swift 6 language mode
154 | /// The enumeration with bitmask options for opening directory path.
155 | /// Currently uses for defining behavior of directory iteration.
156 | public struct OpenDirMode: OptionSet {
    |               `- note: consider making struct 'OpenDirMode' conform to the 'Sendable' protocol
157 |
158 |     public typealias RawValue = plzma_open_dir_mode_t
    :
165 |
166 |     /// Default behaviour, ignore any options.
167 |     public static let `default` = OpenDirMode([])
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OpenDirMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 |
169 |     /// Follow the symbolic links.
/Users/admin/builder/spi-builder-workspace/swift/Types.swift:170:23: warning: static property 'followSymlinks' is not concurrency-safe because non-'Sendable' type 'OpenDirMode' may have shared mutable state; this is an error in the Swift 6 language mode
154 | /// The enumeration with bitmask options for opening directory path.
155 | /// Currently uses for defining behavior of directory iteration.
156 | public struct OpenDirMode: OptionSet {
    |               `- note: consider making struct 'OpenDirMode' conform to the 'Sendable' protocol
157 |
158 |     public typealias RawValue = plzma_open_dir_mode_t
    :
168 |
169 |     /// Follow the symbolic links.
170 |     public static let followSymlinks = OpenDirMode(rawValue: 1 << 0)
    |                       |- warning: static property 'followSymlinks' is not concurrency-safe because non-'Sendable' type 'OpenDirMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'followSymlinks' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 | }
172 |
[192/196] Write Objects.LinkFileList
[194/196] Archiving libPLzmaSDK-Static.a
[195/196] Linking libPLzmaSDK-Dynamic.dylib
Build complete! (9.29s)
Build complete.
{
  "c_language_standard" : "c11",
  "cxx_language_standard" : "c++11",
  "dependencies" : [
  ],
  "manifest_display_name" : "PLzmaSDK",
  "name" : "PLzmaSDK",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PLzmaSDK",
      "targets" : [
        "PLzmaSDK"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PLzmaSDK-Static",
      "targets" : [
        "PLzmaSDK"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "PLzmaSDK-Dynamic",
      "targets" : [
        "PLzmaSDK"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "plzma_test_files",
      "module_type" : "ClangTarget",
      "name" : "plzma_test_files",
      "path" : "test_files",
      "sources" : [
        "file__10_7z.c",
        "file__11_7z.c",
        "file__12_7z.c",
        "file__13_7z.c",
        "file__14_7z.c",
        "file__15_tar.c",
        "file__16_tar_xz.c",
        "file__17_jpg_xz.c",
        "file__18_7z_001.c",
        "file__18_7z_002.c",
        "file__18_7z_003.c",
        "file__1_7z.c",
        "file__2_7z.c",
        "file__3_7z.c",
        "file__4_7z.c",
        "file__5_7z.c",
        "file__6_7z.c",
        "file__7_7z.c",
        "file__8_7z.c",
        "file__9_7z.c",
        "file__munchen_jpg.c",
        "file__names_txt.c",
        "file__shutuptakemoney_jpg.c",
        "file__southpark_jpg.c",
        "file__zombies_jpg.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "libplzma",
      "module_type" : "ClangTarget",
      "name" : "libplzma",
      "path" : "src",
      "product_memberships" : [
        "PLzmaSDK",
        "PLzmaSDK-Static",
        "PLzmaSDK-Dynamic"
      ],
      "sources" : [
        "Asm/arm64/7zAsm.S",
        "Asm/arm64/LzmaDecOpt.S",
        "C/7zCrc.c",
        "C/7zCrcOpt.c",
        "C/7zStream.c",
        "C/Aes.c",
        "C/AesOpt.c",
        "C/Alloc.c",
        "C/Bcj2.c",
        "C/Bcj2Enc.c",
        "C/Bra.c",
        "C/Bra86.c",
        "C/BraIA64.c",
        "C/CpuArch.c",
        "C/Delta.c",
        "C/LzFind.c",
        "C/LzFindMt.c",
        "C/LzFindOpt.c",
        "C/Lzma2Dec.c",
        "C/Lzma2DecMt.c",
        "C/Lzma2Enc.c",
        "C/LzmaDec.c",
        "C/LzmaEnc.c",
        "C/LzmaLib.c",
        "C/MtCoder.c",
        "C/Ppmd7.c",
        "C/Ppmd7Dec.c",
        "C/Ppmd7Enc.c",
        "C/Sha256.c",
        "C/Sha256Opt.c",
        "C/Sort.c",
        "C/SwapBytes.c",
        "C/Threads.c",
        "C/Xz.c",
        "C/XzCrc64.c",
        "C/XzCrc64Opt.c",
        "C/XzDec.c",
        "C/XzEnc.c",
        "C/XzIn.c",
        "CPP/7zip/Archive/7z/7zDecode.cpp",
        "CPP/7zip/Archive/7z/7zEncode.cpp",
        "CPP/7zip/Archive/7z/7zExtract.cpp",
        "CPP/7zip/Archive/7z/7zFolderInStream.cpp",
        "CPP/7zip/Archive/7z/7zHandler.cpp",
        "CPP/7zip/Archive/7z/7zHandlerOut.cpp",
        "CPP/7zip/Archive/7z/7zHeader.cpp",
        "CPP/7zip/Archive/7z/7zIn.cpp",
        "CPP/7zip/Archive/7z/7zOut.cpp",
        "CPP/7zip/Archive/7z/7zProperties.cpp",
        "CPP/7zip/Archive/7z/7zRegister.cpp",
        "CPP/7zip/Archive/7z/7zUpdate.cpp",
        "CPP/7zip/Archive/ArchiveExports.cpp",
        "CPP/7zip/Archive/Common/CoderMixer2.cpp",
        "CPP/7zip/Archive/Common/DummyOutStream.cpp",
        "CPP/7zip/Archive/Common/HandlerOut.cpp",
        "CPP/7zip/Archive/Common/InStreamWithCRC.cpp",
        "CPP/7zip/Archive/Common/ItemNameUtils.cpp",
        "CPP/7zip/Archive/Common/MultiStream.cpp",
        "CPP/7zip/Archive/Common/OutStreamWithCRC.cpp",
        "CPP/7zip/Archive/DllExports2.cpp",
        "CPP/7zip/Archive/LzmaHandler.cpp",
        "CPP/7zip/Archive/SplitHandler.cpp",
        "CPP/7zip/Archive/Tar/TarHandler.cpp",
        "CPP/7zip/Archive/Tar/TarHandlerOut.cpp",
        "CPP/7zip/Archive/Tar/TarHeader.cpp",
        "CPP/7zip/Archive/Tar/TarIn.cpp",
        "CPP/7zip/Archive/Tar/TarOut.cpp",
        "CPP/7zip/Archive/Tar/TarRegister.cpp",
        "CPP/7zip/Archive/Tar/TarUpdate.cpp",
        "CPP/7zip/Archive/XzHandler.cpp",
        "CPP/7zip/Common/CWrappers.cpp",
        "CPP/7zip/Common/CreateCoder.cpp",
        "CPP/7zip/Common/FileStreams.cpp",
        "CPP/7zip/Common/FilterCoder.cpp",
        "CPP/7zip/Common/InBuffer.cpp",
        "CPP/7zip/Common/InOutTempBuffer.cpp",
        "CPP/7zip/Common/LimitedStreams.cpp",
        "CPP/7zip/Common/MethodProps.cpp",
        "CPP/7zip/Common/OffsetStream.cpp",
        "CPP/7zip/Common/OutBuffer.cpp",
        "CPP/7zip/Common/ProgressUtils.cpp",
        "CPP/7zip/Common/PropId.cpp",
        "CPP/7zip/Common/StreamObjects.cpp",
        "CPP/7zip/Common/StreamUtils.cpp",
        "CPP/7zip/Common/UniqBlocks.cpp",
        "CPP/7zip/Common/VirtThread.cpp",
        "CPP/7zip/Compress/Bcj2Coder.cpp",
        "CPP/7zip/Compress/Bcj2Register.cpp",
        "CPP/7zip/Compress/BcjCoder.cpp",
        "CPP/7zip/Compress/BcjRegister.cpp",
        "CPP/7zip/Compress/BranchMisc.cpp",
        "CPP/7zip/Compress/BranchRegister.cpp",
        "CPP/7zip/Compress/ByteSwap.cpp",
        "CPP/7zip/Compress/CodecExports.cpp",
        "CPP/7zip/Compress/CopyCoder.cpp",
        "CPP/7zip/Compress/CopyRegister.cpp",
        "CPP/7zip/Compress/DeltaFilter.cpp",
        "CPP/7zip/Compress/Lzma2Decoder.cpp",
        "CPP/7zip/Compress/Lzma2Encoder.cpp",
        "CPP/7zip/Compress/Lzma2Register.cpp",
        "CPP/7zip/Compress/LzmaDecoder.cpp",
        "CPP/7zip/Compress/LzmaEncoder.cpp",
        "CPP/7zip/Compress/LzmaRegister.cpp",
        "CPP/7zip/Compress/PpmdDecoder.cpp",
        "CPP/7zip/Compress/PpmdEncoder.cpp",
        "CPP/7zip/Compress/PpmdRegister.cpp",
        "CPP/7zip/Compress/XzDecoder.cpp",
        "CPP/7zip/Compress/XzEncoder.cpp",
        "CPP/7zip/Crypto/7zAes.cpp",
        "CPP/7zip/Crypto/7zAesRegister.cpp",
        "CPP/7zip/Crypto/MyAes.cpp",
        "CPP/7zip/Crypto/MyAesReg.cpp",
        "CPP/7zip/Crypto/RandGen.cpp",
        "CPP/Common/CRC.cpp",
        "CPP/Common/CrcReg.cpp",
        "CPP/Common/IntToString.cpp",
        "CPP/Common/MyString.cpp",
        "CPP/Common/MyWindows.cpp",
        "CPP/Common/NewHandler.cpp",
        "CPP/Common/Sha256Reg.cpp",
        "CPP/Common/StringConvert.cpp",
        "CPP/Common/StringToInt.cpp",
        "CPP/Common/UTFConvert.cpp",
        "CPP/Common/Wildcard.cpp",
        "CPP/Common/XzCrc64Reg.cpp",
        "CPP/Windows/FileDir.cpp",
        "CPP/Windows/FileFind.cpp",
        "CPP/Windows/FileIO.cpp",
        "CPP/Windows/FileName.cpp",
        "CPP/Windows/PropVariant.cpp",
        "CPP/Windows/PropVariantConv.cpp",
        "CPP/Windows/System.cpp",
        "CPP/Windows/TimeUtils.cpp",
        "plzma.cpp",
        "plzma_base_callback.cpp",
        "plzma_common.cpp",
        "plzma_decoder_impl.cpp",
        "plzma_encoder_impl.cpp",
        "plzma_exception.cpp",
        "plzma_extract_callback.cpp",
        "plzma_file_utils.cpp",
        "plzma_in_streams.cpp",
        "plzma_item.cpp",
        "plzma_open_callback.cpp",
        "plzma_out_streams.cpp",
        "plzma_path.cpp",
        "plzma_path_utils.cpp",
        "plzma_progress.cpp",
        "plzma_raw_heap_memory.cpp",
        "plzma_string.cpp",
        "plzma_update_callback.cpp"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PLzmaSDKTests",
      "module_type" : "SwiftTarget",
      "name" : "PLzmaSDKTests",
      "path" : "swift_pm_tests",
      "sources" : [
        "LinuxMain.swift",
        "plzmaTests/Compress.swift",
        "plzmaTests/Global.swift",
        "plzmaTests/OpenAndList.swift",
        "plzmaTests/TypesTests.swift",
        "plzmaTests/XCTestManifests.swift",
        "plzmaTests/plzmaTests.swift"
      ],
      "target_dependencies" : [
        "PLzmaSDK",
        "libplzma",
        "plzma_test_files"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PLzmaSDK",
      "module_type" : "SwiftTarget",
      "name" : "PLzmaSDK",
      "path" : "swift",
      "product_memberships" : [
        "PLzmaSDK",
        "PLzmaSDK-Static",
        "PLzmaSDK-Dynamic"
      ],
      "sources" : [
        "Decoder.swift",
        "Encoder.swift",
        "Exception.swift",
        "Global.swift",
        "InStream.swift",
        "Item.swift",
        "ItemArray.swift",
        "ItemOutStreamArray.swift",
        "OutMultiStream.swift",
        "OutStream.swift",
        "Path.swift",
        "String+Plzma.swift",
        "Types.swift"
      ],
      "target_dependencies" : [
        "libplzma"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Done.