Skip to content

Commit 3c205e8

Browse files
authored
Swift 6 fixes (#548)
1 parent 6c568da commit 3c205e8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ let package = Package(
2323
.package(url: "https://github.com/apple/swift-collections.git", from: "1.0.0"),
2424
.package(url: "https://github.com/apple/swift-log.git", from: "1.4.0"),
2525
.package(url: "https://github.com/apple/swift-http-types.git", from: "1.0.0"),
26-
.package(url: "https://github.com/apple/swift-metrics.git", "1.0.0"..<"3.0.0"),
26+
.package(url: "https://github.com/apple/swift-metrics.git", from: "2.5.0"),
2727
.package(url: "https://github.com/apple/swift-distributed-tracing.git", from: "1.0.1"),
2828
.package(url: "https://github.com/apple/swift-nio.git", from: "2.63.0"),
2929
.package(url: "https://github.com/apple/swift-nio-extras.git", from: "1.20.0"),

[email protected]

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ let package = Package(
2323
.package(url: "https://github.com/apple/swift-collections.git", from: "1.0.0"),
2424
.package(url: "https://github.com/apple/swift-log.git", from: "1.4.0"),
2525
.package(url: "https://github.com/apple/swift-http-types.git", from: "1.0.0"),
26-
.package(url: "https://github.com/apple/swift-metrics.git", "1.0.0"..<"3.0.0"),
26+
.package(url: "https://github.com/apple/swift-metrics.git", from: "2.5.0"),
2727
.package(url: "https://github.com/apple/swift-distributed-tracing.git", from: "1.0.1"),
2828
.package(url: "https://github.com/apple/swift-nio.git", from: "2.63.0"),
2929
.package(url: "https://github.com/apple/swift-nio-extras.git", from: "1.20.0"),

Tests/HummingbirdTests/TracingTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ extension ServiceContext {
626626
private func XCTAssertSpanAttributesEqual(
627627
_ lhs: @autoclosure () -> SpanAttributes,
628628
_ rhs: @autoclosure () -> [String: SpanAttribute],
629-
file: StaticString = #file,
629+
file: StaticString = #filePath,
630630
line: UInt = #line
631631
) {
632632
var rhs = rhs()

0 commit comments

Comments
 (0)