The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build xcc, reference 1.1.0 (417624), with Swift 6.1 for Android on 30 May 2025 11:19:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/finnvoor/xcc.git
Reference: 1.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/finnvoor/xcc
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 417624d Bump workflow to Xcode 16.2
Cloned https://github.com/finnvoor/xcc.git
Revision (git rev-parse @):
417624dcf3e0c3a3fb211aaf88b285a2cccab67c
SUCCESS checkout https://github.com/finnvoor/xcc.git at 1.1.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/finnvoor/xcc.git
https://github.com/finnvoor/xcc.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "appstoreconnect-swift-sdk",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/finnvoor/appstoreconnect-swift-sdk.git"
    },
    {
      "identity" : "noora",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.28.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tuist/Noora.git"
    }
  ],
  "manifest_display_name" : "xcc",
  "name" : "xcc",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "xcc",
      "targets" : [
        "xcc"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "xcc",
      "module_type" : "SwiftTarget",
      "name" : "xcc",
      "path" : "Sources",
      "product_dependencies" : [
        "ArgumentParser",
        "AppStoreConnect-Swift-SDK",
        "Noora"
      ],
      "product_memberships" : [
        "xcc"
      ],
      "sources" : [
        "xcc.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/finnvoor/appstoreconnect-swift-sdk.git
[1/11613] Fetching appstoreconnect-swift-sdk
Fetched https://github.com/finnvoor/appstoreconnect-swift-sdk.git from cache (1.55s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/OpenCombine/OpenCombine.git
Fetching https://github.com/apple/swift-crypto.git
[1/13936] Fetching swift-crypto
[420/22216] Fetching swift-crypto, opencombine
[1418/37602] Fetching swift-crypto, opencombine, swift-argument-parser
Fetching https://github.com/tuist/Noora.git
Fetching https://github.com/CreateAPI/URLQueryEncoder.git
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.19s)
[12601/22216] Fetching swift-crypto, opencombine
[13717/22344] Fetching swift-crypto, opencombine, urlqueryencoder
[14075/26906] Fetching swift-crypto, opencombine, urlqueryencoder, noora
Fetched https://github.com/CreateAPI/URLQueryEncoder.git from cache (1.51s)
Fetched https://github.com/tuist/Noora.git from cache (1.55s)
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (3.85s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.90s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (5.14s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (1.56s)
Computing version for https://github.com/CreateAPI/URLQueryEncoder.git
Computed https://github.com/CreateAPI/URLQueryEncoder.git at 0.2.1 (1.62s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.98s)
Computing version for https://github.com/tuist/Noora.git
Computed https://github.com/tuist/Noora.git at 0.38.1 (0.87s)
Fetching https://github.com/apple/swift-log
Fetching https://github.com/tuist/path
Fetching https://github.com/onevcat/Rainbow
[1/348] Fetching path
[349/1544] Fetching path, rainbow
[1043/5380] Fetching path, rainbow, swift-log
Fetched https://github.com/onevcat/Rainbow from cache (1.25s)
Fetched https://github.com/tuist/path from cache (1.63s)
Fetched https://github.com/apple/swift-log from cache (1.64s)
Computing version for https://github.com/tuist/path
Computed https://github.com/tuist/path at 0.3.8 (2.78s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (1.08s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (4.00s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
Creating working copy for https://github.com/CreateAPI/URLQueryEncoder.git
Working copy of https://github.com/CreateAPI/URLQueryEncoder.git resolved at 0.2.1
Creating working copy for https://github.com/tuist/path
Working copy of https://github.com/tuist/path resolved at 0.3.8
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
Creating working copy for https://github.com/tuist/Noora.git
Working copy of https://github.com/tuist/Noora.git resolved at 0.38.1
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
Creating working copy for https://github.com/finnvoor/appstoreconnect-swift-sdk.git
Working copy of https://github.com/finnvoor/appstoreconnect-swift-sdk.git resolved at master (0cd74e9)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 2.6.0
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.0
Downloading binary artifact https://github.com/CreateAPI/CreateAPI/releases/download/0.2.0/create-api.artifactbundle.zip
[1355/5323848] Downloading https://github.com/CreateAPI/CreateAPI/releases/download/0.2.0/create-api.artifactbundle.zip
Downloaded https://github.com/CreateAPI/CreateAPI/releases/download/0.2.0/create-api.artifactbundle.zip (1.12s)
warning: 'appstoreconnect-swift-sdk': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/appstoreconnect-swift-sdk/Sources/OpenAPI/create-api.yml
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/445] Compiling a_dup.c
[2/445] Write sources
[3/445] Compiling a_d2i_fp.c
[4/445] Write sources
[12/445] Compiling a_bool.c
[12/445] Compiling a_gentm.c
[14/445] Compiling a_mbstr.c
[15/445] Compiling a_i2d_fp.c
[16/445] Compiling a_int.c
[17/445] Compiling fiat_curve25519_adx_square.S
[18/445] Compiling fiat_curve25519_adx_mul.S
[19/445] Compiling a_bitstr.c
[20/445] Compiling v3_purp.c
[21/445] Compiling CCryptoBoringSSLShims shims.c
[22/445] Write swift-version-24593BA9C3E375BF.txt
[23/445] Compiling v3_prn.c
[24/445] Compiling v3_utl.c
[25/445] Compiling v3_pmaps.c
[26/445] Compiling v3_skey.c
[27/445] Compiling v3_pcons.c
[28/447] Compiling v3_ocsp.c
[29/465] Compiling v3_ncons.c
[30/465] Compiling v3_int.c
[31/465] Compiling v3_lib.c
[32/465] Compiling v3_ia5.c
[33/465] Compiling v3_info.c
[34/465] Compiling v3_extku.c
[35/465] Compiling v3_enum.c
[36/465] Compiling v3_genn.c
[37/465] Compiling v3_crld.c
[38/465] Compiling v3_conf.c
[39/465] Compiling v3_cpols.c
[40/465] Compiling v3_bitst.c
[41/465] Compiling v3_alt.c
[42/465] Compiling v3_bcons.c
[43/465] Compiling v3_akey.c
[44/465] Compiling v3_akeya.c
[45/465] Compiling x_x509a.c
[46/465] Compiling COpenCombineHelpers COpenCombineHelpers.cpp
[47/465] Compiling x_sig.c
[48/465] Compiling x_x509.c
[49/465] Compiling x_val.c
[50/465] Compiling x_spki.c
[51/465] Compiling x_req.c
[52/468] Compiling x_pubkey.c
[53/557] Compiling x_pkey.c
[54/557] Compiling x_name.c
[55/557] Compiling x_info.c
[56/557] Compiling x_exten.c
[57/557] Compiling x_crl.c
[58/557] Compiling x_attrib.c
[59/557] Compiling x_all.c
[60/557] Compiling x_algor.c
[61/557] Compiling x509spki.c
[62/557] Compiling x509rset.c
[63/557] Compiling x509cset.c
[64/557] Compiling x509name.c
[65/557] Compiling x509_vpm.c
[66/557] Compiling x509_v3.c
[67/557] Compiling x509_vfy.c
[68/557] Compiling x509_txt.c
[70/557] Compiling Rainbow StringGenerator.swift
[71/558] Compiling Rainbow String+Rainbow.swift
[72/558] Emitting module Path
[73/558] Compiling Path Path.swift
[73/559] Compiling x509_trs.c
[74/559] Compiling x509_req.c
[75/559] Compiling x509_set.c
[78/559] Compiling Rainbow Style.swift
[78/559] Compiling x509_obj.c
[79/559] Compiling x509_def.c
[80/559] Compiling x509_ext.c
[81/559] Compiling x509_lu.c
[82/559] Compiling x509_d2.c
[83/559] Wrapping AST for Path for debugging
[85/559] Emitting module OpenCombine
[85/571] Compiling x509.c
[86/571] Compiling t_x509a.c
[87/571] Compiling x509_att.c
[88/571] Compiling x509_cmp.c
[89/571] Compiling t_x509.c
[91/571] Compiling OpenCombine AnyCancellable.swift
[92/571] Compiling OpenCombine AnyPublisher.swift
[93/571] Compiling OpenCombine AnySubscriber.swift
[94/571] Compiling OpenCombine Cancellable.swift
[95/571] Compiling OpenCombine Codable.swift
[96/571] Compiling OpenCombine CombineIdentifier.swift
[97/571] Compiling OpenCombine ConcurrencyHelpers.swift
[98/571] Compiling OpenCombine Future+Concurrency.swift
[99/571] Compiling OpenCombine GENERATED-Publisher+Concurrency.swift
[100/571] Compiling OpenCombine CurrentValueSubject.swift
[101/571] Compiling OpenCombine CustomCombineIdentifierConvertible.swift
[102/571] Compiling OpenCombine Future.swift
[103/571] Compiling OpenCombine GENERATED-RootProtocols.swift
[103/571] Compiling t_crl.c
[104/571] Compiling rsa_pss.c
[105/571] Compiling t_req.c
[106/571] Compiling i2d_pr.c
[107/571] Compiling name_print.c
[108/571] Compiling by_file.c
[109/571] Compiling policy.c
[110/571] Compiling by_dir.c
[111/571] Compiling asn1_gen.c
[112/571] Compiling algorithm.c
[114/571] Compiling OpenCombine Publishers.Count.swift
[115/571] Compiling OpenCombine Publishers.Debounce.swift
[116/571] Compiling OpenCombine Publishers.Delay.swift
[117/571] Compiling OpenCombine Publishers.Drop.swift
[118/571] Compiling OpenCombine Publishers.DropUntilOutput.swift
[119/571] Compiling OpenCombine Publishers.DropWhile.swift
[120/571] Compiling OpenCombine Publishers.Filter.swift
[121/571] Compiling OpenCombine Publishers.First.swift
[122/571] Compiling OpenCombine Publishers.FlatMap.swift
[123/571] Compiling OpenCombine Publishers.HandleEvents.swift
[124/571] Compiling OpenCombine Publishers.IgnoreOutput.swift
[125/571] Compiling OpenCombine Publishers.Last.swift
[126/571] Compiling OpenCombine Publishers.MakeConnectable.swift
[126/571] Compiling a_verify.c
[127/571] Compiling a_digest.c
[128/571] Compiling a_sign.c
[129/571] Compiling voprf.c
[131/571] Compiling OpenCombine Result.swift
[132/571] Compiling OpenCombine Scheduler.swift
[133/571] Compiling OpenCombine Subject+Void.swift
[134/571] Compiling OpenCombine Subscriber+Void.swift
[135/571] Compiling OpenCombine Subscribers.Assign.swift
[136/571] Compiling OpenCombine Subscribers.Completion.swift
[137/571] Compiling OpenCombine Subscribers.Demand.swift
[138/571] Compiling OpenCombine Subscribers.Sink.swift
[139/571] Compiling OpenCombine Subscribers.swift
[140/571] Compiling OpenCombine Subscription.swift
[141/571] Compiling OpenCombine Subscriptions.swift
[142/571] Compiling OpenCombine _Introspection.swift
[142/571] Compiling trust_token.c
[144/571] Compiling OpenCombine Just.swift
[145/571] Compiling OpenCombine Optional.Publisher.swift
[146/571] Compiling OpenCombine Publishers.AllSatisfy.swift
[147/571] Compiling OpenCombine Publishers.AssertNoFailure.swift
[148/571] Compiling OpenCombine Publishers.Autoconnect.swift
[149/571] Compiling OpenCombine Publishers.Breakpoint.swift
[150/571] Compiling OpenCombine Publishers.Buffer.swift
[151/571] Compiling OpenCombine Publishers.Collect.swift
[152/571] Compiling OpenCombine Publishers.CollectByCount.swift
[153/571] Compiling OpenCombine Publishers.CompactMap.swift
[154/571] Compiling OpenCombine Publishers.Comparison.swift
[155/571] Compiling OpenCombine Publishers.Concatenate.swift
[156/571] Compiling OpenCombine Publishers.Contains.swift
[157/571] Compiling OpenCombine Utils.swift
[158/571] Compiling OpenCombine Violations.swift
[159/571] Compiling OpenCombine ImmediateScheduler.swift
[160/571] Compiling OpenCombine ObservableObject.swift
[161/571] Compiling OpenCombine PassthroughSubject.swift
[162/571] Compiling OpenCombine Published.swift
[163/571] Compiling OpenCombine Publisher+Subscribe.swift
[164/571] Compiling OpenCombine Deferred.swift
[165/571] Compiling OpenCombine Empty.swift
[166/571] Compiling OpenCombine Fail.swift
[167/571] Compiling OpenCombine GENERATED-Publishers.Catch.swift
[168/571] Compiling OpenCombine GENERATED-Publishers.Encode.swift
[169/571] Compiling OpenCombine GENERATED-Publishers.MapKeyPath.swift
[170/571] Compiling OpenCombine ConduitBase.swift
[171/571] Compiling OpenCombine ConduitList.swift
[172/571] Compiling OpenCombine DebugHook.swift
[173/571] Compiling OpenCombine FilterProducer.swift
[174/571] Compiling OpenCombine Locking.swift
[175/571] Compiling OpenCombine PartialCompletion.swift
[176/571] Compiling OpenCombine PublishedSubject.swift
[177/571] Compiling OpenCombine PublishedSubscriber.swift
[178/571] Compiling OpenCombine ReduceProducer.swift
[179/571] Compiling OpenCombine SubjectSubscriber.swift
[180/571] Compiling OpenCombine SubscriberTap.swift
[181/571] Compiling OpenCombine SubscriptionStatus.swift
[182/571] Compiling OpenCombine SubscriptionTap.swift
[182/571] Compiling thread_win.c
[184/571] Emitting module Logging
[185/571] Compiling Logging Locks.swift
[185/571] Compiling thread_pthread.c
[186/571] Compiling thread.c
[187/571] Compiling thread_none.c
[189/571] Compiling Logging LogHandler.swift
[190/571] Compiling Logging Logging.swift
[191/571] Compiling Logging MetadataProvider.swift
[191/572] Compiling stack.c
[192/572] Compiling rsa_print.c
[193/572] Compiling siphash.c
[195/572] Compiling pmbtoken.c
[196/572] Compiling refcount.c
[197/572] Compiling rsa_asn1.c
[198/572] Compiling rc4.c
[199/572] Compiling rsa_crypt.c
[200/572] Compiling rand_extra.c
[201/572] Compiling windows.c
[202/572] Compiling trusty.c
[203/572] Compiling passive.c
[204/572] Wrapping AST for Logging for debugging
[205/572] Compiling ios.c
[206/572] Compiling getentropy.c
[207/572] Compiling poly1305_arm_asm.S
[208/572] Compiling deterministic.c
[209/572] Compiling forkunsafe.c
[210/572] Compiling poly1305_vec.c
[211/572] Compiling pool.c
[212/572] Compiling poly1305_arm.c
[214/572] Emitting module URLQueryEncoder
[215/572] Compiling URLQueryEncoder URLQueryEncoder.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[223/573] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
[223/573] Compiling poly1305.c
[225/573] Compiling Rainbow OutputTarget.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
[226/573] Compiling Rainbow Rainbow.swift
[226/573] Compiling pkcs8.c
[226/573] Compiling pkcs8_x509.c
[227/573] Compiling OpenCombine Publishers.Map.swift
[228/573] Compiling OpenCombine Publishers.MapError.swift
[229/573] Compiling OpenCombine Publishers.MeasureInterval.swift
[230/573] Compiling OpenCombine Publishers.Multicast.swift
[231/573] Compiling OpenCombine Publishers.Output.swift
[232/573] Compiling OpenCombine Publishers.PrefixUntilOutput.swift
[233/573] Compiling OpenCombine Publishers.PrefixWhile.swift
[234/573] Compiling OpenCombine Publishers.Print.swift
[235/573] Compiling OpenCombine Publishers.ReceiveOn.swift
[236/573] Compiling OpenCombine Publishers.Reduce.swift
[237/573] Compiling OpenCombine Publishers.RemoveDuplicates.swift
[238/573] Compiling OpenCombine Publishers.ReplaceEmpty.swift
[239/573] Compiling OpenCombine Publishers.ReplaceError.swift
[239/573] Compiling pkcs7.c
[239/573] Compiling p5_pbev2.c
[239/573] Compiling pkcs7_x509.c
[239/573] Wrapping AST for URLQueryEncoder for debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'appstoreconnect-swift-sdk': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/appstoreconnect-swift-sdk/Sources/OpenAPI/create-api.yml
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/322] Write sources
[2/325] Compiling pkcs7.c
[3/325] Compiling pkcs7_x509.c
[4/325] Compiling pkcs8.c
[5/325] Compiling pem_pkey.c
[5/325] Compiling pem_xaux.c
[7/325] Compiling p5_pbev2.c
[8/325] Compiling pkcs8_x509.c
[9/325] Compiling pem_x509.c
[10/325] Compiling pem_oth.c
[11/325] Write swift-version-24593BA9C3E375BF.txt
[12/325] Compiling obj_xref.c
[13/325] Compiling pem_pk8.c
[14/325] Compiling mem.c
[15/325] Compiling lhash.c
[16/327] Compiling pem_info.c
[17/327] Compiling pem_all.c
[18/327] Compiling pem_lib.c
[19/327] Compiling obj.c
[20/327] Compiling keccak.c
[21/327] Compiling kyber.c
[22/335] Compiling poly_rq_mul.S
[24/347] Emitting module URLQueryEncoder
[24/371] Compiling hpke.c
[25/439] Compiling x86_64-mont5-mac.mac.x86_64.S
[27/439] Compiling Rainbow OutputTarget.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
[27/440] Compiling x86_64-mont5-linux.linux.x86_64.S
[28/440] Compiling x86_64-mont-mac.mac.x86_64.S
[30/440] Compiling Rainbow StringGenerator.swift
[31/440] Compiling Logging MetadataProvider.swift
[31/440] Compiling x86_64-mont-linux.linux.x86_64.S
[33/440] Compiling OpenCombine Locking.swift
[34/440] Compiling OpenCombine PartialCompletion.swift
[34/440] Compiling x86-mont-windows.windows.x86.S
[36/440] Compiling OpenCombine ConduitBase.swift
[37/440] Compiling OpenCombine ConduitList.swift
[38/440] Compiling Rainbow Rainbow.swift
[39/440] Compiling Rainbow Style.swift
[39/440] Compiling x86-mont-linux.linux.x86.S
[41/440] Compiling Rainbow String+Rainbow.swift
[41/440] Compiling vpaes-x86_64-mac.mac.x86_64.S
[43/440] Compiling URLQueryEncoder URLQueryEncoder.swift
[43/441] Compiling vpaes-x86_64-linux.linux.x86_64.S
[45/441] Emitting module Logging
[45/441] Compiling vpaes-x86-windows.windows.x86.S
[46/441] Compiling vpaes-x86-linux.linux.x86.S
[47/441] Compiling hrss.c
[49/441] Compiling vpaes-armv8-ios.ios.aarch64.S
[50/441] Compiling vpaes-armv8-linux.linux.aarch64.S
[51/441] Compiling vpaes-armv7-linux.linux.arm.S
[52/441] Compiling vpaes-armv7-ios.ios.arm.S
[53/441] Compiling sha512-x86_64-mac.mac.x86_64.S
[54/441] Wrapping AST for URLQueryEncoder for debugging
[55/441] Compiling kdf.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[57/441] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
[58/441] Compiling OpenCombine DebugHook.swift
[59/441] Compiling OpenCombine FilterProducer.swift
[59/441] Compiling sha512-x86_64-linux.linux.x86_64.S
[60/441] Compiling sha512-armv8-ios.ios.aarch64.S
[60/441] Compiling sha512-armv4-linux.linux.arm.S
[60/441] Compiling sha512-armv8-linux.linux.aarch64.S
[61/441] Compiling Logging Locks.swift
[62/441] Compiling Logging LogHandler.swift
[63/441] Emitting module Path
[64/441] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 android