Title: fleet-command runner surface: no cargo toolchain, and nix cannot build (nixbld group missing; /homeless-shelter purity error) · Issue #13331 · developing-today/code · GitHub
Open Graph Title: fleet-command runner surface: no cargo toolchain, and nix cannot build (nixbld group missing; /homeless-shelter purity error) · Issue #13331 · developing-today/code
X Title: fleet-command runner surface: no cargo toolchain, and nix cannot build (nixbld group missing; /homeless-shelter purity error) · Issue #13331 · developing-today/code
Description: Found 2026-11-23 while dispatching a Rust test run for #5756 (PR #13330) through the documented fallback (gh workflow run fleet-command.yml --repo developing-today/fleet). The standard Fleet build container (ghcr.io/dezren39/fleet-build-...
Open Graph Description: Found 2026-11-23 while dispatching a Rust test run for #5756 (PR #13330) through the documented fallback (gh workflow run fleet-command.yml --repo developing-today/fleet). The standard Fleet build ...
X Description: Found 2026-11-23 while dispatching a Rust test run for #5756 (PR #13330) through the documented fallback (gh workflow run fleet-command.yml --repo developing-today/fleet). The standard Fleet build ...
Opengraph URL: https://github.com/developing-today/code/issues/13331
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"fleet-command runner surface: no cargo toolchain, and nix cannot build (nixbld group missing; /homeless-shelter purity error)","articleBody":"Found 2026-11-23 while dispatching a Rust test run for #5756 (PR #13330) through the documented fallback (`gh workflow run fleet-command.yml --repo developing-today/fleet`).\n\nThe standard Fleet build container (ghcr.io/dezren39/fleet-build-full) cannot run a Rust build/test command today:\n\n1. **No Rust toolchain on the surface.** `which cargo rustc rustup` finds nothing; PATH is `/home/vscode/.nix-profile/bin:/usr/local/go/bin:...` (nix, go, python3 only). The workflow's CARGO_HOME/RUSTUP_HOME caches (`.fleet/cache/{cargo,rustup}`) restore empty on a cold key, and nothing installs a toolchain into them. The runbook's example command (`cargo test --workspace`, `pkgs/fleet/doc/agents/remote-build-and-test.md`) fails with `cargo: command not found` (run 45177566734).\n2. **The nix route is broken in the container.** `nix develop` against the code repo's root flake first needs `--extra-experimental-features 'nix-command flakes'` (acceptable), then fails: `error: the group 'nixbld' specified in 'build-users-group' does not exist` (run 45179906596). With `--option build-users-group ''` it fetches substitutes fine but fails at build time: `error: home directory '/homeless-shelter' exists; please remove it to assure purity of builds without sandboxing` (run 45183462671).\n\n**Workaround used for PR #13330 (works, and warms the caches):** the dispatched command bootstraps the pinned toolchain via rustup into the run's CARGO_HOME/RUSTUP_HOME: `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.99.1 --profile minimal`, then `export PATH=\"/bin:/opt/hatch/bin:/opt/hatch-image/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/hatch/workspace/custom-skills/in-flight-reasoning-log/scripts:/opt/muse/skills/documents/scripts:/opt/muse/skills/generate_podcast/scripts:/opt/muse/skills/style-tryon/scripts\"`. Run 45185203954 passed end to end with it.\n\n**Ask:** make the standard surface run the runbook's plain cargo commands — either pre-install a rustup-managed toolchain in the build image (or restore one into the fleet-deps cache under the toolchain-file key), or fix the container's nix configuration (create the nixbld group / set build-users-group empty + sandbox off coherently) so `nix develop` works. Until then every Rust dispatch rediscovers this.\n\nRefs: #5756, PR #13330. Runs: 45177566734 (cargo missing), 45179906596 (nixbld), 45183462671 (homeless-shelter), 45184417123 + 45185203954 (rustup bootstrap; the second is the passing one).","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-23T13:38:51Z","url":"https://github.com/developing-today/code/issues/13331"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ed84e855-9c39-17ac-e664-291c57066f5a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8442:3CBF9:524C2B:6A8FBB:6B061E4A |
| html-safe-nonce | 469607f5bbc22975f8d311e861db001c056635a191b3e56dfa3a73b94bf800ec |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDQyOjNDQkY5OjUyNEMyQjo2QThGQkI6NkIwNjFFNEEiLCJ2aXNpdG9yX2lkIjoiNjEwNzM5MDY5ODY3NDU5MzM1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | db2c5e603a0261f72e075f4143c43981de2ab7761431bcf94e4d11a119cdcb6b |
| hovercard-subject-tag | issue:6560581522 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/13331/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e43479b8b802fbba27da56a17593e7c3767d0f5cd4c29e88fdaec9ecbc72320c/developing-today/code/issues/13331 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e43479b8b802fbba27da56a17593e7c3767d0f5cd4c29e88fdaec9ecbc72320c/developing-today/code/issues/13331 |
| og:image:alt | Found 2026-11-23 while dispatching a Rust test run for #5756 (PR #13330) through the documented fallback (gh workflow run fleet-command.yml --repo developing-today/fleet). The standard Fleet build ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9a7c5824b75ea2ec5e3de73a483229c7bb9f32a774ffd401f010dd9bacf1483d |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b25c3080e84402f75431d8dc7a96b2635219cec7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width