Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
ci: use the pinned Rust toolchain in driver workflows (#4099)
Francesco Bonacci8624f4c25358
diff --git a/.github/workflows/authorized-live-jev-use.yml b/.github/workflows/authorized-live-jev-use.ymlindex 93a4a9a793..4608c6e18e 100644--- a/.github/workflows/authorized-live-jev-use.yml+++ b/.github/workflows/authorized-live-jev-use.yml@@ -67,7 +67,7 @@ jobs:- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4with:ref: ${{ needs.source.outputs.sha }}- - uses: dtolnay/rust-toolchain@6bed0761d98439e5a578e2877258200ad565ba87 # stable+ - uses: dtolnay/rust-toolchain@4716b85f2fac3e324e64fa2810f6b5c3905760a5 # 1.97.1- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5with:python-version: "3.12"diff --git a/.github/workflows/cd-cua-driver-docs.yml b/.github/workflows/cd-cua-driver-docs.ymlindex a32037721f..3addbee595 100644--- a/.github/workflows/cd-cua-driver-docs.yml+++ b/.github/workflows/cd-cua-driver-docs.yml@@ -44,7 +44,7 @@ jobs:working-directory: docs- name: Setup Rust toolchain- uses: dtolnay/rust-toolchain@stable+ uses: dtolnay/rust-toolchain@4716b85f2fac3e324e64fa2810f6b5c3905760a5 # 1.97.1- name: Build cua-driver (release)run: cargo build -p cua-driver --releasediff --git a/.github/workflows/cd-rust-cua-driver.yml b/.github/workflows/cd-rust-cua-driver.ymlindex 34f48466a3..2a35aa6f38 100644--- a/.github/workflows/cd-rust-cua-driver.yml+++ b/.github/workflows/cd-rust-cua-driver.yml@@ -260,7 +260,7 @@ jobs:VERSION="${{ inputs.version }}"fiecho "version=$VERSION" >> "$GITHUB_OUTPUT"- - uses: dtolnay/rust-toolchain@stable+ - uses: dtolnay/rust-toolchain@4716b85f2fac3e324e64fa2810f6b5c3905760a5 # 1.97.1with:targets: ${{ matrix.target }}- uses: actions/cache@v4@@ -352,7 +352,7 @@ jobs:VERSION="${{ inputs.version }}"fiecho "version=$VERSION" >> "$GITHUB_OUTPUT"- - uses: dtolnay/rust-toolchain@stable+ - uses: dtolnay/rust-toolchain@4716b85f2fac3e324e64fa2810f6b5c3905760a5 # 1.97.1with:targets: ${{ matrix.target }}# rustup can drop non-host std components while updating an existing@@ -684,7 +684,7 @@ jobs:exit 1fiecho "Imported $CERT_COUNT Developer ID Application certificate(s)"- - uses: dtolnay/rust-toolchain@stable+ - uses: dtolnay/rust-toolchain@4716b85f2fac3e324e64fa2810f6b5c3905760a5 # 1.97.1with:targets: aarch64-apple-darwin, x86_64-apple-darwin- name: Ensure Rust targets are installeddiff --git a/.github/workflows/ci-cua-driver-contract-clients.yml b/.github/workflows/ci-cua-driver-contract-clients.ymlindex 281aff85b6..9d546229e7 100644--- a/.github/workflows/ci-cua-driver-contract-clients.yml+++ b/.github/workflows/ci-cua-driver-contract-clients.yml@@ -76,7 +76,7 @@ jobs:os: [ubuntu-latest, macos-latest, windows-latest]steps:- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4- - uses: dtolnay/rust-toolchain@stable+ - uses: dtolnay/rust-toolchain@4716b85f2fac3e324e64fa2810f6b5c3905760a5 # 1.97.1- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2with:workspaces: "libs/cua-driver/rust -> target"@@ -135,7 +135,7 @@ jobs:os: [ubuntu-latest, macos-latest, windows-latest]steps:- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4- - uses: dtolnay/rust-toolchain@stable+ - uses: dtolnay/rust-toolchain@4716b85f2fac3e324e64fa2810f6b5c3905760a5 # 1.97.1- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2with:workspaces: "libs/cua-driver/rust -> target"@@ -211,7 +211,7 @@ jobs:timeout-minutes: 30steps:- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4- - uses: dtolnay/rust-toolchain@stable+ - uses: dtolnay/rust-toolchain@4716b85f2fac3e324e64fa2810f6b5c3905760a5 # 1.97.1- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2with:workspaces: "libs/cua-driver/rust -> target"diff --git a/.github/workflows/ci-cua-driver-quick.yml b/.github/workflows/ci-cua-driver-quick.ymlindex dc7629311c..9cc83fe41d 100644--- a/.github/workflows/ci-cua-driver-quick.yml+++ b/.github/workflows/ci-cua-driver-quick.yml@@ -22,7 +22,7 @@ jobs:timeout-minutes: 20steps:- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4- - uses: dtolnay/rust-toolchain@stable+ - uses: dtolnay/rust-toolchain@4716b85f2fac3e324e64fa2810f6b5c3905760a5 # 1.97.1with:components: rustfmt- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2diff --git a/.github/workflows/ci-cua-driver-valgrind.yml b/.github/workflows/ci-cua-driver-valgrind.ymlindex f8a7703e57..59b51deb39 100644--- a/.github/workflows/ci-cua-driver-valgrind.yml+++ b/.github/workflows/ci-cua-driver-valgrind.yml@@ -35,7 +35,7 @@ jobs:- uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6# Keep in sync with libs/cua-driver/rust/rust-toolchain.toml; the action# exports RUSTUP_TOOLCHAIN, which outranks the toolchain file.- - uses: dtolnay/[email protected]+ - uses: dtolnay/rust-toolchain@4716b85f2fac3e324e64fa2810f6b5c3905760a5 # 1.97.1- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2with:workspaces: "libs/cua-driver/rust -> target"diff --git a/.github/workflows/ci-driver-mcp-candidate.yml b/.github/workflows/ci-driver-mcp-candidate.ymlindex e490d81ce2..b8c94ecd84 100644--- a/.github/workflows/ci-driver-mcp-candidate.yml+++ b/.github/workflows/ci-driver-mcp-candidate.yml@@ -46,7 +46,7 @@ jobs:set -euo pipefailtest "$(git rev-parse HEAD)" = "$EXPECTED_SOURCE_SHA"test -z "$(git status --porcelain)"- - uses: dtolnay/rust-toolchain@stable+ - uses: dtolnay/rust-toolchain@4716b85f2fac3e324e64fa2810f6b5c3905760a5 # 1.97.1- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2with:workspaces: "libs/cua-driver/rust -> target"diff --git a/.github/workflows/ci-jev-use.yml b/.github/workflows/ci-jev-use.ymlindex e6f3c2d104..7e56fdcd34 100644--- a/.github/workflows/ci-jev-use.yml+++ b/.github/workflows/ci-jev-use.yml@@ -91,7 +91,7 @@ jobs:- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4with:ref: ${{ github.event.pull_request.head.sha || github.sha }}- - uses: dtolnay/rust-toolchain@stable+ - uses: dtolnay/rust-toolchain@4716b85f2fac3e324e64fa2810f6b5c3905760a5 # 1.97.1- uses: actions/setup-python@v5with:python-version: "3.12"diff --git a/.github/workflows/ci-rust-format.yml b/.github/workflows/ci-rust-format.ymlindex 987485ca66..4084fdc86d 100644--- a/.github/workflows/ci-rust-format.yml+++ b/.github/workflows/ci-rust-format.yml@@ -31,7 +31,7 @@ jobs:steps:- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4- name: Install pinned Rust toolchain- uses: dtolnay/[email protected]+ uses: dtolnay/rust-toolchain@4716b85f2fac3e324e64fa2810f6b5c3905760a5 # 1.97.1with:components: rustfmt- name: Check Rust formattingdiff --git a/.github/workflows/ci-rust-linux.yml b/.github/workflows/ci-rust-linux.ymlindex 5f17995cc8..79c6e412cb 100644--- a/.github/workflows/ci-rust-linux.yml+++ b/.github/workflows/ci-rust-linux.yml@@ -120,7 +120,7 @@ jobs:node-version: "22"- name: Verify shared fixture scroll journalrun: node --test libs/cua-driver/tests/fixtures/shared/web/journal.test.cjs- - uses: dtolnay/rust-toolchain@stable+ - uses: dtolnay/rust-toolchain@4716b85f2fac3e324e64fa2810f6b5c3905760a5 # 1.97.1- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2with:workspaces: "libs/cua-driver/rust -> target"diff --git a/.github/workflows/ci-rust-windows.yml b/.github/workflows/ci-rust-windows.ymlindex aa5b4457d8..00f2eb0964 100644--- a/.github/workflows/ci-rust-windows.yml+++ b/.github/workflows/ci-rust-windows.yml@@ -55,7 +55,7 @@ jobs:timeout-minutes: ${{ github.event_name == 'workflow_dispatch' && inputs.proxy_idle_seconds > 1 && 90 || 30 }}steps:- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4- - uses: dtolnay/rust-toolchain@stable+ - uses: dtolnay/rust-toolchain@4716b85f2fac3e324e64fa2810f6b5c3905760a5 # 1.97.1- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2with:workspaces: "libs/cua-driver/rust -> target"diff --git a/.github/workflows/ci-swift-linker.yml b/.github/workflows/ci-swift-linker.ymlindex 7c3b07ad2c..6477cef319 100644--- a/.github/workflows/ci-swift-linker.yml+++ b/.github/workflows/ci-swift-linker.yml@@ -44,7 +44,7 @@ jobs:timeout-minutes: 20steps:- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5- - uses: dtolnay/rust-toolchain@stable+ - uses: dtolnay/rust-toolchain@4716b85f2fac3e324e64fa2810f6b5c3905760a5 # 1.97.1- name: Verify native linker outputenv:TMPDIR: ${{ runner.temp }}/diff --git a/.github/workflows/e2e-rust-linux-wayland.yml b/.github/workflows/e2e-rust-linux-wayland.ymlindex 9d030df332..cc746a1484 100644--- a/.github/workflows/e2e-rust-linux-wayland.yml+++ b/.github/workflows/e2e-rust-linux-wayland.yml@@ -80,7 +80,7 @@ jobs:- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4with:ref: ${{ needs.source.outputs.sha }}- - uses: dtolnay/rust-toolchain@stable+ - uses: dtolnay/rust-toolchain@4716b85f2fac3e324e64fa2810f6b5c3905760a5 # 1.97.1- name: Install Sway and Rust build dependenciesif: startsWith(inputs.environment, 'sway')shell: bashdiff --git a/.github/workflows/e2e-rust-linux.yml b/.github/workflows/e2e-rust-linux.ymlindex 631223f232..e16180f8b2 100644--- a/.github/workflows/e2e-rust-linux.yml+++ b/.github/workflows/e2e-rust-linux.yml@@ -79,7 +79,7 @@ jobs:- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4with:ref: ${{ needs.source.outputs.sha }}- - uses: dtolnay/rust-toolchain@stable+ - uses: dtolnay/rust-toolchain@4716b85f2fac3e324e64fa2810f6b5c3905760a5 # 1.97.1- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2with:workspaces: "libs/cua-driver/rust -> target"@@ -128,7 +128,7 @@ jobs:- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4with:ref: ${{ needs.source.outputs.sha }}- - uses: dtolnay/rust-toolchain@stable+ - uses: dtolnay/rust-toolchain@4716b85f2fac3e324e64fa2810f6b5c3905760a5 # 1.97.1- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2with:workspaces: "libs/cua-driver/rust -> target"@@ -178,7 +178,7 @@ jobs:- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4with:ref: ${{ needs.source.outputs.sha }}- - uses: dtolnay/rust-toolchain@stable+ - uses: dtolnay/rust-toolchain@4716b85f2fac3e324e64fa2810f6b5c3905760a5 # 1.97.1- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2with:workspaces: "libs/cua-driver/rust -> target"@@ -227,7 +227,7 @@ jobs:- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4with:ref: ${{ needs.source.outputs.sha }}- - uses: dtolnay/rust-toolchain@stable+ - uses: dtolnay/rust-toolchain@4716b85f2fac3e324e64fa2810f6b5c3905760a5 # 1.97.1- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2with:workspaces: "libs/cua-driver/rust -> target"diff --git a/.github/workflows/e2e-rust-standalone-browsers.yml b/.github/workflows/e2e-rust-standalone-browsers.ymlindex ef9a9f4510..2af1c4ad84 100644--- a/.github/workflows/e2e-rust-standalone-browsers.yml+++ b/.github/workflows/e2e-rust-standalone-browsers.yml@@ -71,7 +71,7 @@ jobs:- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4with:ref: ${{ needs.source.outputs.sha }}- - uses: dtolnay/rust-toolchain@stable+ - uses: dtolnay/rust-toolchain@4716b85f2fac3e324e64fa2810f6b5c3905760a5 # 1.97.1- name: Install Windows video toolsif: runner.os == 'Windows'shell: pwshdiff --git a/.github/workflows/e2e-rust-windows.yml b/.github/workflows/e2e-rust-windows.ymlindex d3b9531022..635d103186 100644--- a/.github/workflows/e2e-rust-windows.yml+++ b/.github/workflows/e2e-rust-windows.yml@@ -78,7 +78,7 @@ jobs:- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4with:ref: ${{ needs.source.outputs.sha }}- - uses: dtolnay/rust-toolchain@stable+ - uses: dtolnay/rust-toolchain@4716b85f2fac3e324e64fa2810f6b5c3905760a5 # 1.97.1- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2with:workspaces: "libs/cua-driver/rust -> target"@@ -123,7 +123,7 @@ jobs:- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4with:ref: ${{ needs.source.outputs.sha }}- - uses: dtolnay/rust-toolchain@stable+ - uses: dtolnay/rust-toolchain@4716b85f2fac3e324e64fa2810f6b5c3905760a5 # 1.97.1- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2with:workspaces: "libs/cua-driver/rust -> target"@@ -168,7 +168,7 @@ jobs:- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4with:ref: ${{ needs.source.outputs.sha }}- - uses: dtolnay/rust-toolchain@stable+ - uses: dtolnay/rust-toolchain@4716b85f2fac3e324e64fa2810f6b5c3905760a5 # 1.97.1- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2with:workspaces: "libs/cua-driver/rust -> target"@@ -213,7 +213,7 @@ jobs:- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4with:ref: ${{ needs.source.outputs.sha }}- - uses: dtolnay/rust-toolchain@stable+ - uses: dtolnay/rust-toolchain@4716b85f2fac3e324e64fa2810f6b5c3905760a5 # 1.97.1- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2with:workspaces: "libs/cua-driver/rust -> target"