saagarjha / unxip

A fast Xcode unarchiver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error: type 'Void' does not conform to protocol 'Sendable'

asdfugil opened this issue · comments

unxip cannot be compiled

nick@nick-pc ~ % swiftc -parse-as-library -O unxip.swift 
2022-03-20 15:32:40.618 xcodebuild[16798:122541] XType: com.apple.fonts is not accessible.
2022-03-20 15:32:40.619 xcodebuild[16798:122541] XType: XTFontStaticRegistry is enabled.
unxip.swift:405:20: error: type 'Void' does not conform to protocol 'Sendable'
                var taskStream = ConcurrentStream<Void>(batchSize: 64)  // Worst case, should allow for files up to 64 * 16MB = 1GB

on macOS Monterey x86_64, 5GB RAM

Your compiler is too old, unfortunately, and has bugs in it. To resolve the bootstrapping problem, try installing the command line tools or using an open source toolchain to get yourself a good Xcode?