Error codes

E0100: dependency or file not found

In a terminal: auk explain E0100 prints this page.

On this page

A dependency listed in raft.toml isn't installed under .raft/, or a source file of the program couldn't be read. Auk resolves every path (geo.area) at compile time, so a missing package is reported up front instead of failing later.

Wrong#

toml
[package]
name = "app"
version = "0.1.0"

[deps]
geo = "^0.1"
auk
fn main() { print(geo.double(2)) }

Fixed#

Run raft install, which fetches geo into .raft/geo/:

auk
pub fn double(n: int): int = n * 2

Common causes#

  • raft install hasn't been run since the dependency was added (or after a fresh clone).
  • The .raft/ folder was deleted or is out of date.
  • A typo in the dependency name in raft.toml.

Stuck on a word? Try the glossary. Got a compiler error? Look up its code. Improve this page