This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of RxRetroSwift with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

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/michaelhenry/RxRetroSwift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/michaelhenry/RxRetroSwift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 77261d3 use existing simulator
Cloned https://github.com/michaelhenry/RxRetroSwift.git
Revision (git rev-parse @):
77261d31eee584903398a99a960d3f265c32171a
SUCCESS checkout https://github.com/michaelhenry/RxRetroSwift.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/michaelhenry/RxRetroSwift.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/8] Write sources
[3/8] Write swift-version-6F35C1178C84523A.txt
[5/144] Emitting module RxSwift
[6/158] Compiling RxSwift PublishSubject.swift
[7/158] Compiling RxSwift Queue.swift
[8/158] Compiling RxSwift Range.swift
[9/158] Compiling RxSwift Reactive.swift
[10/158] Compiling RxSwift RecursiveLock.swift
[11/158] Compiling RxSwift RecursiveScheduler.swift
[12/158] Compiling RxSwift Reduce.swift
[13/158] Compiling RxSwift RefCountDisposable.swift
[14/158] Compiling RxSwift Repeat.swift
[15/158] Compiling RxSwift ReplaySubject.swift
[16/158] Compiling RxSwift RetryWhen.swift
[17/158] Compiling RxSwift Rx.swift
[18/158] Compiling RxSwift RxMutableBox.swift
[19/158] Compiling RxSwift Sample.swift
[20/158] Compiling RxSwift Scan.swift
[21/158] Compiling RxSwift Do.swift
[22/158] Compiling RxSwift ElementAt.swift
[23/158] Compiling RxSwift Empty.swift
[24/158] Compiling RxSwift Enumerated.swift
[25/158] Compiling RxSwift Error.swift
[26/158] Compiling RxSwift Errors.swift
[27/158] Compiling RxSwift Event.swift
[28/158] Compiling RxSwift Filter.swift
[29/158] Compiling RxSwift First.swift
[30/158] Compiling RxSwift Generate.swift
[31/158] Compiling RxSwift GroupBy.swift
[32/158] Compiling RxSwift GroupedObservable.swift
[33/158] Compiling RxSwift HistoricalScheduler.swift
[34/158] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[35/158] Compiling RxSwift ImmediateSchedulerType.swift
[36/158] Compiling RxSwift ObservableConvertibleType.swift
[37/158] Compiling RxSwift ObservableType+Extensions.swift
[38/158] Compiling RxSwift ObservableType+PrimitiveSequence.swift
[39/158] Compiling RxSwift ObservableType.swift
[40/158] Compiling RxSwift ObserveOn.swift
[41/158] Compiling RxSwift ObserverBase.swift
[42/158] Compiling RxSwift ObserverType.swift
[43/158] Compiling RxSwift OperationQueueScheduler.swift
[44/158] Compiling RxSwift Optional.swift
[45/158] Compiling RxSwift Platform.Darwin.swift
[46/158] Compiling RxSwift Platform.Linux.swift
[47/158] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
[48/158] Compiling RxSwift PrimitiveSequence.swift
[49/158] Compiling RxSwift PriorityQueue.swift
[50/158] Compiling RxSwift Producer.swift
[51/158] Compiling RxSwift ScheduledDisposable.swift
[52/158] Compiling RxSwift ScheduledItem.swift
[53/158] Compiling RxSwift ScheduledItemType.swift
[54/158] Compiling RxSwift SchedulerServices+Emulation.swift
[55/158] Compiling RxSwift SchedulerType.swift
[56/158] Compiling RxSwift Sequence.swift
[57/158] Compiling RxSwift SerialDispatchQueueScheduler.swift
[58/158] Compiling RxSwift SerialDisposable.swift
[59/158] Compiling RxSwift ShareReplayScope.swift
[60/158] Compiling RxSwift Single.swift
[61/158] Compiling RxSwift SingleAssignmentDisposable.swift
[62/158] Compiling RxSwift SingleAsync.swift
[63/158] Compiling RxSwift Sink.swift
[64/158] Compiling RxSwift Skip.swift
[65/158] Compiling RxSwift SkipUntil.swift
[66/158] Compiling RxSwift Cancelable.swift
[67/158] Compiling RxSwift Catch.swift
[68/158] Compiling RxSwift CombineLatest+Collection.swift
[69/158] Compiling RxSwift CombineLatest+arity.swift
[70/158] Compiling RxSwift CombineLatest.swift
[71/158] Compiling RxSwift Completable+AndThen.swift
[72/158] Compiling RxSwift Completable.swift
[73/158] Compiling RxSwift CompositeDisposable.swift
[74/158] Compiling RxSwift Concat.swift
[75/158] Compiling RxSwift ConcurrentDispatchQueueScheduler.swift
[76/158] Compiling RxSwift ConcurrentMainScheduler.swift
[77/158] Compiling RxSwift ConnectableObservableType.swift
[78/158] Compiling RxSwift Create.swift
[79/158] Compiling RxSwift CurrentThreadScheduler.swift
[80/158] Compiling RxSwift Debounce.swift
[81/158] Compiling RxSwift AddRef.swift
[82/158] Compiling RxSwift Amb.swift
[83/158] Compiling RxSwift AnonymousDisposable.swift
[84/158] Compiling RxSwift AnonymousObserver.swift
[85/158] Compiling RxSwift AnyObserver.swift
[86/158] Compiling RxSwift AsMaybe.swift
[87/158] Compiling RxSwift AsSingle.swift
[88/158] Compiling RxSwift AsyncLock.swift
[89/158] Compiling RxSwift AsyncSubject.swift
[90/158] Compiling RxSwift Bag+Rx.swift
[91/158] Compiling RxSwift Bag.swift
[92/158] Compiling RxSwift BehaviorSubject.swift
[93/158] Compiling RxSwift BinaryDisposable.swift
[94/158] Compiling RxSwift BooleanDisposable.swift
[95/158] Compiling RxSwift Buffer.swift
[96/158] Compiling RxSwift SkipWhile.swift
[97/158] Compiling RxSwift StartWith.swift
[98/158] Compiling RxSwift String+Rx.swift
[99/158] Compiling RxSwift SubjectType.swift
[100/158] Compiling RxSwift SubscribeOn.swift
[101/158] Compiling RxSwift SubscriptionDisposable.swift
[102/158] Compiling RxSwift SwiftSupport.swift
[103/158] Compiling RxSwift Switch.swift
[104/158] Compiling RxSwift SwitchIfEmpty.swift
[105/158] Compiling RxSwift SynchronizedDisposeType.swift
[106/158] Compiling RxSwift SynchronizedOnType.swift
[107/158] Compiling RxSwift SynchronizedUnsubscribeType.swift
[108/158] Compiling RxSwift TailRecursiveSink.swift
[109/158] Compiling RxSwift Take.swift
[110/158] Compiling RxSwift TakeLast.swift
[111/158] Compiling RxSwift Debug.swift
[112/158] Compiling RxSwift DefaultIfEmpty.swift
[113/158] Compiling RxSwift Deferred.swift
[114/158] Compiling RxSwift Delay.swift
[115/158] Compiling RxSwift DelaySubscription.swift
[116/158] Compiling RxSwift Dematerialize.swift
[117/158] Compiling RxSwift Deprecated.swift
[118/158] Compiling RxSwift DeprecationWarner.swift
[119/158] Compiling RxSwift DispatchQueue+Extensions.swift
[120/158] Compiling RxSwift DispatchQueueConfiguration.swift
[121/158] Compiling RxSwift Disposable.swift
[122/158] Compiling RxSwift Disposables.swift
[123/158] Compiling RxSwift DisposeBag.swift
[124/158] Compiling RxSwift DisposeBase.swift
[125/158] Compiling RxSwift DistinctUntilChanged.swift
[126/158] Compiling RxSwift InfiniteSequence.swift
[127/158] Compiling RxSwift InvocableScheduledItem.swift
[128/158] Compiling RxSwift InvocableType.swift
[129/158] Compiling RxSwift Just.swift
[130/158] Compiling RxSwift Lock.swift
[131/158] Compiling RxSwift LockOwnerType.swift
[132/158] Compiling RxSwift MainScheduler.swift
[133/158] Compiling RxSwift Map.swift
[134/158] Compiling RxSwift Materialize.swift
[135/158] Compiling RxSwift Maybe.swift
[136/158] Compiling RxSwift Merge.swift
[137/158] Compiling RxSwift Multicast.swift
[138/158] Compiling RxSwift Never.swift
[139/158] Compiling RxSwift NopDisposable.swift
[140/158] Compiling RxSwift Observable.swift
[141/158] Compiling RxSwift TakeUntil.swift
[142/158] Compiling RxSwift TakeWhile.swift
[143/158] Compiling RxSwift Throttle.swift
[144/158] Compiling RxSwift Timeout.swift
[145/158] Compiling RxSwift Timer.swift
[146/158] Compiling RxSwift ToArray.swift
[147/158] Compiling RxSwift Using.swift
[148/158] Compiling RxSwift VirtualTimeConverterType.swift
[149/158] Compiling RxSwift VirtualTimeScheduler.swift
[150/158] Compiling RxSwift Window.swift
[151/158] Compiling RxSwift WithLatestFrom.swift
[152/158] Compiling RxSwift Zip+Collection.swift
[153/158] Compiling RxSwift Zip+arity.swift
[154/158] Compiling RxSwift Zip.swift
[154/158] Compiling RxCocoaRuntime _RX.m
[155/158] Compiling RxCocoaRuntime _RXKVOObserver.m
[156/158] Compiling RxCocoaRuntime _RXObjCRuntime.m
[157/158] Compiling RxCocoaRuntime _RXDelegateProxy.m
[159/253] Compiling RxCocoa RxNavigationControllerDelegateProxy.swift
[160/253] Compiling RxCocoa RxPickerViewAdapter.swift
[161/253] Compiling RxCocoa RxPickerViewDataSourceProxy.swift
[162/253] Compiling RxCocoa RxPickerViewDataSourceType.swift
[163/253] Compiling RxCocoa RxPickerViewDelegateProxy.swift
[164/253] Compiling RxCocoa RxScrollViewDelegateProxy.swift
[165/253] Compiling RxCocoa RxSearchBarDelegateProxy.swift
[166/253] Compiling RxCocoa RxSearchControllerDelegateProxy.swift
[167/253] Compiling RxCocoa RxTabBarControllerDelegateProxy.swift
[168/253] Compiling RxCocoa RxTabBarDelegateProxy.swift
[169/263] Compiling RxCocoa ObservableConvertibleType+Driver.swift
[170/263] Compiling RxCocoa ObservableConvertibleType+SharedSequence.swift
[171/263] Compiling RxCocoa ObservableConvertibleType+Signal.swift
[172/263] Compiling RxCocoa PublishRelay+Signal.swift
[173/263] Compiling RxCocoa PublishRelay.swift
[174/263] Compiling RxCocoa RxCocoa.swift
[175/263] Compiling RxCocoa RxCocoaObjCRuntimeError+Extensions.swift
[176/263] Compiling RxCocoa RxCollectionViewDataSourceProxy.swift
[177/263] Compiling RxCocoa RxCollectionViewDataSourceType.swift
[178/263] Compiling RxCocoa RxCollectionViewDelegateProxy.swift
[179/263] Compiling RxCocoa RxCollectionViewReactiveArrayDataSource.swift
[180/263] Compiling RxCocoa UITabBar+Rx.swift
[181/263] Compiling RxCocoa UITabBarController+Rx.swift
[182/263] Compiling RxCocoa UITabBarItem+Rx.swift
[183/263] Compiling RxCocoa UITableView+Rx.swift
[184/263] Compiling RxCocoa UITextField+Rx.swift
[185/263] Compiling RxCocoa UITextView+Rx.swift
[186/263] Compiling RxCocoa UIView+Rx.swift
[187/263] Compiling RxCocoa UIViewController+Rx.swift
[188/263] Compiling RxCocoa UIWebView+Rx.swift
[189/263] Compiling RxCocoa URLSession+Rx.swift
[190/263] Emitting module RxCocoa
[191/263] Compiling RxCocoa UIButton+Rx.swift
[192/263] Compiling RxCocoa UICollectionView+Rx.swift
[193/263] Compiling RxCocoa UIControl+Rx.swift
[194/263] Compiling RxCocoa UIDatePicker+Rx.swift
[195/263] Compiling RxCocoa UIGestureRecognizer+Rx.swift
[196/263] Compiling RxCocoa UIImageView+Rx.swift
[197/263] Compiling RxCocoa UILabel+Rx.swift
[198/263] Compiling RxCocoa UINavigationController+Rx.swift
[199/263] Compiling RxCocoa UINavigationItem+Rx.swift
[200/263] Compiling RxCocoa UIPageControl+Rx.swift
[201/263] Compiling RxCocoa RxTableViewDataSourceProxy.swift
[202/263] Compiling RxCocoa RxTableViewDataSourceType.swift
[203/263] Compiling RxCocoa RxTableViewDelegateProxy.swift
[204/263] Compiling RxCocoa RxTableViewReactiveArrayDataSource.swift
[205/263] Compiling RxCocoa RxTarget.swift
[206/263] Compiling RxCocoa RxTextStorageDelegateProxy.swift
[207/263] Compiling RxCocoa RxTextViewDelegateProxy.swift
[208/263] Compiling RxCocoa RxWebViewDelegateProxy.swift
[209/263] Compiling RxCocoa SchedulerType+SharedSequence.swift
[210/263] Compiling RxCocoa SectionedViewDataSourceType.swift
[211/263] Compiling RxCocoa SharedSequence+Operators+arity.swift
[212/263] Compiling RxCocoa SharedSequence+Operators.swift
[213/263] Compiling RxCocoa SharedSequence.swift
[214/263] Compiling RxCocoa Signal+Subscription.swift
[215/263] Compiling RxCocoa Signal.swift
[216/263] Compiling RxCocoa TextInput.swift
[217/263] Compiling RxCocoa UIActivityIndicatorView+Rx.swift
[218/263] Compiling RxCocoa UIAlertAction+Rx.swift
[219/263] Compiling RxCocoa UIApplication+Rx.swift
[220/263] Compiling RxCocoa UIBarButtonItem+Rx.swift
[221/263] Compiling RxCocoa UIPickerView+Rx.swift
[222/263] Compiling RxCocoa UIProgressView+Rx.swift
[223/263] Compiling RxCocoa UIRefreshControl+Rx.swift
[224/263] Compiling RxCocoa UIScrollView+Rx.swift
[225/263] Compiling RxCocoa UISearchBar+Rx.swift
[226/263] Compiling RxCocoa UISearchController+Rx.swift
[227/263] Compiling RxCocoa UISegmentedControl+Rx.swift
[228/263] Compiling RxCocoa UISlider+Rx.swift
[229/263] Compiling RxCocoa UIStepper+Rx.swift
[230/263] Compiling RxCocoa UISwitch+Rx.swift
[231/263] Compiling RxCocoa NSImageView+Rx.swift
[232/263] Compiling RxCocoa NSLayoutConstraint+Rx.swift
[233/263] Compiling RxCocoa NSObject+Rx+KVORepresentable.swift
[234/263] Compiling RxCocoa NSObject+Rx+RawRepresentable.swift
[235/263] Compiling RxCocoa NSObject+Rx.swift
[236/263] Compiling RxCocoa NSSlider+Rx.swift
[237/263] Compiling RxCocoa NSTextField+Rx.swift
[238/263] Compiling RxCocoa NSTextStorage+Rx.swift
[239/263] Compiling RxCocoa NSView+Rx.swift
[240/263] Compiling RxCocoa NotificationCenter+Rx.swift
[241/263] Compiling RxCocoa Observable+Bind.swift
[242/263] Compiling RxCocoa BehaviorRelay+Driver.swift
[243/263] Compiling RxCocoa BehaviorRelay.swift
[244/263] Compiling RxCocoa Binder.swift
[245/263] Compiling RxCocoa ControlEvent+Driver.swift
[246/263] Compiling RxCocoa ControlEvent+Signal.swift
[247/263] Compiling RxCocoa ControlEvent.swift
[248/263] Compiling RxCocoa ControlProperty+Driver.swift
[249/263] Compiling RxCocoa ControlProperty.swift
[250/263] Compiling RxCocoa ControlTarget.swift
[251/263] Compiling RxCocoa DelegateProxy.swift
[252/263] Compiling RxCocoa DelegateProxyType.swift
[253/263] Compiling RxCocoa Deprecated.swift
[254/263] Compiling RxCocoa DispatchQueue+Extensions.swift
[255/263] Compiling RxCocoa Driver+Subscription.swift
[256/263] Compiling RxCocoa Driver.swift
[257/263] Compiling RxCocoa ItemEvents.swift
[258/263] Compiling RxCocoa KVORepresentable+CoreGraphics.swift
[259/263] Compiling RxCocoa KVORepresentable+Swift.swift
[260/263] Compiling RxCocoa KVORepresentable.swift
[261/263] Compiling RxCocoa Logging.swift
[262/263] Compiling RxCocoa NSButton+Rx.swift
[263/263] Compiling RxCocoa NSControl+Rx.swift
[264/270] Compiling RxRetroSwift Result.swift
[265/270] Compiling RxRetroSwift HasErrorInfo.swift
[266/270] Compiling RxRetroSwift RequestCaller.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxRetroSwift/Services/RequestCaller.swift:43:34: warning: capture of '_self' with non-sendable type 'RequestCaller' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 12 | public typealias DecodableError = Decodable & HasErrorInfo
 13 |
 14 | public class RequestCaller{
    |              `- note: class 'RequestCaller' does not conform to the 'Sendable' protocol
 15 |
 16 |   private lazy var decoder = JSONDecoder()
    :
 41 |                 let _data = data ?? Data()
 42 |                 if (200...399).contains(statusCode) {
 43 |                   let objs = try _self.decoder.decode(ItemModel.self, from: _data)
    |                                  `- warning: capture of '_self' with non-sendable type 'RequestCaller' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 44 |                   observer.onNext(Result.successful(objs))
 45 |                 } else {
/Users/admin/builder/spi-builder-workspace/Sources/RxRetroSwift/Services/RequestCaller.swift:44:19: warning: capture of 'observer' with non-sendable type 'AnyObserver<Result<ItemModel, DecodableErrorModel>>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 42 |                 if (200...399).contains(statusCode) {
 43 |                   let objs = try _self.decoder.decode(ItemModel.self, from: _data)
 44 |                   observer.onNext(Result.successful(objs))
    |                   `- warning: capture of 'observer' with non-sendable type 'AnyObserver<Result<ItemModel, DecodableErrorModel>>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 45 |                 } else {
 46 |                   var error = try _self.decoder.decode(DecodableErrorModel.self, from: _data)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/AnyObserver.swift:12:15: note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
10 | ///
11 | /// Forwards operations to an arbitrary underlying observer with the same `Element` type, hiding the specifics of the underlying observer type.
12 | public struct AnyObserver<Element> : ObserverType {
   |               `- note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
13 |     /// The type of elements in sequence that observer can observe.
14 |     public typealias E = Element
/Users/admin/builder/spi-builder-workspace/Sources/RxRetroSwift/Services/RequestCaller.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
  7 |
  8 | import Foundation
  9 | import RxSwift
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
 10 | import RxCocoa
 11 |
/Users/admin/builder/spi-builder-workspace/Sources/RxRetroSwift/Services/RequestCaller.swift:82:19: warning: capture of 'observer' with non-sendable type 'AnyObserver<Result<RawResponse, DecodableErrorModel>>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 80 |                 if (200...399).contains(statusCode) {
 81 |                   let plainResponse = RawResponse(statusCode: statusCode, data: _data)
 82 |                   observer.onNext(Result.successful(plainResponse))
    |                   `- warning: capture of 'observer' with non-sendable type 'AnyObserver<Result<RawResponse, DecodableErrorModel>>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 83 |                 } else {
 84 |                   var error = try _self.decoder.decode(DecodableErrorModel.self, from: _data)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/AnyObserver.swift:12:15: note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
10 | ///
11 | /// Forwards operations to an arbitrary underlying observer with the same `Element` type, hiding the specifics of the underlying observer type.
12 | public struct AnyObserver<Element> : ObserverType {
   |               `- note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
13 |     /// The type of elements in sequence that observer can observe.
14 |     public typealias E = Element
/Users/admin/builder/spi-builder-workspace/Sources/RxRetroSwift/Services/RequestCaller.swift:84:35: warning: capture of '_self' with non-sendable type 'RequestCaller' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 12 | public typealias DecodableError = Decodable & HasErrorInfo
 13 |
 14 | public class RequestCaller{
    |              `- note: class 'RequestCaller' does not conform to the 'Sendable' protocol
 15 |
 16 |   private lazy var decoder = JSONDecoder()
    :
 82 |                   observer.onNext(Result.successful(plainResponse))
 83 |                 } else {
 84 |                   var error = try _self.decoder.decode(DecodableErrorModel.self, from: _data)
    |                                   `- warning: capture of '_self' with non-sendable type 'RequestCaller' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 85 |                   error.errorCode = statusCode
 86 |                   observer.onNext(Result.failure(error))
[267/270] Compiling RxRetroSwift URLRequest+Authentications.swift
[268/270] Compiling RxRetroSwift RawResponse.swift
[269/270] Compiling RxRetroSwift RequestModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxRetroSwift/Models/RequestModel.swift:17:21: warning: static property 'defaults' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | public struct RequestModel {
16 |
17 |   public static var defaults:RequestModelDefaults = RequestModelDefaults()
   |                     |- warning: static property 'defaults' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'defaults' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: annotate 'defaults' 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
18 |
19 |   public enum HttpMethod:String {
[270/270] Emitting module RxRetroSwift
/Users/admin/builder/spi-builder-workspace/Sources/RxRetroSwift/Models/RequestModel.swift:17:21: warning: static property 'defaults' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | public struct RequestModel {
16 |
17 |   public static var defaults:RequestModelDefaults = RequestModelDefaults()
   |                     |- warning: static property 'defaults' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'defaults' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: annotate 'defaults' 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
18 |
19 |   public enum HttpMethod:String {
Build complete! (42.11s)
Fetching https://github.com/ReactiveX/RxSwift.git
[1/51416] Fetching rxswift
Fetched https://github.com/ReactiveX/RxSwift.git from cache (5.62s)
Computing version for https://github.com/ReactiveX/RxSwift.git
warning: 'rxswift': /Package.swift:9:16: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
 7 |
 8 | func filterNil<T>(_ array: [T?]) -> [T] {
 9 |   return array.flatMap { $0 }
   |                |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
   |                `- note: use 'compactMap(_:)' instead
10 | }
11 |
Computed https://github.com/ReactiveX/RxSwift.git at 4.1.2 (0.70s)
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 4.1.2
warning: 'rxswift': /Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Package.swift:9:16: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
 7 |
 8 | func filterNil<T>(_ array: [T?]) -> [T] {
 9 |   return array.flatMap { $0 }
   |                |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
   |                `- note: use 'compactMap(_:)' instead
10 | }
11 |
Build complete.
{
  "dependencies" : [
    {
      "identity" : "rxswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ReactiveX/RxSwift.git"
    }
  ],
  "manifest_display_name" : "RxRetroSwift",
  "name" : "RxRetroSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "RxRetroSwift",
      "targets" : [
        "RxRetroSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RxRetroSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "RxRetroSwiftTests",
      "path" : "Tests/RxRetroSwiftTests",
      "sources" : [
        "RxRetroSwiftTests.swift"
      ],
      "target_dependencies" : [
        "RxRetroSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RxRetroSwift",
      "module_type" : "SwiftTarget",
      "name" : "RxRetroSwift",
      "path" : "Sources/RxRetroSwift",
      "product_dependencies" : [
        "RxSwift",
        "RxCocoa"
      ],
      "product_memberships" : [
        "RxRetroSwift"
      ],
      "sources" : [
        "Extensions/URLRequest+Authentications.swift",
        "Models/RawResponse.swift",
        "Models/RequestModel.swift",
        "Models/Result.swift",
        "Protocols/HasErrorInfo.swift",
        "Services/RequestCaller.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.