weichsel / ZIPFoundation

Effortless ZIP Handling in Swift
MIT License
2.34k stars 262 forks source link

Swift 6 compilation error #327

Closed viktasidenfy closed 1 month ago

viktasidenfy commented 3 months ago

Summary

The following code does not compile with the Swift 6 language:

Screenshot 2024-07-16 at 12 14 52
fpseverino commented 2 months ago

There is a branch that should fix it, but it still throws errors when I run it: https://github.com/vapor-community/PassKit/actions/runs/10263910571/job/28396769308?pr=10#step:5:2572

fpseverino commented 2 months ago

Disabling TSAN it points more clearly to an error https://github.com/vapor-community/PassKit/actions/runs/10319401289/job/28567702710?pr=10#step:5:2683

This is the line that causes the error

maclee99 commented 1 month ago

FYI

https://stackoverflow.com/questions/42252124/fatal-error-load-from-misaligned-raw-pointer