swift-otel icon indicating copy to clipboard operation
swift-otel copied to clipboard

Version 0.9.0 does not build on latest Swift 6 snapshot

Open xtremekforever opened this issue 1 year ago • 11 comments

Although version 0.9.0 states that Swift 6 support was added, it doesn't actually build on the latest Swift 6.0 snapshot (2024-06-22).

~/myapp/.build/checkouts/swift-otel/Sources/OTel/Tracing/Processing/Batch/OTelBatchSpanProcessor.swift:95:34: error: pattern that the region based isolation checker does not understand how to check. Please file a bug
 93 |                 }
 94 | 
 95 |                 try? await group.next()
    |                                  `- error: pattern that the region based isolation checker does not understand how to check. Please file a bug
 96 |                 group.cancelAll()
 97 |             }

~/myapp/.build/checkouts/swift-otel/Sources/OTel/Tracing/Processing/Batch/OTelBatchSpanProcessor.swift:114:30: error: pattern that the region based isolation checker does not understand how to check. Please file a bug
112 |             }
113 | 
114 |             try? await group.next()
    |                              `- error: pattern that the region based isolation checker does not understand how to check. Please file a bug
115 |             group.cancelAll()
116 |         }

~/myapp/.build/checkouts/swift-otel/Sources/OTel/Tracing/Processing/OTelMultiplexSpanProcessor.swift:71:29: error: pattern that the region based isolation checker does not understand how to check. Please file a bug
69 |             }
70 | 
71 |             try await group.waitForAll()
   |                             `- error: pattern that the region based isolation checker does not understand how to check. Please file a bug
72 |         }
73 |     }
~/myapp/.build/checkouts/swift-otel/Sources/OTel/Tracing/Processing/Batch/OTelBatchSpanProcessor.swift:95:34: error: pattern that the region based isolation checker does not understand how to check. Please file a bug
 93 |                 }
 94 | 
 95 |                 try? await group.next()
    |                                  `- error: pattern that the region based isolation checker does not understand how to check. Please file a bug
 96 |                 group.cancelAll()
 97 |             }

~/myapp/.build/checkouts/swift-otel/Sources/OTel/Tracing/Processing/Batch/OTelBatchSpanProcessor.swift:114:30: error: pattern that the region based isolation checker does not understand how to check. Please file a bug
112 |             }
113 | 
114 |             try? await group.next()
    |                              `- error: pattern that the region based isolation checker does not understand how to check. Please file a bug
115 |             group.cancelAll()
116 |         }

~/myapp/.build/checkouts/swift-otel/Sources/OTel/Tracing/Processing/OTelMultiplexSpanProcessor.swift:71:29: error: pattern that the region based isolation checker does not understand how to check. Please file a bug
69 |             }
70 | 
71 |             try await group.waitForAll()
   |                             `- error: pattern that the region based isolation checker does not understand how to check. Please file a bug
72 |         }
73 |     }
~/myapp/.build/checkouts/swift-otel/Sources/OTel/Tracing/Processing/Batch/OTelBatchSpanProcessor.swift:95:34: error: pattern that the region based isolation checker does not understand how to check. Please file a bug
 93 |                 }
 94 | 
 95 |                 try? await group.next()
    |                                  `- error: pattern that the region based isolation checker does not understand how to check. Please file a bug
 96 |                 group.cancelAll()
 97 |             }

~/myapp/.build/checkouts/swift-otel/Sources/OTel/Tracing/Processing/Batch/OTelBatchSpanProcessor.swift:114:30: error: pattern that the region based isolation checker does not understand how to check. Please file a bug
112 |             }
113 | 
114 |             try? await group.next()
    |                              `- error: pattern that the region based isolation checker does not understand how to check. Please file a bug
115 |             group.cancelAll()
116 |         }

~/myapp/.build/checkouts/swift-otel/Sources/OTel/Tracing/Processing/OTelMultiplexSpanProcessor.swift:71:29: error: pattern that the region based isolation checker does not understand how to check. Please file a bug
69 |             }
70 | 
71 |             try await group.waitForAll()
   |                             `- error: pattern that the region based isolation checker does not understand how to check. Please file a bug
72 |         }
73 |     }
~/myapp/.build/checkouts/swift-otel/Sources/OTel/Tracing/Processing/Batch/OTelBatchSpanProcessor.swift:95:34: error: pattern that the region based isolation checker does not understand how to check. Please file a bug
 93 |                 }
 94 | 
 95 |                 try? await group.next()
    |                                  `- error: pattern that the region based isolation checker does not understand how to check. Please file a bug
 96 |                 group.cancelAll()
 97 |             }

~/myapp/.build/checkouts/swift-otel/Sources/OTel/Tracing/Processing/Batch/OTelBatchSpanProcessor.swift:114:30: error: pattern that the region based isolation checker does not understand how to check. Please file a bug
112 |             }
113 | 
114 |             try? await group.next()
    |                              `- error: pattern that the region based isolation checker does not understand how to check. Please file a bug
115 |             group.cancelAll()
116 |         }

~/myapp/.build/checkouts/swift-otel/Sources/OTel/Tracing/Processing/OTelMultiplexSpanProcessor.swift:71:29: error: pattern that the region based isolation checker does not understand how to check. Please file a bug
69 |             }
70 | 
71 |             try await group.waitForAll()
   |                             `- error: pattern that the region based isolation checker does not understand how to check. Please file a bug
72 |         }
73 |     }
~/myapp/.build/checkouts/swift-otel/Sources/OTel/Tracing/Processing/Batch/OTelBatchSpanProcessor.swift:95:34: error: pattern that the region based isolation checker does not understand how to check. Please file a bug
 93 |                 }
 94 | 
 95 |                 try? await group.next()
    |                                  `- error: pattern that the region based isolation checker does not understand how to check. Please file a bug
 96 |                 group.cancelAll()
 97 |             }

~/myapp/.build/checkouts/swift-otel/Sources/OTel/Tracing/Processing/Batch/OTelBatchSpanProcessor.swift:114:30: error: pattern that the region based isolation checker does not understand how to check. Please file a bug
112 |             }
113 | 
114 |             try? await group.next()
    |                              `- error: pattern that the region based isolation checker does not understand how to check. Please file a bug
115 |             group.cancelAll()
116 |         }

~/myapp/.build/checkouts/swift-otel/Sources/OTel/Tracing/Processing/OTelMultiplexSpanProcessor.swift:71:29: error: pattern that the region based isolation checker does not understand how to check. Please file a bug
69 |             }
70 | 
71 |             try await group.waitForAll()
   |                             `- error: pattern that the region based isolation checker does not understand how to check. Please file a bug
72 |         }
73 |     }

Is there anything I can do to help get this working with Swift 6? I can spend a little bit of time if it would be useful, since we would like to start using Swift Metrics along with the new support in the library.

xtremekforever avatar Jun 25 '24 18:06 xtremekforever