You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Release UAT: user-programs-safe is red on every leg: 28 unsafe in the zlib/bzip2/sqlite3/libcurl fixtures until modeled C (D51) covers them #1376
Every nightly leg that reaches :release-uat fails user-programs-safe (latest: run 35616828206, linux-x86_64 and windows-aarch64):
error: user-programs-safe: 28 uses of `unsafe` in release UAT fixtures and examples; a user program never needs one - fix the compiler, never the program
The 28 uses are all in four fixtures:
build/release_uat_fixtures/libcurl_main.w (8): curl_easy_init, curl_easy_setopt, curl_easy_cleanup, curl_version_info and a field read
build/release_uat_fixtures/bzip2_main.w (4) and build/release_uat_fixtures/zlib_main.w (4): BZ2_bzBuffToBuff* and compress/uncompress through &raw mut buffers, plus an unsafe fn same_prefix
Class
This red is intentional. #1222 (db6f935) added the gate as the list of C surfaces the compiler has not yet made humane, and CLAUDE.md forbids editing the fixtures to pass it. The rule that clears it is D51 (docs/Ruling-modeled-C-ownership-effects-conventions-and-foreign-lifetimes.md): each of these surfaces needs an explicit c facade, an adopted convention profile or a proof. §66 orders the SQLite facade first, and the fixtures are rewritten only after that facade compiles against the real header.
This issue is the tracker, so the nightly red has an owner. It closes when the four fixtures pass user-programs-safe, each rewritten as part of the facade change that makes its safe spelling compile, not before.
Checklist
sqlite3: facade (D51 §66, first)
zlib: buffer in/out without &raw mut
bzip2: same shape as zlib
libcurl: handle lifecycle (curl_easy_init/cleanup) as an owned value, curl_version_info as a static-lifetime view
Activity
seed: darwin-aarch64 pins nightly-20260922-local-1-8c859a7d0559 (#1325'…
ehartford commentedon Sep 26, 2026
Verified fixed on main 55739d4 (release binary): zero
unsafein the release UAT fixtures; :user-programs-safe is a gate and green.