Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation failure (Linux) -- error: cannot inherit from class 'Thread' (compiled with Swift 6.1) because it has overridable members that could not be loaded in Swift 5.10 #3

Open
clackary opened this issue Oct 10, 2024 · 0 comments

Comments

@clackary
Copy link
Contributor

/project/open-telemetry-swift/Sources/OpenTelemetrySdk/Logs/Processors/BatchLogRecordProcessor.swift:41:15: error: cannot inherit from class 'Thread' (compiled with Swift 6.1) because it has overridable members that could not be loaded in Swift 5.10
 39 | }
 40 | 
 41 | private class BatchWorker : Thread {
    |               `- error: cannot inherit from class 'Thread' (compiled with Swift 6.1) because it has overridable members that could not be loaded in Swift 5.10

This appears to be a compiler issue. Without a fix, we may need to employ a workaround until the problem is triaged and resolved.

clackary added a commit to clackary/open-telemetry-swift that referenced this issue Oct 10, 2024
This issue occurs against newer Swift development toolchains.

PassiveLogic#3
clackary added a commit to clackary/open-telemetry-swift that referenced this issue Oct 10, 2024
This issue occurs against newer Swift development toolchains.

PassiveLogic#3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant