Skip to content

Unable to build containerization using make all #60

@Omotolani98

Description

@Omotolani98

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions