src/ez/prove.bend fails
raw source on the hub · import ezx@1.10.0.0/src/ez/prove.bend as Prove
ez/prove: the proof gate. Every PROOF.bend in the tree is run through bend,
all of them at once, and a proof passes only when the first line bend prints
is exactly ALL PROOFS CHECK. Nothing is cached: a gate CI leans on answers
for the tree in front of it, not for one it saw before.
The line is the verdict, never the exit status. Since bend 2.0.32 a file
with no main is answered ALL PROOFS CHECK or SOME PROOFS FAIL, and a
proof that reaches an @unsafe def or foreign code, imports included, fails
and exits 1 rather than passing with a note as 2.0.31 did. The gate reads
the line all the same: a status says nothing about what was checked, and
only that first line says every term was proved outright.
9 imports
import Base import 0xead4c7939c9eaca8d47da53b4496b731/main.bend as R import ../share/args.bend as Args import ../share/env.bend as Env import ../share/cap.bend as Cap import ./quiet.bend as Q import ./sorted.bend as Sort import ../ez/ends.bend as E import ../lock/run.bend as Run
The reader could not load this file (at 0xa75de0623b4b308c27d8fdf1abe399cb/src/ledger/manifest.bend:41). What bend.ts says:
Error:
- expected : a fresh name (duplicate declaration: Tool)
- observed : 'Tool'
Location:
40 | # not be the one.
41>| type Tool is Data:
| ^^^^
42 | Tool{name: String, entry: String, bin: String, source: Source}