"Operation not permitted" when switching to `-swift.emit_swiftsourceinfo`, `swift.emit_swiftdoc`
erikkerber opened this issue · comments
Erik Kerber commented
Using the two opt-out features via #1179, builds may fail if not cleaned before opting out of these features:
build --features=-swift.emit_swiftsourceinfo
build --features=-swift.emit_swiftdoc
<unknown>:0: error: error opening 'bazel-out/ios_sim_arm64-dbg-ios-sim_arm64-min15.0-applebin_ios-ST-7bcb8661e3b5/bin/Modules/Data/Icon/Icon.swiftdoc' for output: Operation not permitted
<unknown>:0: error: error opening 'bazel-out/ios_sim_arm64-dbg-ios-sim_arm64-min15.0-applebin_ios-ST-7bcb8661e3b5/bin/Modules/Data/Icon/Icon.swiftsourceinfo' for output: Operation not permitted
I'm not sure off the top of my head if this can be managed, or if it's just going to need to be a papercut to be dealed with. But this will make it difficult to switch between these options on CI.