src/ws/doctor.bend fails
raw source on the hub · import ezx@1.10.0.0/src/ws/doctor.bend as Doctor
ws/doctor: ez doctor at a workspace root (EZ-WS-9). The doctor runs at the
root, as ez lock does (ws/hop.bend), on a World whose ledger is the joint
ledger (ws/joint.bend), so the toolchain, the ledger, the lock, the library
and the lock check are judged over every member's ledger as the lock is
made from them. The drift report is each member's own: the hashes its import
lines name that its ledger does not, and the dependencies of its ledger no
import line of its own names, with each workspace = true section resolved
to the member's package as the joint ledger resolves it. A member whose
package walks to a hash the lock does not record for it is reported too.
Every report that is a problem fails the command (DP.plan.notes).
12 imports
import Base import ../doctor/plan.bend as DP import ../doctor/world.bend as DW import ../lock/plan.bend as P import ../lock/world.bend as LW import ../ledger/manifest.bend as M import ../ledger/render.bend as Rend import ../pkg/pkg.bend as K import ../pub/plan.bend as PP import ./workspace.bend as W import ./joint.bend as J import ./moved.bend as Mv
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}