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

Failed to build Push, reference main (ec9a74), with Swift 5.9 for visionOS using Xcode 15.2 on 19 Jul 2024 16:26:06 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $workDir/.derivedData build -scheme Push -destination generic/platform=xrOS

Build Log

========================================
RunAll
========================================
Builder version: 4.46.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/push-protocol/push-swift-sdk.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/push-protocol/push-swift-sdk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ec9a74d Push stream (#39)
Cloned https://github.com/push-protocol/push-swift-sdk.git
Revision (git rev-parse @):
ec9a74d69c6962e720f7b2f8af6858e268d2c18a
SUCCESS checkout https://github.com/push-protocol/push-swift-sdk.git at main
========================================
Build
========================================
Selected platform:         visionOS
Swift version:             5.9
Building package at path:  $workDir
https://github.com/push-protocol/push-swift-sdk.git
Command line invocation:
    /Applications/Xcode-15.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Fetching from https://github.com/attaswift/BigInt.git
Fetching from https://github.com/daltoniam/Starscream
Fetching from https://github.com/web3swift-team/web3swift.git
Fetching from https://github.com/krzyzanowskim/ObjectivePGP.git
Fetching from https://github.com/krzyzanowskim/CryptoSwift.git
Fetching from https://github.com/socketio/socket.io-client-swift.git
Creating working copy of package ‘web3swift’
Checking out 3.1.2 of package ‘web3swift’
Creating working copy of package ‘CryptoSwift’
Checking out 1.5.1 of package ‘CryptoSwift’
Creating working copy of package ‘BigInt’
Checking out 5.3.0 of package ‘BigInt’
Creating working copy of package ‘io-client-swift’
Checking out 16.1.0 of package ‘io-client-swift’
Creating working copy of package ‘ObjectivePGP’
Checking out 0.99.4 of package ‘ObjectivePGP’
Creating working copy of package ‘Starscream’
Checking out 4.0.6 of package ‘Starscream’
Resolve Package Graph
Resolved source packages:
  Starscream: https://github.com/daltoniam/Starscream @ 4.0.6
  BigInt: https://github.com/attaswift/BigInt.git @ 5.3.0
  Web3swift: https://github.com/web3swift-team/web3swift.git @ 3.1.2
  ObjectivePGP: https://github.com/krzyzanowskim/ObjectivePGP.git @ 0.99.4
  CryptoSwift: https://github.com/krzyzanowskim/CryptoSwift.git @ 1.5.1
  Push: /Users/admin/builder/spi-builder-workspace
  SocketIO: https://github.com/socketio/socket.io-client-swift.git @ 16.1.0
resolved source packages: Starscream, BigInt, Web3swift, ObjectivePGP, CryptoSwift, Push, SocketIO
{
  "dependencies" : [
    {
      "identity" : "objectivepgp",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.99.4",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzyzanowskim/ObjectivePGP.git"
    },
    {
      "identity" : "cryptoswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
    },
    {
      "identity" : "web3swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/web3swift-team/web3swift.git"
    },
    {
      "identity" : "socket.io-client-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "16.0.1",
            "upper_bound" : "17.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/socketio/socket.io-client-swift.git"
    }
  ],
  "manifest_display_name" : "Push",
  "name" : "Push",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "Push",
      "targets" : [
        "Push"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PushTests",
      "module_type" : "SwiftTarget",
      "name" : "PushTests",
      "path" : "Tests",
      "product_dependencies" : [
        "web3swift"
      ],
      "sources" : [
        "Channel/GetChannel.swift",
        "Channel/Opt.swift",
        "Channel/SearchTest.swift",
        "Chat/Group/CreateGroupTests.swift",
        "Chat/Group/GetGroupTests.swift",
        "Chat/Group/GroupConversationTests.swift",
        "Chat/Group/SendGroupMsgTests.swift",
        "Chat/Group/UpdateGroupTests.swift",
        "Chat/P2P/ConversationTests.swift",
        "Chat/P2P/GetChatsTests.swift",
        "Chat/P2P/SendTests.swift",
        "Helper/AESCBCTests.swift",
        "Helper/AESGCMTests.swift",
        "Helper/AddressTests.swift",
        "Helper/CryptoUtilsTests.swift",
        "Helper/IpfsTests.swift",
        "Helper/PgpTests.swift",
        "Helper/SignerTests.swift",
        "PushAPI/ChatTests.swift",
        "PushAPI/PushAPITests.swift",
        "PushStream/SocketClientTest.swift",
        "User/CreateUserTests.swift",
        "User/GetFeedsTests.swift",
        "User/GetTests.swift",
        "User/UpdateUserTests.swift",
        "e2e/FullConversation.swift",
        "e2e/GroupConversation.swift",
        "e2e/PrivateGroupDecrypt.swift",
        "e2e/PrivateGroupUpdate.swift",
        "helpers/Accounts.swift",
        "helpers/Signer.swift"
      ],
      "target_dependencies" : [
        "Push"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Push",
      "module_type" : "SwiftTarget",
      "name" : "Push",
      "path" : "Sources",
      "product_dependencies" : [
        "ObjectivePGP",
        "SocketIO",
        "web3swift",
        "CryptoSwift"
      ],
      "product_memberships" : [
        "Push"
      ],
      "sources" : [
        "Channels/Channel.swift",
        "Channels/Opt.swift",
        "Channels/Search.swift",
        "Channels/Subscribers.swift",
        "Chat/Conversation.swift",
        "Chat/Group/CreateGroup.swift",
        "Chat/Group/GetGroup.swift",
        "Chat/Group/Group.swift",
        "Chat/Group/GroupMembers.swift",
        "Chat/Group/UpdateGroup.swift",
        "Chat/Inbox.swift",
        "Chat/Requests.swift",
        "Chat/Send.swift",
        "Chat/SendV2.swift",
        "Chat/helpers/GroupChatValidator.swift",
        "Chat/helpers/PayloadHelper.swift",
        "Chat/helpers/aes.swift",
        "Config/Constants.swift",
        "Config/PushEnv.swift",
        "Endpoints/ChannelEndpoint.swift",
        "Endpoints/ChatEndpoint.swift",
        "Endpoints/IpfsEndpoint.swift",
        "Endpoints/PushEndpoint.swift",
        "Helpers/Address.swift",
        "Helpers/Chat/GetInboxList.swift",
        "Helpers/Crypto/AESCBC.swift",
        "Helpers/Crypto/AESGCM.swift",
        "Helpers/Crypto/Pgp.swift",
        "Helpers/Crypto/Utils.swift",
        "Helpers/Errors.swift",
        "Helpers/Eth/Signer.swift",
        "Helpers/Eth/Wallet.swift",
        "Helpers/Ipfs/Cid.swift",
        "Helpers/JsonUtils.swift",
        "PushAPI/Chat.swift",
        "PushAPI/Profile.swift",
        "PushAPI/PushAPI.swift",
        "PushStream/DataModifier.swift",
        "PushStream/EventEmitter.swift",
        "PushStream/PushStream.swift",
        "PushStream/SocketClient.swift",
        "PushStream/SocketModels.swift",
        "User/CreateUser.swift",
        "User/DecryptPgp.swift",
        "User/GetFeeds.swift",
        "User/UpdateProfile.swift",
        "User/User.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "Push"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $workDir/.derivedData build -scheme Push -destination generic/platform=xrOS
Command line invocation:
    /Applications/Xcode-15.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme Push -destination generic/platform=xrOS
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  BigInt: https://github.com/attaswift/BigInt.git @ 5.3.0
  ObjectivePGP: https://github.com/krzyzanowskim/ObjectivePGP.git @ 0.99.4
  Push: /Users/admin/builder/spi-builder-workspace
  Starscream: https://github.com/daltoniam/Starscream @ 4.0.6
  SocketIO: https://github.com/socketio/socket.io-client-swift.git @ 16.1.0
  CryptoSwift: https://github.com/krzyzanowskim/CryptoSwift.git @ 1.5.1
  Web3swift: https://github.com/web3swift-team/web3swift.git @ 3.1.2
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (16 targets)
    Target 'Push' in project 'Push'
        ➜ Explicit dependency on target 'Push' in project 'Push'
        ➜ Explicit dependency on target 'ObjectivePGP' in project 'ObjectivePGP'
        ➜ Explicit dependency on target 'SocketIO' in project 'SocketIO'
        ➜ Explicit dependency on target 'web3swift' in project 'Web3swift'
        ➜ Explicit dependency on target 'CryptoSwift' in project 'CryptoSwift'
    Target 'Push' in project 'Push'
        ➜ Explicit dependency on target 'ObjectivePGP' in project 'ObjectivePGP'
        ➜ Explicit dependency on target 'SocketIO' in project 'SocketIO'
        ➜ Explicit dependency on target 'web3swift' in project 'Web3swift'
        ➜ Explicit dependency on target 'CryptoSwift' in project 'CryptoSwift'
    Target 'web3swift' in project 'Web3swift'
        ➜ Explicit dependency on target 'web3swift' in project 'Web3swift'
        ➜ Explicit dependency on target 'Web3swift_web3swift' in project 'Web3swift'
        ➜ Explicit dependency on target 'secp256k1' in project 'Web3swift'
        ➜ Explicit dependency on target 'Web3Core' in project 'Web3swift'
        ➜ Explicit dependency on target 'BigInt' in project 'BigInt'
        ➜ Explicit dependency on target 'CryptoSwift' in project 'CryptoSwift'
    Target 'web3swift' in project 'Web3swift'
        ➜ Explicit dependency on target 'Web3swift_web3swift' in project 'Web3swift'
        ➜ Explicit dependency on target 'secp256k1' in project 'Web3swift'
        ➜ Explicit dependency on target 'Web3Core' in project 'Web3swift'
        ➜ Explicit dependency on target 'BigInt' in project 'BigInt'
        ➜ Explicit dependency on target 'CryptoSwift' in project 'CryptoSwift'
    Target 'Web3Core' in project 'Web3swift'
        ➜ Explicit dependency on target 'secp256k1' in project 'Web3swift'
        ➜ Explicit dependency on target 'BigInt' in project 'BigInt'
        ➜ Explicit dependency on target 'CryptoSwift' in project 'CryptoSwift'
    Target 'CryptoSwift' in project 'CryptoSwift'
        ➜ Explicit dependency on target 'CryptoSwift' in project 'CryptoSwift'
    Target 'CryptoSwift' in project 'CryptoSwift' (no dependencies)
    Target 'BigInt' in project 'BigInt'
        ➜ Explicit dependency on target 'BigInt' in project 'BigInt'
    Target 'BigInt' in project 'BigInt' (no dependencies)
    Target 'secp256k1' in project 'Web3swift' (no dependencies)
    Target 'Web3swift_web3swift' in project 'Web3swift' (no dependencies)
    Target 'SocketIO' in project 'SocketIO'
        ➜ Explicit dependency on target 'SocketIO' in project 'SocketIO'
        ➜ Explicit dependency on target 'Starscream' in project 'Starscream'
    Target 'SocketIO' in project 'SocketIO'
        ➜ Explicit dependency on target 'Starscream' in project 'Starscream'
    Target 'Starscream' in project 'Starscream'
        ➜ Explicit dependency on target 'Starscream' in project 'Starscream'
    Target 'Starscream' in project 'Starscream' (no dependencies)
    Target 'ObjectivePGP' in project 'ObjectivePGP' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
Build description signature: abe41cbc76c02582f90ef6ed63c9a857
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/abe41cbc76c02582f90ef6ed63c9a857.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ObjectivePGP/Frameworks/ObjectivePGP.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ObjectivePGP/Frameworks/ObjectivePGP.xcframework'. (in target 'Push' from project 'Push')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ObjectivePGP/Frameworks/ObjectivePGP.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ObjectivePGP/Frameworks/ObjectivePGP.xcframework'. (in target 'ObjectivePGP' from project 'ObjectivePGP')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ObjectivePGP/Frameworks/ObjectivePGP.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ObjectivePGP/Frameworks/ObjectivePGP.xcframework'. (in target 'Push' from project 'Push')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ObjectivePGP/Frameworks/ObjectivePGP.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ObjectivePGP/Frameworks/ObjectivePGP.xcframework'. (in target 'Push' from project 'Push')
Resolve Package Graph
** BUILD FAILED **
Command line invocation:
    /Applications/Xcode-15.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme Push -destination generic/platform=xrOS
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
  Push: /Users/admin/builder/spi-builder-workspace
  Web3swift: https://github.com/web3swift-team/web3swift.git @ 3.1.2
  BigInt: https://github.com/attaswift/BigInt.git @ 5.3.0
  SocketIO: https://github.com/socketio/socket.io-client-swift.git @ 16.1.0
  Starscream: https://github.com/daltoniam/Starscream @ 4.0.6
  ObjectivePGP: https://github.com/krzyzanowskim/ObjectivePGP.git @ 0.99.4
  CryptoSwift: https://github.com/krzyzanowskim/CryptoSwift.git @ 1.5.1
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (16 targets)
    Target 'Push' in project 'Push'
        ➜ Explicit dependency on target 'Push' in project 'Push'
        ➜ Explicit dependency on target 'ObjectivePGP' in project 'ObjectivePGP'
        ➜ Explicit dependency on target 'SocketIO' in project 'SocketIO'
        ➜ Explicit dependency on target 'web3swift' in project 'Web3swift'
        ➜ Explicit dependency on target 'CryptoSwift' in project 'CryptoSwift'
    Target 'Push' in project 'Push'
        ➜ Explicit dependency on target 'ObjectivePGP' in project 'ObjectivePGP'
        ➜ Explicit dependency on target 'SocketIO' in project 'SocketIO'
        ➜ Explicit dependency on target 'web3swift' in project 'Web3swift'
        ➜ Explicit dependency on target 'CryptoSwift' in project 'CryptoSwift'
    Target 'web3swift' in project 'Web3swift'
        ➜ Explicit dependency on target 'web3swift' in project 'Web3swift'
        ➜ Explicit dependency on target 'Web3swift_web3swift' in project 'Web3swift'
        ➜ Explicit dependency on target 'secp256k1' in project 'Web3swift'
        ➜ Explicit dependency on target 'Web3Core' in project 'Web3swift'
        ➜ Explicit dependency on target 'BigInt' in project 'BigInt'
        ➜ Explicit dependency on target 'CryptoSwift' in project 'CryptoSwift'
    Target 'web3swift' in project 'Web3swift'
        ➜ Explicit dependency on target 'Web3swift_web3swift' in project 'Web3swift'
        ➜ Explicit dependency on target 'secp256k1' in project 'Web3swift'
        ➜ Explicit dependency on target 'Web3Core' in project 'Web3swift'
        ➜ Explicit dependency on target 'BigInt' in project 'BigInt'
        ➜ Explicit dependency on target 'CryptoSwift' in project 'CryptoSwift'
    Target 'Web3Core' in project 'Web3swift'
        ➜ Explicit dependency on target 'secp256k1' in project 'Web3swift'
        ➜ Explicit dependency on target 'BigInt' in project 'BigInt'
        ➜ Explicit dependency on target 'CryptoSwift' in project 'CryptoSwift'
    Target 'CryptoSwift' in project 'CryptoSwift'
        ➜ Explicit dependency on target 'CryptoSwift' in project 'CryptoSwift'
    Target 'CryptoSwift' in project 'CryptoSwift' (no dependencies)
    Target 'BigInt' in project 'BigInt'
        ➜ Explicit dependency on target 'BigInt' in project 'BigInt'
    Target 'BigInt' in project 'BigInt' (no dependencies)
    Target 'secp256k1' in project 'Web3swift' (no dependencies)
    Target 'Web3swift_web3swift' in project 'Web3swift' (no dependencies)
    Target 'SocketIO' in project 'SocketIO'
        ➜ Explicit dependency on target 'SocketIO' in project 'SocketIO'
        ➜ Explicit dependency on target 'Starscream' in project 'Starscream'
    Target 'SocketIO' in project 'SocketIO'
        ➜ Explicit dependency on target 'Starscream' in project 'Starscream'
    Target 'Starscream' in project 'Starscream'
        ➜ Explicit dependency on target 'Starscream' in project 'Starscream'
    Target 'Starscream' in project 'Starscream' (no dependencies)
    Target 'ObjectivePGP' in project 'ObjectivePGP' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
Build description signature: abe41cbc76c02582f90ef6ed63c9a857
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/abe41cbc76c02582f90ef6ed63c9a857.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ObjectivePGP/Frameworks/ObjectivePGP.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ObjectivePGP/Frameworks/ObjectivePGP.xcframework'. (in target 'ObjectivePGP' from project 'ObjectivePGP')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ObjectivePGP/Frameworks/ObjectivePGP.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ObjectivePGP/Frameworks/ObjectivePGP.xcframework'. (in target 'Push' from project 'Push')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ObjectivePGP/Frameworks/ObjectivePGP.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ObjectivePGP/Frameworks/ObjectivePGP.xcframework'. (in target 'Push' from project 'Push')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ObjectivePGP/Frameworks/ObjectivePGP.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ObjectivePGP/Frameworks/ObjectivePGP.xcframework'. (in target 'Push' from project 'Push')
** BUILD FAILED **
BUILD FAILURE 5.9 visionOS