0x0LearnReferenceLibraries0x0.jmp0x1b.com

Troubleshooting

This guide groups common symptoms by the layer most likely to own the failure.

It does not replace exact diagnostics in Diagnostics.

Command Not Found

Symptom:


./bin/zero: not found

Check:


ls bin/zero
make

If release artifacts are missing and you intentionally want to rebuild from the

seed:


make bootstrap-from-seed

Needs verification: whether a distributed artifact bundle was expected for your

checkout.

Compiler Not Found In The LSP

Symptom:


0x0 compiler not found

Fix:


make bootstrap-from-seed

Or point the LSP at an existing compiler:


ZERO_LSP_COMPILER="$PWD/bin/zero" tools/zero-lsp --check examples/add.0x0

See Editor Support.

Parse Or Shape Errors

Typical causes:

Start with:


tools/zero-lsp --check path/to/file.0x0

Then compare with the grammar in Syntax and

Language Guide.

Type Or Arity Errors

Example failure:


./bin/zero run examples/compiler2-import-type.0x0

Expected result: non-zero exit status with an argument type mismatch diagnostic.

Check:

See Diagnostics and Type And Effect System.

Import Errors

Check:

0x0.lock;

Reference docs:

Pure Function Calls Host Effects

Symptom: a pure function calls read-file, write-file, print, panic, or

another effectful function.

Fix:

operations.

Reference docs:

Backend Unsupported

The compiler has multiple backend surfaces and not every source slice is

supported by every backend. If a path fails with a backend unsupported

diagnostic, check:

Use a smaller example to isolate whether the failure belongs to source

semantics, lowering, object generation, linking, or runtime execution.

Documentation Check Fails

Run the bounded checks first:


make documentation-impact-check
make public-site-link-check
make public-site-build-check

Then run:


make docs-check

Common causes:

Reference docs:

Self-Host Drift

Symptom:


stage2.oisa != stage3.oisa

Treat this as a compiler fixed-point failure. Check for nondeterministic output,

changed source ordering, annotations leaking into emitted OISA, or parser

differences between paths.

Reference docs:

Static Site Looks Stale

Check the source docs first, then rebuild or redeploy the site bundle according

to Public Site Build and

Public Site Release Checklist.

If a hook reports redeployment, verify the commit hash it names.