Avatar
omochimetaru 8/1/2023 5:34 AM
あたらしくなりすぎた
5:34 AM
beta3系でやらないとだめだな
5:34 AM
いやライブラリを下げるか
5:35 AM
swift-atomicsはいけた。
5:39 AM
[NIOConcurrencyHelpers#28] /Users/omochi/github/apple/swift-nio/Sources/NIOConcurrencyHelpers/NIOLock.swift:154:5: error: deinitializer can only be '@inlinable' if the class is '@_fixed_layout' @inlinable ^~~~~~~~~~ /Users/omochi/github/apple/swift-nio/Sources/NIOConcurrencyHelpers/NIOLock.swift:195:14: error: 'let' property '_storage' may not be initialized directly; use "self.init(...)" or "self = ..." instead self._storage = .create(value: ()) ^ /Users/omochi/github/apple/swift-nio/Sources/NIOConcurrencyHelpers/NIOLock.swift:190:18: note: '_storage' declared here internal let _storage: LockStorage<Void> ^ /Users/omochi/github/apple/swift-nio/Sources/NIOConcurrencyHelpers/NIOLockedValueBox.swift:32:14: error: 'let' property '_storage' may not be initialized directly; use "self.init(...)" or "self = ..." instead self._storage = .create(value: value) ^
5:39 AM
swift-nioでエラーが出るぞ
5:41 AM
disableなら成功した。