Existential Any migration Script

It's been announced that the source incompatible parts of SE0335 will no longer be a part of Swift 6 (Phew) so the heat is off this migration problem. I've modified my script to only elide to some which realises a part of the performance motivation behind this proposal by moving to opaque types for procedure arguments and return values. It may still be worth running the script over your project or package. Source compatibility remains good. Let me know in an issue if you encounter problems.

                                                #errors                elided
#rank                          name (stars)  before  after   edits    any some Error
#---- -------------------------------------  ------  -----   -----  ----- ---- -----
#0001                    Alamofire (37713*)       0      0      50      0   50     0
#0002                     fastlane (35061*)       0      0       3      0    3     0
#0003                       Charts (25532*)       0      0      40     14   26     0
#0004                   SDWebImage (24159*)       0      0       0      0    0     0
#0005                   lottie-ios (22763*)       0      0      33      0   33     0
#0006                      RxSwift (22232*)       0      2     662    110  557   921
#0007                        vapor (21791*)       0      6     125      0  125     0
#0008                   SwiftyJSON (21366*)       0      0       1      0    1     0
#0009                         Hero (20837*)       0      0       8      0    8     0
#0010                   Kingfisher (20172*)       0      2      15      0   15     0
#0011                      SnapKit (18528*)       0      0      27      0   27     0
#0012                    SwiftLint (16168*)       3     99      34      0   34     0
#0013            IQKeyboardManager (15620*)       3      3       2      0    2     0
#0014                  realm-swift (15353*)       0      0       6      0    6     3
#0015                     carthage (14594*)       0      0       3      0    3     3
#0016                         Moya (13989*)       0      2      30      0   30    10
#0017                      perfect (13873*)       0      0       0      0    0     0
#0018                   PromiseKit (13854*)       0      0       0      0    0     0
#0019                         fmdb (13694*)       0      0       0      0    0     0
#0020              CocoaLumberjack (12703*)       0      0       0      0    0     0
#0021                    IGListKit (12409*)       3      4       1      0    1     0
#0022             CocoaAsyncSocket (12209*)       0      0       0      0    0     0
#0023                       Eureka (11443*)       3      3      13      0   13     0
#0024                 SkeletonView (11225*)       3      3       0      0    0     0
#0025                 SwifterSwift (11197*)       0      0       0      0    0     0
#0026      NVActivityIndicatorView (10141*)       0      0       0      0    0     0
#0027                         Quick (9447*)       0      0       0      0    0     0
#0028                      AudioKit (9173*)       0      0      58      0   58     0
#0029                   CryptoSwift (9100*)       0      0      16      0   16     0
#0030                  ObjectMapper (8962*)       0      0       0      0    0     0
#0031         swift-package-manager (8800*)       1      1     287      0  287     2
#0032                       R.swift (8687*)       0      0       1      0    1     0
#0033                  IBAnimatable (8620*)       3      3      30      0   30     0
#0034                  SQLite.swift (8286*)       0     40      61      0   61     0
#0035                      swiftgen (7972*)       0      9      22      0   22     0
#0036            Reachability.swift (7611*)       0      0       0      0    0     0
#0037                    PureLayout (7572*)       0      0       0      0    0     0
#0038                        Kitura (7529*)       0      6      21      0   21     0
#0039                    Starscream (7332*)       0      0      20      0   20     1
#0040                   Cartography (7295*)       0     19      37      0   37     0
#0041                       ReSwift (7206*)       0      2      11      0   11     0
#0042               JTAppleCalendar (7187*)       3      3       6      0    6     0
#0043       JVFloatLabeledTextField (7150*)       2      2       0      0    0     0
#0044              facebook-ios-sdk (7087*)       0      0      86      0   86     3
#0045                     swift-nio (7001*)       0      6     258      0  258    14
#0046                          RIBs (6939*)       3      2     248      0  248     0
#0047                     SwiftDate (6932*)       0     25      41      0   41     0
#0048                KeychainAccess (6922*)       0      0       7      6    1    75
#0049                  ViewAnimator (6745*)       3      3       0      0    0     0
#0050                          Nuke (6703*)       0      0      29      0   29     3
#0051                      sourcery (6624*)       2      9      25      0   25     0
#0052                 SwiftMessages (6545*)       3      3      14      0   14     0
#0053                   FSPagerView (6505*)       3      3       0      0    0     0
#0054 swift-composable-architecture (6300*)       0      4       0      0    0     0
#0055                    DTCoreText (6209*)       1      1       0      0    0     0
#0056                           KIF (6117*)       3      2       0      0    0     0
#0057             AMScrollingNavbar (6075*)       3      3       2      0    2     0
#0058                SwiftyStoreKit (5992*)       0      4      14      0   14     0
#0059                       Sparkle (5915*)       1      1       0      0    0     0
#0060                 SwiftEntryKit (5877*)       3      3       3      0    3     0
#0061                  swipecellkit (5851*)       3      3       4      0    4     0
#0062                         macaw (5839*)       8      8       1      0    1     0
#0063                   SwiftFormat (5763*)       0      0      23      0   23     0
#0064                  SwiftyBeaver (5506*)       0      0       4      0    4     0
#0065                      XcodeGen (5481*)       0     19       8      0    8     0
#0066                      SideMenu (5354*)       3      3       7      0    7     0
#0067                      Swinject (5298*)       0      5      19      0   19     0
#0068                    MessageKit (5191*)       3      3     222      0  222     0
#0069                    GRDB.swift (5150*)       0     12      13      1   13     2
#0070                         Surge (4997*)       0      0       0      0    0     0
#0071                 FloatingPanel (4949*)       3      3      14      0   14     0
#0072                PermissionsKit (4941*)       3      3       0      0    0     0
#0073                   OHHTTPStubs (4891*)       0      0       0      0    0     0
#0074                  Instructions (4862*)       3      3       2      0    2     0
#0075        socket.io-client-swift (4802*)       0      0       5      0    5     0
#0076                     gpuimage2 (4744*)       0      0      23      0   23     0
#0077            ESTabBarController (4742*)       3      3       0      0    0     0
#0078                      SwiftUIX (4726*)       0      2      32      0   32     0
#0079            SwiftyUserDefaults (4648*)       0      0       0      0    0     0
#0080                         async (4617*)       0      0       0      0    0     0
#0081                PhoneNumberKit (4542*)       0      0       0      0    0     0
#0082                       Advance (4462*)       0      0       0      0    0     0
#0083                        Nimble (4451*)       0      2       9      2    7     0
#0084  AnimatedCollectionViewLayout (4405*)       3      3       0      0    0     0
#0085                     chartview (4382*)       3      3       0      0    0     0
#0086              swift-algorithms (4381*)       0      0       0      0    0     0
#0087                      EFQRCode (4215*)       0      0       1      0    1     0
#0088                          bond (4212*)       0     12       0      0    0     0
#0089                        SVGKit (4188*)       9      9       0      0    0     0
#0090                         Bagel (4101*)       2      2       0      0    0     0
#0091             ActiveLabel.swift (4089*)       3      3       0      0    0     0
#0092                       Publish (4019*)       0      4       4      0    4     0
#0093                         Siren (3984*)       3      3       0      0    0     0
#0094     SkyFloatingLabelTextField (3959*)       3      3      25      0   25     0
#0095                swift-protobuf (3880*)       0      2      41      0   41     0
#0096                          Then (3840*)       0      0       0      0    0     0
#0097                       KSCrash (3827*)       3      0       0      0    0     0
#0098                  MarqueeLabel (3827*)       3      3       1      0    1     0
#0099                AlamofireImage (3818*)       0      0       8      0    8     0
#0100               TinyConstraints (3790*)      25      0      24      1   23     0
#0101                     XCGLogger (3754*)      22      0      20     15    5     0
#0102                         Valet (3751*)       0      0       0      0    0     0
#0103                    SwiftWebUI (3751*)       4      8     245    108  137     2
#0104                     DeviceKit (3693*)       3      3       0      0    0     0
#0105              firebase-ios-sdk (3653*)     116      4     524    482   44   243
#0106                      promises (3640*)      26      0      45     45    0    45
#0107                       swifter (3536*)       6      0       6      6    0     2
#0108                          Argo (3497*)       2      2       0      0    0     0
#0109                     CoreStore (3431*)     312     28    2603    441 2195    49
#0110                     periphery (3412*)      56     14      75     57   18     6
#0111                    apollo-ios (3365*)       6      4     878    766  116   146
#0112                     SwiftSoup (3363*)       7      0       5      2    3     0
#0113                        Swiftz (3319*)       3      0       0      0    0     0
#0114                     RNCryptor (3305*)       5      0       3      3    0     0
#0115              BubbleTransition (3290*)       3      3       5      3    2     0
#0116                      PanModal (3281*)       3      3      26     17    9     0
#0117                        BonMot (3269*)      37      2      46     43    3     1
#0118                        Stevia (3250*)       0      0       2      2    0     0
#0119            SwiftUI-Introspect (3193*)       0      0       0      0    0     0
#0120                   Toast-Swift (3147*)       3      3       0      0    0     0
#0121                 DifferenceKit (3130*)       5      0       3      3    0     0
#0122                 UIImageColors (3094*)       0      0       0      0    0     0
#0123              InAppSettingsKit (3094*)       1      1       0      0    0     0
#0124                 SwiftLocation (3082*)      50      0      56     48    8    12
#0125                MagazineLayout (3076*)       3      3       6      3    3     0
#0126                    OAuthSwift (3008*)      77      0      54     46   21     9
#0127                      fengniao (2958*)      10      0       4      4    0     2
#0128                        nanopb (2948*)       0      0       0      0    0     0
#0129                      AMPopTip (2915*)       3      3      62     52   10    16
#0130                 RxDataSources (2879*)     750      2       2      2    0     2
#0131             LNPopupController (2857*)       4      4       1      0    1     0
#0132                  URLNavigator (2853*)       6      0      42     20   29     1
#0133                 AloeStackView (2849*)       3      3       0      0    0     0
#0134                 ReactiveSwift (2841*)     154     25     171    133   38   102
#0135                      Reusable (2822*)       0      0       0      0    0     0
#0136                Localize-Swift (2819*)       3      3       0      0    0     0
#0137               SwiftRichString (2809*)      50      0     435     53  382     1
#0138                          Gifu (2777*)       0      0       2      1    1     0
#0139                         tuist (2756*)      25     49    1480   1069  411   103
#0140                  DynamicColor (2746*)       0      0       0      0    0     0
#0141             TwitterTextEditor (2722*)       3      3      57     33   24     4
#0142                     swift-log (2721*)      24      5      30     23    7     2
#0143               LifetimeTracker (2675*)       3      3       3      2    1     0
#0144         swift-argument-parser (2668*)     163      3     271    263    8    38
#0145                    Brightroom (2665*)       2      2      15     12    3     5
#0146                     Timepiece (2653*)       0      0       0      0    0     0
#0147        swift-snapshot-testing (2647*)      40      6      36     36    0     6
#0148                         Cache (2597*)      18      0      18     18    0    12
#0149                   WhatsNewKit (2542*)      13      0      11     10    1     0
#0150                   reel-search (2539*)       3      3       8      6    2     0
#0151                        Result (2524*)      17      0      13     13    0    14
#0152               plcrashreporter (2446*)       0      0       0      0    0     0
#0153                       Swifter (2396*)      10      0       7      7    0     4
#0154                   SwiftCharts (2396*)       3      3      96     80   19     0
#0155                        Tabman (2373*)       3      3      74     33   41     0
#0156                    ReactorKit (2367*)     761      2      13     10    3     0
#0157                     Segmentio (2365*)       3      3       0      0    0     0
#0158              HaishinKit.swift (2310*)      15     26      39     39    0    39
#0159             swift-collections (2310*)      23      0      89     89    0     1
#0160                         files (2284*)      10      0       8      8    0     8
#0161          SimulatorStatusMagic (2274*)       8      8       0      0    0     0
#0162                         Kanna (2263*)      55      2      54     38   16     0
#0163                       FileKit (2218*)      29      0      17     17    0    11
#0164                       carekit (2215*)       8      3     471    338  164    69
#0165                keychain-swift (2211*)       0      0       0      0    0     0
#0166                           Zip (2196*)       0      0       0      0    0     0
#0167                   OpenCombine (2190*)     227     22     442    305  137    67
#0168                        Render (2161*)       7      8       3      3    0     0
#0169                        siesta (2159*)       1      1     137    100   38    15
#0170                   CalendarKit (2142*)       3      3      47     27   20     0
#0171                       Stencil (2132*)       5      7     126     90   39     5
#0172               HorizonCalendar (2125*)       3      3       9      6    3     0
#0173                           Ink (2112*)       7      0       6      6    0     1
#0174   CollectionViewSlantedLayout (2101*)       3      3       0      0    0     0
#0175                      Wormholy (2070*)       1      1       8      7    1     7
#0176                        ocmock (2067*)       0      0       1      1    0     0
#0177                  SourceKitten (2063*)     195      4      63     58    5     2
#0178                       APNGKit (2033*)      17      0      15     12    3     5
#0179                          time (2013*)      35      5      33     16   17     0
#0180                     NextLevel (1991*)       3      3      28     27    1    13
#0181                     PinLayout (1979*)     119      0     121     92   29     2
#0182                         Hydra (1972*)      24      0     360     22  338    17
#0183                          Down (1957*)      29      3      34     26    8     7
#0184                        Player (1927*)       3      3       6      6    0     4
#0185                     EasyPeasy (1909*)       6      0       5      2    3     0
#0186                        APIKit (1909*)      33      0      39     35    4    22
#0187                 BrightFutures (1900*)       3     20      27     27    0    28
#0188                  XCoordinator (1869*)     742      5     121     82   42     0
#0189                          Mint (1861*)     151     19       5      5    0     2
#0190                          zewo (1860*)       4      4     135     73   62    15
#0191    CollectionViewPagingLayout (1851*)       3      3      19     17    2     0
#0192                 ZIPFoundation (1839*)       4      0       3      2    1     1
#0193                        Dwifft (1838*)       0      0       0      0    0     0
#0194                  swift-syntax (1831*)     333      5     218    188   42     2
#0195                      Watchdog (1820*)       0      0       0      0    0     0
#0196                swift-markdown (1798*)     245      8     119     84   36     1
#0197                        xcodes (1786*)      34      2      24     20    4    16
#0198                          Plot (1779*)     117     13     117     67   51     0
#0199                      Resolver (1770*)       2      0      48     46    2     0
#                                                           ====== ====== ====
#                                                            13290   6085 7325
4 Likes