This is `discardableResult` on macOS (perhaps because it goes through objc bridging?) but not on Linux so we get a warning on the latter
* Use swift-sdk commands instead of file ops * comment