ldc-developers / ldc

The LLVM-based D Compiler.
http://wiki.dlang.org/LDC
Other
1.19k stars 258 forks source link

Bitrise CI needs an update #4080

Open Geod24 opened 2 years ago

Geod24 commented 2 years ago
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 .

jacob-carlborg commented 2 years ago

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?

JohanEngelen commented 2 years ago

Yes, of course people do care :)

kinke commented 2 years ago

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).

jacob-carlborg commented 2 years ago

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 commented 2 years ago

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