Build Information
Failed to build PagerTabStripView with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xmartlabs/PagerTabStripView.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/xmartlabs/PagerTabStripView
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 69921e0 Fix crash (#134)
Cloned https://github.com/xmartlabs/PagerTabStripView.git
Revision (git rev-parse @):
69921e0c755be7ff71d1e19f70b6179e432b8b0b
SUCCESS checkout https://github.com/xmartlabs/PagerTabStripView.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/xmartlabs/PagerTabStripView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
error: compile command failed due to signal 6 (use -v to see invocation)
/Users/admin/builder/spi-builder-workspace/Sources/PagerTabStripView.swift:24:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'HorizontalContainerEdge' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct HorizontalContainerEdge: OptionSet {
| `- note: consider making struct 'HorizontalContainerEdge' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
22 | }
23 |
24 | public static let left = HorizontalContainerEdge(rawValue: 1 << 0)
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'HorizontalContainerEdge' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'left' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let right = HorizontalContainerEdge(rawValue: 1 << 1)
26 |
/Users/admin/builder/spi-builder-workspace/Sources/PagerTabStripView.swift:25:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'HorizontalContainerEdge' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct HorizontalContainerEdge: OptionSet {
| `- note: consider making struct 'HorizontalContainerEdge' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
23 |
24 | public static let left = HorizontalContainerEdge(rawValue: 1 << 0)
25 | public static let right = HorizontalContainerEdge(rawValue: 1 << 1)
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'HorizontalContainerEdge' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'right' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | public static let both: HorizontalContainerEdge = [.left, .right]
Failed to reconstruct type for $s7SwiftUI4ViewPAAE8onChange2of7performQrqd___yqd__ctSQRd__lFQOyAcAEAdeFQrqd___yqd__ctSQRd__lFQOyAcAEAdeFQrqd___yqd__ctSQRd__lFQOyAcAEAdeFQrqd___yqd__ctSQRd__lFQOyAcAE0D6AppearAFQryycSg_tFQOyAcAE7gesture_9includingQrqd___AA11GestureMaskVtAA0K0Rd__lFQOyAcAE9animation_5valueQrAA9AnimationVSg_qd__tSQRd__lFQOyAcAEAN_AOQrAR_qd__tSQRd__lFQOyAcAE6offset1x1yQr12CoreGraphics7CGFloatV_AXtFQOyAcAEAstUQrAX_AXtFQOyAcAE15coordinateSpace4nameQrqd___tSHRd__lFQOyAA10LazyHStackVyAcAE5frame5width6height9alignmentQrAXSg_A5_AA9AlignmentVtFQOyq__Qo_G_SSQo__Qo__Qo__xQo__AXQo__AA06_EndedK0VyAA0k5StateK0VyAA08_ChangedK0VyAA04DragK0VGAXGGSgQo__Qo__SayxGQo__So6CGRectVA32_SQAVyHCg0_Qo__xQo__AXQo_D
Original type:
(opaque_type address=0x12634c340 conforms_to="SwiftUI.(file).View" decl="SwiftUI.(file).View extension.onChange(of:perform:)"
(interface_type=generic_type_param_type depth=2 index=0)
(substitution_map generic_signature=<τ_0_0, τ_1_0 where τ_0_0 : View, τ_1_0 : Equatable>
(substitution τ_0_0 ->
(opaque_type address=0x12634c268 conforms_to="SwiftUI.(file).View" decl="SwiftUI.(file).View extension.onChange(of:perform:)"
(interface_type=generic_type_param_type depth=2 index=0)
(substitution_map generic_signature=<τ_0_0, τ_1_0 where τ_0_0 : View, τ_1_0 : Equatable>
(substitution τ_0_0 ->
(opaque_type address=0x12634c190 conforms_to="SwiftUI.(file).View" decl="SwiftUI.(file).View extension.onChange(of:perform:)"
(interface_type=generic_type_param_type depth=2 index=0)
(substitution_map generic_signature=<τ_0_0, τ_1_0 where τ_0_0 : View, τ_1_0 : Equatable>
(substitution τ_0_0 ->
(opaque_type address=0x12634c0b8 conforms_to="SwiftUI.(file).View" decl="SwiftUI.(file).View extension.onChange(of:perform:)"
(interface_type=generic_type_param_type depth=2 index=0)
(substitution_map generic_signature=<τ_0_0, τ_1_0 where τ_0_0 : View, τ_1_0 : Equatable>
(substitution τ_0_0 ->
(opaque_type address=0x12634bfe0 conforms_to="SwiftUI.(file).View" decl="SwiftUI.(file).View extension.onAppear(perform:)"
(interface_type=generic_type_param_type depth=1 index=0)
(substitution_map generic_signature=<τ_0_0 where τ_0_0 : View>
(substitution τ_0_0 ->
(opaque_type address=0x12634bf30 conforms_to="SwiftUI.(file).View" decl="SwiftUI.(file).View extension.gesture(_:including:)"
(interface_type=generic_type_param_type depth=2 index=0)
(substitution_map generic_signature=<τ_0_0, τ_1_0 where τ_0_0 : View, τ_1_0 : Gesture>
(substitution τ_0_0 ->
(opaque_type address=0x12634bdf8 conforms_to="SwiftUI.(file).View" decl="SwiftUI.(file).View extension.animation(_:value:)"
(interface_type=generic_type_param_type depth=2 index=0)
(substitution_map generic_signature=<τ_0_0, τ_1_0 where τ_0_0 : View, τ_1_0 : Equatable>
(substitution τ_0_0 ->
(opaque_type address=0x12634bd20 conforms_to="SwiftUI.(file).View" decl="SwiftUI.(file).View extension.animation(_:value:)"
(interface_type=generic_type_param_type depth=2 index=0)
(substitution_map generic_signature=<τ_0_0, τ_1_0 where τ_0_0 : View, τ_1_0 : Equatable>
(substitution τ_0_0 ->
(opaque_type address=0x12634bc48 conforms_to="SwiftUI.(file).View" decl="SwiftUI.(file).View extension.offset(x:y:)"
(interface_type=generic_type_param_type depth=1 index=0)
(substitution_map generic_signature=<τ_0_0 where τ_0_0 : View>
(substitution τ_0_0 ->
(opaque_type address=0x12634bb98 conforms_to="SwiftUI.(file).View" decl="SwiftUI.(file).View extension.offset(x:y:)"
(interface_type=generic_type_param_type depth=1 index=0)
(substitution_map generic_signature=<τ_0_0 where τ_0_0 : View>
(substitution τ_0_0 ->
(opaque_type address=0x12634bae8 conforms_to="SwiftUI.(file).View" decl="SwiftUI.(file).View extension.coordinateSpace(name:)"
(interface_type=generic_type_param_type depth=2 index=0)
(substitution_map generic_signature=<τ_0_0, τ_1_0 where τ_0_0 : View, τ_1_0 : Hashable>
(substitution τ_0_0 ->
(bound_generic_struct_type decl="SwiftUI.(file).LazyHStack"
(opaque_type address=0x1263fa270 conforms_to="SwiftUI.(file).View" decl="SwiftUI.(file).View extension.frame(width:height:alignment:)"
(interface_type=generic_type_param_type depth=1 index=0)
(substitution_map generic_signature=<τ_0_0 where τ_0_0 : View>
(substitution τ_0_0 ->
(generic_type_param_type depth=0 index=1))
(conformance type="\xCF\x84_0_0"
(abstract_conformance protocol="View"))))))
(substitution τ_1_0 ->
(struct_type decl="Swift.(file).String"))
(conformance type="\xCF\x84_0_0"
(specialized_conformance type="LazyHStack<some View>" protocol="View"
(substitution_map generic_signature=<τ_0_0 where τ_0_0 : View>
(substitution τ_0_0 ->
(opaque_type address=0x1263fa270 conforms_to="SwiftUI.(file).View" decl="SwiftUI.(file).View extension.frame(width:height:alignment:)"
(interface_type=generic_type_param_type depth=1 index=0)
(substitution_map generic_signature=<τ_0_0 where τ_0_0 : View>
(substitution τ_0_0 ->
(generic_type_param_type depth=0 index=1))
(conformance type="\xCF\x84_0_0"
(abstract_conformance protocol="View")))))
(conformance type="\xCF\x84_0_0"
(abstract_conformance protocol="View")))
(<conditional requirements unable to be computed>)
(normal_conformance type="LazyHStack<Content>" protocol="View" lazy)))
(conformance type="\xCF\x84_1_0"
(normal_conformance type="String" protocol="Hashable" lazy)))))
(conformance type="\xCF\x84_0_0"
(abstract_conformance protocol="View")))))
(conformance type="\xCF\x84_0_0"
(abstract_conformance protocol="View")))))
(substitution τ_1_0 ->
(generic_type_param_type depth=0 index=0))
(conformance type="\xCF\x84_0_0"
(abstract_conformance protocol="View"))
(conformance type="\xCF\x84_1_0"
(abstract_conformance protocol="Equatable")))))
(substitution τ_1_0 ->
(struct_type decl="CoreFoundation.(file).CGFloat"))
(conformance type="\xCF\x84_0_0"
(abstract_conformance protocol="View"))
(conformance type="\xCF\x84_1_0"
(normal_conformance type="CGFloat" protocol="Equatable" lazy)))))
(substitution τ_1_0 ->
(bound_generic_enum_type decl="Swift.(file).Optional"
(bound_generic_struct_type decl="SwiftUI.(file)._EndedGesture"
(bound_generic_struct_type decl="SwiftUI.(file).GestureStateGesture"
(bound_generic_struct_type decl="SwiftUI.(file)._ChangedGesture"
(struct_type decl="SwiftUI.(file).DragGesture"))
(struct_type decl="CoreFoundation.(file).CGFloat")))))
(conformance type="\xCF\x84_0_0"
(abstract_conformance protocol="View"))
(conformance type="\xCF\x84_1_0"
(specialized_conformance type="Optional<_EndedGesture<GestureStateGesture<_ChangedGesture<DragGesture>, CGFloat>>>" protocol="Gesture"
(substitution_map generic_signature=<τ_0_0 where τ_0_0 : Gesture>
(substitution τ_0_0 ->
(bound_generic_struct_type decl="SwiftUI.(file)._EndedGesture"
(bound_generic_struct_type decl="SwiftUI.(file).GestureStateGesture"
(bound_generic_struct_type decl="SwiftUI.(file)._ChangedGesture"
(struct_type decl="SwiftUI.(file).DragGesture"))
(struct_type decl="CoreFoundation.(file).CGFloat"))))
(conformance type="\xCF\x84_0_0"
(specialized_conformance type="_EndedGesture<GestureStateGesture<_ChangedGesture<DragGesture>, CGFloat>>" protocol="Gesture"
(substitution_map generic_signature=<τ_0_0 where τ_0_0 : Gesture>
(substitution τ_0_0 ->
(bound_generic_struct_type decl="SwiftUI.(file).GestureStateGesture"
(bound_generic_struct_type decl="SwiftUI.(file)._ChangedGesture"
(struct_type decl="SwiftUI.(file).DragGesture"))
(struct_type decl="CoreFoundation.(file).CGFloat")))
(conformance type="\xCF\x84_0_0"
(specialized_conformance type="GestureStateGesture<_ChangedGesture<DragGesture>, CGFloat>" protocol="Gesture"
(substitution_map generic_signature=<τ_0_0, τ_0_1 where τ_0_0 : Gesture, τ_0_1 : Copyable, τ_0_1 : Escapable>
(substitution τ_0_0 ->
(bound_generic_struct_type decl="SwiftUI.(file)._ChangedGesture"
(struct_type decl="SwiftUI.(file).DragGesture")))
(substitution τ_0_1 ->
(struct_type decl="CoreFoundation.(file).CGFloat"))
(conformance type="\xCF\x84_0_0"
(specialized_conformance type="_ChangedGesture<DragGesture>" protocol="Gesture"
(substitution_map generic_signature=<τ_0_0 where τ_0_0 : Gesture, τ_0_0.Value : Equatable>
(substitution τ_0_0 ->
(struct_type decl="SwiftUI.(file).DragGesture"))
(conformance type="\xCF\x84_0_0"
(normal_conformance type="DragGesture" protocol="Gesture"
(assoc_type req="Value" type="DragGesture.Value")
(assoc_type req="Body" type="Never")
(value req="_makeGesture(gesture:inputs:)" witness="SwiftUI.(file).DragGesture._makeGesture(gesture:inputs:)")
(value req="body" dynamic_witness)
(assoc_conformance type="Self" proto="Copyable"
(builtin_conformance type="DragGesture" protocol="Copyable"))
(assoc_conformance type="Self" proto="Escapable"
(builtin_conformance type="DragGesture" protocol="Escapable"))
(assoc_conformance type="Self.Body" proto="Gesture"
(normal_conformance type="Never" protocol="Gesture" lazy))
(assoc_conformance type="Self.Value" proto="Copyable"
(builtin_conformance type="DragGesture.Value" protocol="Copyable"))
(assoc_conformance type="Self.Value" proto="Escapable"
(builtin_conformance type="DragGesture.Value" protocol="Escapable"))))
(conformance type="\xCF\x84_0_0.Value"
(normal_conformance type="DragGesture.Value" protocol="Equatable" lazy)))
(<conditional requirements unable to be computed>)
(normal_conformance type="_ChangedGesture<Content>" protocol="Gesture"
(assoc_type req="Value" type="Content.Value")
(assoc_type req="Body" type="Never")
(value req="_makeGesture(gesture:inputs:)" witness="SwiftUI.(file)._ChangedGesture._makeGesture(gesture:inputs:)")
(value req="body" dynamic_witness)
(assoc_conformance type="Self" proto="Copyable"
(builtin_conformance type="_ChangedGesture<Content>" protocol="Copyable"))
(assoc_conformance type="Self" proto="Escapable"
(builtin_conformance type="_ChangedGesture<Content>" protocol="Escapable"))
(assoc_conformance type="Self.Body" proto="Gesture"
(normal_conformance type="Never" protocol="Gesture" <details printed above>))
(assoc_conformance type="Self.Value" proto="Copyable"
(abstract_conformance protocol="Copyable"))
(assoc_conformance type="Self.Value" proto="Escapable"
(abstract_conformance protocol="Escapable")))))
(conformance type="\xCF\x84_0_1"
(builtin_conformance type="CGFloat" protocol="Copyable"))
(conformance type="\xCF\x84_0_1"
(builtin_conformance type="CGFloat" protocol="Escapable")))
(<conditional requirements unable to be computed>)
(normal_conformance type="GestureStateGesture<Base, State>" protocol="Gesture"
(assoc_type req="Value" type="Base.Value")
(assoc_type req="Body" type="Never")
(value req="_makeGesture(gesture:inputs:)" witness="SwiftUI.(file).GestureStateGesture._makeGesture(gesture:inputs:)")
(value req="body" dynamic_witness)
(assoc_conformance type="Self" proto="Copyable"
(builtin_conformance type="GestureStateGesture<Base, State>" protocol="Copyable"))
(assoc_conformance type="Self" proto="Escapable"
(builtin_conformance type="GestureStateGesture<Base, State>" protocol="Escapable"))
(assoc_conformance type="Self.Body" proto="Gesture"
(normal_conformance type="Never" protocol="Gesture" <details printed above>))
(assoc_conformance type="Self.Value" proto="Copyable"
(abstract_conformance protocol="Copyable"))
(assoc_conformance type="Self.Value" proto="Escapable"
(abstract_conformance protocol="Escapable"))))))
(<conditional requirements unable to be computed>)
(normal_conformance type="_EndedGesture<Content>" protocol="Gesture" lazy))))
(<conditional requirements unable to be computed>)
(normal_conformance type="Optional<Wrapped>" protocol="Gesture" lazy
(requirement "Wrapped" conforms_to "Gesture")))))))
(conformance type="\xCF\x84_0_0"
(abstract_conformance protocol="View")))))
(substitution τ_1_0 ->
(bound_generic_struct_type decl="Swift.(file).Array"
(generic_type_param_type depth=0 index=0)))
(conformance type="\xCF\x84_0_0"
(abstract_conformance protocol="View"))
(conformance type="\xCF\x84_1_0"
(normal_conformance type="Array<Element>" protocol="Equatable" lazy
(requirement "Element" conforms_to "Equatable"))))))
(substitution τ_1_0 ->
(struct_type decl="CoreFoundation.(file).CGRect"))
(conformance type="\xCF\x84_0_0"
(abstract_conformance protocol="View"))
(conformance type="\xCF\x84_1_0"
(normal_conformance type="CGRect" protocol="Equatable" lazy)))))
(substitution τ_1_0 ->
(generic_type_param_type depth=0 index=0))
(conformance type="\xCF\x84_0_0"
(abstract_conformance protocol="View"))
(conformance type="\xCF\x84_1_0"
(abstract_conformance protocol="Equatable")))))
(substitution τ_1_0 ->
(struct_type decl="CoreFoundation.(file).CGFloat"))
(conformance type="\xCF\x84_0_0"
(abstract_conformance protocol="View"))
(conformance type="\xCF\x84_1_0"
(normal_conformance type="CGFloat" protocol="Equatable" lazy))))
Generic signature: <τ_0_0, τ_0_1 where τ_0_0 : Hashable, τ_0_1 : View>
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Pass '-Xfrontend -disable-round-trip-debug-types' to disable this assertion.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/Collection+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/NavBarItem.swift /Users/admin/builder/spi-builder-workspace/Sources/NavBarModifier.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationBarStyles/FixedSizeNavBarView.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationBarStyles/IndicatorBarView.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationBarStyles/ScrollableNavBarView.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationBarStyles/SegmentedNavBarView.swift /Users/admin/builder/spi-builder-workspace/Sources/PagerSettings.swift /Users/admin/builder/spi-builder-workspace/Sources/PagerStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/PagerTabItemModifier.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/PagerTabStripView.swift /Users/admin/builder/spi-builder-workspace/Sources/View+Modifiers.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/PagerTabStripView.build/PagerTabStripView.d -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/PagerTabStripView.build/PagerTabStripView.swiftdeps -target arm64-apple-macosx13.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk -I /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Modules -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -stats-output-dir .stats -strict-concurrency=complete -empty-abi-descriptor -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace -Xcc -isysroot -Xcc /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk -Xcc -F -Xcc /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -Xcc -fPIC -Xcc -g -module-name PagerTabStripView -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -target-sdk-version 14.4 -target-sdk-name macosx14.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/PagerTabStripView.build/PagerTabStripView.swift.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/index/store -index-system-modules
1. Apple Swift version 6.0-dev (LLVM 4b0b1f9e1a69523, Swift 91a3abcf816bc36)
2. Compiling with effective version 5.10
3. While evaluating request IRGenRequest(IR Generation for file "/Users/admin/builder/spi-builder-workspace/Sources/PagerTabStripView.swift")
4. While emitting IR SIL function "@$s17PagerTabStripView07WrapperabcD033_C6145AC9971FBC410555D4CCE5E4B602LLV4bodyQrvg7SwiftUI0D0PAFE8onChange2of7performQrqd___yqd__ctSQRd__lFQOyAhFEAijKQrqd___yqd__ctSQRd__lFQOyAhFEAijKQrqd___yqd__ctSQRd__lFQOyAhFEAijKQrqd___yqd__ctSQRd__lFQOyAhFE0P6AppearAKQryycSg_tFQOyAhFE7gesture_9includingQrqd___AF11GestureMaskVtAF0W0Rd__lFQOyAhFE9animation_5valueQrAF9AnimationVSg_qd__tSQRd__lFQOyAhFEAS_ATQrAW_qd__tSQRd__lFQOyAhFE6offset1x1yQr12CoreGraphics7CGFloatV_A1_tFQOyAhFEAxyZQrA1__A1_tFQOyAhFE15coordinateSpace4nameQrqd___tSHRd__lFQOyAF10LazyHStackVyAhFE5frame5width6height9alignmentQrA1_Sg_A10_AF9AlignmentVtFQOyq__Qo_G_SSQo__Qo__Qo__xQo__A1_Qo__AF06_EndedW0VyAF0w5StateW0VyAF08_ChangedW0VyAF04DragW0VGA1_GGSgQo__Qo__SayxGQo__So6CGRectVA37_SQA_yHCg0_Qo__xQo__A1_Qo_AF13GeometryProxyVcfU_".
for expression at [/Users/admin/builder/spi-builder-workspace/Sources/PagerTabStripView.swift:94:24 - line:158:9] RangeText="{ geometryProxy in
LazyHStack(spacing: 0) {
content
.frame(width: geometryProxy.size.width)
}
.coordinateSpace(name: "PagerViewScrollView")
.offset(x: -CGFloat(pagerSettings.indexOf(tag: selection) ?? 0) * geometryProxy.size.width)
.offset(x: translation)
.animation(style.pagerAnimationOnTap, value: selection)
.animation(style.pagerAnimationOnSwipe, value: translation)
.gesture(swipeGestureEnabled && swipeOn ?
DragGesture(minimumDistance: 25).onChanged { value in
swipeOn = !(edgeSwipeGestureDisabled.contains(.left) &&
(selection == pagerSettings.itemsOrderedByIndex.first && value.translation.width > 0) ||
edgeSwipeGestureDisabled.contains(.right) &&
(selection == pagerSettings.itemsOrderedByIndex.last && value.translation.width < 0))
}.updating($translation) { value, state, _ in
if selection == pagerSettings.itemsOrderedByIndex.first && value.translation.width > 0 {
let normTrans = value.translation.width / (geometryProxy.size.width + 50)
let logValue = log(1 + normTrans)
state = geometryProxy.size.width/1.5 * logValue
} else if selection == pagerSettings.itemsOrderedByIndex.last && value.translation.width < 0 {
let normTrans = -value.translation.width / (geometryProxy.size.width + 50)
let logValue = log(1 + normTrans)
state = -geometryProxy.size.width / 1.5 * logValue
} else {
state = value.translation.width
}
}.onEnded { value in
let offset = value.predictedEndTranslation.width / geometryProxy.size.width
let selectionIndex = pagerSettings.indexOf(tag: selection) ?? 0
let newPredictedIndex = (CGFloat(selectionIndex) - offset).rounded()
let newIndex = min(max(Int(newPredictedIndex), 0), pagerSettings.items.count - 1)
if newIndex > selectionIndex {
selection = pagerSettings.nextSelection(for: selection)
} else if newIndex < selectionIndex {
selection = pagerSettings.previousSelection(for: selection)
}
}
: nil)
.onAppear {
let frame = geometryProxy.frame(in: .local)
pagerSettings.width = frame.width
if let index = pagerSettings.indexOf(tag: selection) {
pagerSettings.contentOffset = -CGFloat(index) * frame.width
}
}
.onChange(of: pagerSettings.itemsOrderedByIndex) { _ in
pagerSettings.contentOffset = -(CGFloat(pagerSettings.indexOf(tag: selection) ?? 0) * geometryProxy.size.width)
}
.onChange(of: geometryProxy.frame(in: .local)) { geometry in
pagerSettings.width = geometry.width
if let index = pagerSettings.indexOf(tag: selection) {
pagerSettings.contentOffset = -(CGFloat(index)) * geometry.width
}
}
.onChange(of: selection) { newSelection in
pagerSettings.contentOffset = -(CGFloat(pagerSettings.indexOf(tag: newSelection) ?? 0) * geometryProxy.size.width)
swipeOn = true
}
.onChange(of: translation) { _ in
pagerSettings.contentOffset = translation - (CGFloat(pagerSettings.indexOf(tag: selection) ?? 0) * geometryProxy.size.width)
swipeOn = true
}
"
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 swift-frontend 0x0000000109db7bf0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1 swift-frontend 0x0000000109db63bc llvm::sys::RunSignalHandlers() + 112
2 swift-frontend 0x0000000109db8238 SignalHandler(int) + 304
3 libsystem_platform.dylib 0x0000000189a2da24 _sigtramp + 56
4 libsystem_pthread.dylib 0x00000001899fdcc0 pthread_kill + 288
5 libsystem_c.dylib 0x0000000189909a40 abort + 180
6 swift-frontend 0x0000000109e6e474 (anonymous namespace)::IRGenDebugInfoImpl::getOrCreateType(swift::irgen::DebugTypeInfo) (.cold.24) + 0
7 swift-frontend 0x0000000104e36968 (anonymous namespace)::IRGenDebugInfoImpl::getOrCreateType(swift::irgen::DebugTypeInfo) + 3792
8 swift-frontend 0x0000000104e36ce0 (anonymous namespace)::IRGenDebugInfoImpl::createParameterTypes(swift::CanTypeWrapper<swift::SILFunctionType>) + 784
9 swift-frontend 0x0000000104e2f67c (anonymous namespace)::IRGenDebugInfoImpl::emitFunction(swift::SILDebugScope const*, llvm::Function*, swift::SILFunctionTypeRepresentation, swift::SILType, swift::DeclContext*, llvm::StringRef) + 2124
10 swift-frontend 0x0000000104e701d4 (anonymous namespace)::IRGenSILFunction::emitSILFunction() + 832
11 swift-frontend 0x0000000104e6f900 swift::irgen::IRGenModule::emitSILFunction(swift::SILFunction*) + 1604
12 swift-frontend 0x0000000104d13b54 swift::irgen::IRGenerator::emitLazyDefinitions() + 1972
13 swift-frontend 0x0000000104e220d8 swift::IRGenRequest::evaluate(swift::Evaluator&, swift::IRGenDescriptor) const + 2632
14 swift-frontend 0x0000000104e6edb0 swift::GeneratedModule swift::SimpleRequest<swift::IRGenRequest, swift::GeneratedModule (swift::IRGenDescriptor), (swift::RequestFlags)9>::callDerived<0ul>(swift::Evaluator&, std::__1::integer_sequence<unsigned long, 0ul>) const + 200
15 swift-frontend 0x0000000104e2a5c0 swift::IRGenRequest::OutputType swift::Evaluator::getResultUncached<swift::IRGenRequest, swift::IRGenRequest::OutputType swift::evaluateOrFatal<swift::IRGenRequest>(swift::Evaluator&, swift::IRGenRequest)::'lambda'()>(swift::IRGenRequest const&, swift::IRGenRequest::OutputType swift::evaluateOrFatal<swift::IRGenRequest>(swift::Evaluator&, swift::IRGenRequest)::'lambda'()) + 212
16 swift-frontend 0x0000000104e23f70 swift::performIRGeneration(swift::FileUnit*, swift::IRGenOptions const&, swift::TBDGenOptions const&, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule>>, llvm::StringRef, swift::PrimarySpecificPaths const&, llvm::StringRef, llvm::GlobalVariable**) + 208
17 swift-frontend 0x0000000104935824 generateIR(swift::IRGenOptions const&, swift::TBDGenOptions const&, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule>>, swift::PrimarySpecificPaths const&, llvm::StringRef, llvm::PointerUnion<swift::ModuleDecl*, swift::SourceFile*>, llvm::GlobalVariable*&, llvm::ArrayRef<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>) + 156
18 swift-frontend 0x0000000104931ac4 performCompileStepsPostSILGen(swift::CompilerInstance&, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule>>, llvm::PointerUnion<swift::ModuleDecl*, swift::SourceFile*>, swift::PrimarySpecificPaths const&, int&, swift::FrontendObserver*) + 1416
19 swift-frontend 0x0000000104930f2c swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 648
20 swift-frontend 0x0000000104942248 withSemanticAnalysis(swift::CompilerInstance&, swift::FrontendObserver*, llvm::function_ref<bool (swift::CompilerInstance&)>, bool) + 160
21 swift-frontend 0x0000000104933590 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 708
22 swift-frontend 0x00000001049324fc swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 2388
23 swift-frontend 0x000000010474c3b0 swift::mainEntry(int, char const**) + 3096
24 dyld 0x000000018967d0e0 start + 2360
BUILD FAILURE 6.0 macosSpm