-
Notifications
You must be signed in to change notification settings - Fork 242
Description
Building containerization binaries...
Building for debugging...
macro expansion @SendableProperty:5:9: error: 'inout sending' parameter '$0' cannot be task-isolated at end of function
- /Users/mac/.proj/containerization/Sources/ContainerizationOS/Socket/Socket.swift:78:30: note: expanded code originates here 76 | 77 | @SendableProperty 78 | private var _state: State +--- macro expansion @SendableProperty ----------------------------- | 3 | __state.withLock { | 4 | $0! | 5 | } | | |- error: 'inout sending' parameter '$0' cannot be task-isolated at end of function | | - note: task-isolated '$0' risks causing races in between task-isolated uses and caller uses since caller assumes value is not actor isolated
| 6 | }
| 7 | set {
+-------------------------------------------------------------------
79 |
80 | public var fileDescriptor: Int32 {
[8/14] Compiling ContainerizationOS Socket.swift
make: *** [containerization] Error 1