You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Check whether the results contains a dependency cycle error. If so, then consume the error and create a `CycleChecking` object and pass it to the block. Otherwise fail.
guard case .emittedBuildBacktraceFrame(identifier:let identifier, previousFrameIdentifier: _, category: _, description: _)= event, case .task(let signature)= identifier,BuildOperationTaskSignature.taskIdentifier(ByteString(encodingAsUTF8: task.identifier.rawValue))== signature else{
1029
+
returnnil
1030
+
}
1031
+
return identifier
1032
+
// Iff the task is a dynamic task, there may be more than one corresponding frame if it was requested multiple times, in which case we choose the first. Non-dynamic tasks always have a 1-1 relationship with frames.
1033
+
}).sorted().first else{
1034
+
Issue.record("Did not find a single build backtrace frame for task: \(task.identifier)", sourceLocation: sourceLocation)
// Iff the task is a dynamic task, there may be more than one corresponding frame if it was requested multiple times, in which case we choose the first. Non-dynamic tasks always have a 1-1 relationship with frames.
guard case .emittedBuildBacktraceFrame(identifier:let identifier, previousFrameIdentifier: _, category: _, description: _)= event, case .task(let signature)= identifier,BuildOperationTaskSignature.taskIdentifier(ByteString(encodingAsUTF8: task.identifier.rawValue))== signature else{
1038
-
returnnil
1039
-
}
1040
-
return identifier
1041
-
// Iff the task is a dynamic task, there may be more than one corresponding frame if it was requested multiple times, in which case we choose the first. Non-dynamic tasks always have a 1-1 relationship with frames.
1042
-
}).sorted().first else{
1043
-
Issue.record("Did not find a single build backtrace frame for task: \(task.identifier)", sourceLocation: sourceLocation)
0 commit comments