Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

build.yml: macOS arm64 DMG fails, cargo missing on the macos-26 runner image

オープン 初心者向け
#1,423 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github-actions, rust, typescript

調査の方向性

build.ymlを読み、macOSのコンポジタージョブとci.ymlのRustインストール手順を比較してください。失敗はBuild Metal compositor addonでnpm run build:native:compositor:macを実行するときに発生します。両方のmacOSランナーでツールチェーンが利用できることを確認してください。arm64 DMGのワークフローが正常に完了し、x64ジョブもカバーされれば完了です。

索引モデルが issue の本文から書いたものです。

説明

build.yml's macOS arm64 DMG job fails on main @ 5d82a0cb2: the runner image no longer ships Rust, and the job never installs it.

Run: https://github.com/getopenscreen/openscreen/actions/runs/40772284800 (workflow_dispatch on main)

Failing step: Build Metal compositor addon → npm run build:native:compositor:mac

Error: cargo not found at /Users/runner/.cargo/bin/cargo. Install Rust (https://rustup.rs) first.
    at scripts/build-macos-compositor-addon.mjs:93

Runner image: macos-26-arm64 20261021.0445.8 (macos-latest). The last green arm64 build (run 39270054626, 19/10) ran on an older image that still had ~/.cargo/bin/cargo. The cargo cache step restores fine, but restores no toolchain.

Why it matters: prerelease.yml dispatches this same workflow, so the next RC cannot produce an Apple Silicon DMG.

Likely fix: the Install Rust toolchain step ci.yml already runs before its macOS compositor jobs (rustup with --target aarch64-apple-darwin), added to the macOS job of build.yml. The x64 job runs on macos-15-intel and may still have Rust preinstalled; worth installing it there too so the next image bump doesn't break it.

Found during the macOS e2e pass for #1422.

主要言語
TypeScript
スター
3.7k
フォーク
231
平均マージ
16時間 38分
マージ済み PR(30日)
327

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

getopenscreen/openscreen のほかの issue

getopenscreen/openscreen の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。