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

(Linux) Build failure against 2024-09-25 nightly toolchain -- error: member operator '==' of protocol 'SpanBase' must have at least one argument of type 'Self' #613

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

Comments

@clackary
Copy link

There's a build failure against recent Swift development snapshots (the one I used here was 2024-09-25).

root@7481e59c0960:/project/opentelemetry-swift# /home/dev-toolchain/swift-DEVELOPMENT-SNAPSHOT-2024-09-25-a-ubuntu22.04-aarch64/usr/bin/swift build
...
Building for debugging...

/project/opentelemetry-swift/Sources/OpenTelemetryApi/Trace/Span.swift:116:17: error: member operator '==' of protocol 'SpanBase' must have at least one argument of type 'Self'
114 |     }
115 | 
116 |     static func == (lhs: SpanBase, rhs: SpanBase) -> Bool {
    |                 `- error: member operator '==' of protocol 'SpanBase' must have at least one argument of type 'Self'
117 |         return lhs.context.spanId == rhs.context.spanId
118 |     }
error: emit-module command failed with exit code 1 (use -v to see invocation)

Configuration:
OS: Linux Ubuntu 22.04
Toolchain: swift-DEVELOPMENT-SNAPSHOT-2024-09-25-a-ubuntu22.04-aarch64

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