ldc icon indicating copy to clipboard operation
ldc copied to clipboard

Bitrise CI needs an update

Open Geod24 opened this issue 3 years ago • 5 comments

Error: Your Xcode (11.7) is outdated.
Please update to Xcode 12.4 (or delete it).
Xcode can be updated from the App Store.) err: (exit status 1)
INFO[07:39:19] Failed to install (ChargePoint/xcparse/xcparse) with brew 
WARN[07:39:19] Installing Step dependency failed, retrying ... 

According to this someone with admin access needs to update the stack to at least XCode 12, but we probably can go to 13 already ? We're also building on Catalina, should that be updated ? AFAICS the project is under @jacob-carlborg .

Geod24 avatar Aug 30 '22 02:08 Geod24

Is there any point? Is it better to remove testing on Bitrise? The project maintainers don't seem to care the the pipeline has been failing for months, years?

jacob-carlborg avatar Aug 30 '22 05:08 jacob-carlborg

Yes, of course people do care :)

JohanEngelen avatar Aug 30 '22 06:08 JohanEngelen

The project maintainers don't seem to care the the pipeline has been failing for months, years?

It's only been failing for master pipelines due to some weird permission issue IIRC, that neither of us have been able to fix. PR builds were working fine up until yesterday (e.g., https://app.bitrise.io/build/6e44ce22-48a9-4624-9f2f-15b411457699).

kinke avatar Aug 30 '22 10:08 kinke

PR builds were working fine up until yesterday

PR builds are only building, not running any tests: https://github.com/ldc-developers/ldc/blob/b0eab59b1baf8d2618d47efaf39aa52082808a52/bitrise.yml#L114

jacob-carlborg avatar Aug 30 '22 12:08 jacob-carlborg

I've fixed some administrative things related to accounts and certificates. The tests are now failing when installing xcparse:

==> make install prefix=/usr/local/Cellar/xcparse/2.2.1
Last 15 lines from /Users/vagrant/Library/Logs/Homebrew/xcparse/01.make:
                                  FreeBSD
/private/tmp/xcparse-20220830-9310-ucggdc/.build/checkouts/swift-tools-support-core/Sources/TSCUtility/BitstreamReader.swift:187:89: error: trailing closure passed to parameter of type 'Bool' that does not accept a closure
            payload = try .char6String(String(unsafeUninitializedCapacity: Int(length)) { buffer in
                                                                                        ^~~~~~~~~~~
Swift.String:2:12: note: 'init(_:radix:uppercase:)' declared here
    public init<T>(_ value: T, radix: Int = 10, uppercase: Bool = false) where T : BinaryInteger
           ^
/private/tmp/xcparse-20220830-9310-ucggdc/.build/checkouts/swift-tools-support-core/Sources/TSCUtility/BitstreamReader.swift:187:46: error: extraneous argument label 'unsafeUninitializedCapacity:' in call
            payload = try .char6String(String(unsafeUninitializedCapacity: Int(length)) { buffer in
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                              
/private/tmp/xcparse-20220830-9310-ucggdc/.build/checkouts/swift-tools-support-core/Sources/TSCUtility/BitstreamReader.swift:187:23: warning: no calls to throwing functions occur within 'try' expression
            payload = try .char6String(String(unsafeUninitializedCapacity: Int(length)) { buffer in
                      ^
make: *** [build] Error 1
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/chargepoint/homebrew-xcparse/issues

jacob-carlborg avatar Aug 31 '22 06:08 jacob-carlborg