Skip to content

Use compatible function pointer types to fix build errors on newer Clang #32

Use compatible function pointer types to fix build errors on newer Clang

Use compatible function pointer types to fix build errors on newer Clang #32

Re-run triggered July 31, 2024 21:35
Status Failure
Total duration 26s
Artifacts

test.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

31 errors
build (2.5 / macos-latest)
Error: CRuby < 2.6 does not support macos-arm64. Either use a newer Ruby version or use a macOS image running on amd64, e.g., macos-13 or macos-12. Note that GitHub changed the meaning of macos-latest from macos-12 (amd64) to macos-14 (arm64): https://github.blog/changelog/2024-04-01-macos-14-sonoma-is-generally-available-and-the-latest-macos-runner-image/ If you are using a matrix of Ruby versions, a good solution is to run only < 2.6 on amd64, like so: matrix: ruby: ['2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3'] os: [ ubuntu-latest, macos-latest ] # CRuby < 2.6 does not support macos-arm64, so test those on amd64 instead exclude: - { os: macos-latest, ruby: '2.4' } - { os: macos-latest, ruby: '2.5' } include: - { os: macos-13, ruby: '2.4' } - { os: macos-13, ruby: '2.5' } But of course you should consider dropping support for these long-EOL Rubies, which cannot even be built on recent macOS machines. at validateRubyEngineAndVersion (/Users/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:65909:11) at setupRuby (/Users/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:65801:15) at run (/Users/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:65760:11) at /Users/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:65957:40 at /Users/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:65959:3 at Object.<anonymous> (/Users/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:65962:12) at Module._compile (node:internal/modules/cjs/loader:1358:14) at Module._extensions..js (node:internal/modules/cjs/loader:1416:10) at Module.load (node:internal/modules/cjs/loader:1208:32) at Module._load (node:internal/modules/cjs/loader:1024:12)
build (2.4 / macos-latest)
The job was canceled because "_2_5_macos-latest" failed.
build (2.4 / macos-latest)
Error: CRuby < 2.6 does not support macos-arm64. Either use a newer Ruby version or use a macOS image running on amd64, e.g., macos-13 or macos-12. Note that GitHub changed the meaning of macos-latest from macos-12 (amd64) to macos-14 (arm64): https://github.blog/changelog/2024-04-01-macos-14-sonoma-is-generally-available-and-the-latest-macos-runner-image/ If you are using a matrix of Ruby versions, a good solution is to run only < 2.6 on amd64, like so: matrix: ruby: ['2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3'] os: [ ubuntu-latest, macos-latest ] # CRuby < 2.6 does not support macos-arm64, so test those on amd64 instead exclude: - { os: macos-latest, ruby: '2.4' } - { os: macos-latest, ruby: '2.5' } include: - { os: macos-13, ruby: '2.4' } - { os: macos-13, ruby: '2.5' } But of course you should consider dropping support for these long-EOL Rubies, which cannot even be built on recent macOS machines. at validateRubyEngineAndVersion (/Users/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:65909:11) at setupRuby (/Users/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:65801:15) at run (/Users/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:65760:11) at /Users/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:65957:40 at /Users/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:65959:3 at Object.<anonymous> (/Users/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:65962:12) at Module._compile (node:internal/modules/cjs/loader:1358:14) at Module._extensions..js (node:internal/modules/cjs/loader:1416:10) at Module.load (node:internal/modules/cjs/loader:1208:32) at Module._load (node:internal/modules/cjs/loader:1024:12)
build (2.3 / macos-latest)
The job was canceled because "_2_5_macos-latest" failed.
build (2.3 / macos-latest)
Error: CRuby < 2.6 does not support macos-arm64. Either use a newer Ruby version or use a macOS image running on amd64, e.g., macos-13 or macos-12. Note that GitHub changed the meaning of macos-latest from macos-12 (amd64) to macos-14 (arm64): https://github.blog/changelog/2024-04-01-macos-14-sonoma-is-generally-available-and-the-latest-macos-runner-image/ If you are using a matrix of Ruby versions, a good solution is to run only < 2.6 on amd64, like so: matrix: ruby: ['2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3'] os: [ ubuntu-latest, macos-latest ] # CRuby < 2.6 does not support macos-arm64, so test those on amd64 instead exclude: - { os: macos-latest, ruby: '2.4' } - { os: macos-latest, ruby: '2.5' } include: - { os: macos-13, ruby: '2.4' } - { os: macos-13, ruby: '2.5' } But of course you should consider dropping support for these long-EOL Rubies, which cannot even be built on recent macOS machines. at validateRubyEngineAndVersion (/Users/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:65909:11) at setupRuby (/Users/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:65801:15) at run (/Users/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:65760:11) at /Users/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:65957:40 at /Users/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:65959:3 at Object.<anonymous> (/Users/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:65962:12) at Module._compile (node:internal/modules/cjs/loader:1358:14) at Module._extensions..js (node:internal/modules/cjs/loader:1416:10) at Module.load (node:internal/modules/cjs/loader:1208:32) at Module._load (node:internal/modules/cjs/loader:1024:12)
build (2.5 / ubuntu-latest)
The job was canceled because "_2_5_macos-latest" failed.
build (2.5 / ubuntu-latest)
The operation was canceled.
build (2.4 / ubuntu-latest)
The job was canceled because "_2_5_macos-latest" failed.
build (2.4 / ubuntu-latest)
The operation was canceled.
build (2.3 / ubuntu-latest)
The job was canceled because "_2_5_macos-latest" failed.
build (2.3 / ubuntu-latest)
The operation was canceled.
build (head / ubuntu-latest)
The job was canceled because "_2_5_macos-latest" failed.
build (head / ubuntu-latest)
The operation was canceled.
build (2.7 / macos-latest)
The job was canceled because "_2_5_macos-latest" failed.
build (2.7 / macos-latest)
The operation was canceled.
build (3.0 / ubuntu-latest)
The job was canceled because "_2_5_macos-latest" failed.
build (2.6 / macos-latest)
The job was canceled because "_2_5_macos-latest" failed.
build (3.0 / ubuntu-latest)
The operation was canceled.
build (2.6 / macos-latest)
The operation was canceled.
build (2.7 / ubuntu-latest)
The job was canceled because "_2_5_macos-latest" failed.
build (2.7 / ubuntu-latest)
The operation was canceled.
build (2.6 / ubuntu-latest)
The job was canceled because "_2_5_macos-latest" failed.
build (2.6 / ubuntu-latest)
The operation was canceled.
build (head / macos-latest)
The job was canceled because "_2_5_macos-latest" failed.
build (head / macos-latest)
The operation was canceled.
build (3.0 / macos-latest)
The job was canceled because "_2_5_macos-latest" failed.
build (3.0 / macos-latest)
The operation was canceled.
build (truffleruby-head / ubuntu-latest)
The job was canceled because "_2_5_macos-latest" failed.
build (truffleruby-head / ubuntu-latest)
The operation was canceled.
build (truffleruby-head / macos-latest)
The job was canceled because "_2_5_macos-latest" failed.
build (truffleruby-head / macos-latest)
The operation was canceled.