omega-mcp
aien-dev/omega-mcp
Brought by drakestapleton
omega-mcp / evidence / 3537baad / e14-server.txt
| 1 | { |
| 2 | "query": "omc: line 1: error 14", |
| 3 | "kind": "compile_error", |
| 4 | "code": 14, |
| 5 | "exit_status": 14, |
| 6 | "line": 1, |
| 7 | "meaning": "capacity exceeded", |
| 8 | "cause": "The unit needs more than a capacity omc still has. Every table that grows with the unit (input, output, names, functions, calls, trap sites, blocks, breaks) lives in one 128 MiB arena: a unit that fills it is refused, and stderr then carries an `omc-use` record with full=1 after the error line. The other bounds are values nested deeper than 32768 levels, AArch64 output past 128 MiB, and the fixed tables OMEGESE 9.6 lists (for example 16 fields a struct, as in the example, 32 `export fn`, 64 unrolled copies and 4 inline levels).", |
| 9 | "fix": "Bring the construct under the bound OMEGESE 9.6 names, or split the unit. A unit whose first line is `usage` compiles as usual and prints its `omc-use` record (what each arena group holds) instead of the binary.", |
| 10 | "citations": [ |
| 11 | { |
| 12 | "ref": "omega-mv@3537baad seed/omc/omc.om:636", |
| 13 | "quote": "fail 14" |
| 14 | }, |
| 15 | { |
| 16 | "ref": "omega-mv@3537baad seed/omc/omc.om:1224", |
| 17 | "quote": "fn fail code ulong to void" |
| 18 | }, |
| 19 | { |
| 20 | "ref": "omega-mv@3537baad docs/one_layer/OMEGESE.md:559", |
| 21 | "quote": "input past a real capacity is refused with error 14, never overrun" |
| 22 | }, |
| 23 | { |
| 24 | "ref": "omega-mv@3537baad docs/one_layer/OMEGESE.md:580-581", |
| 25 | "quote": "A unit whose tables need more is error 14 on the line being read" |
| 26 | }, |
| 27 | { |
| 28 | "ref": "omega-mv@3537baad docs/one_layer/OMEGESE.md:604-605", |
| 29 | "quote": "16 structs, 16 fields and 64 cells a struct" |
| 30 | }, |
| 31 | { |
| 32 | "ref": "omega-mv@3537baad seed/omc/gate15.sh:155", |
| 33 | "quote": "refusal cases (codes 1..25, 27..30; 24 with its accept side)" |
| 34 | } |
| 35 | ], |
| 36 | "example": { |
| 37 | "id": "e14", |
| 38 | "expect": { |
| 39 | "mode": "error", |
| 40 | "code": 14, |
| 41 | "line": 1 |
| 42 | }, |
| 43 | "source": "struct S a long b long c long d long e long f long g long h long i long j long k long l long m long n long o long p long q long end\nfn main to int\nret 0\nend\n" |
| 44 | } |
| 45 | } |
| 46 | PASS explain_error 14 returns the regenerated arena entry |
| 47 | {"ok": false, "error": {"line": 1, "code": 14, "meaning": "capacity exceeded", "fix": "Bring the construct under the bound OMEGESE 9.6 names, or split the unit. A unit whose first line is `usage` compiles as usual and prints its `omc-use` record (what each arena group holds) instead of the binary.", "compiler_stderr": "omc: line 1: error 14\n"}, "compiler_sha256": "c52e986ed693c241f0bbb5c673a81a4aef70b9b923c447004360ffd111383607", "isolation": "bwrap+prlimit: no network, no host files, cleared environment, cpu/as/fsize/nproc limits, server wall clock"} |
| 48 | PASS example e14 (a struct with 17 fields, past the 16 of OMEGESE 9.6) through compile: error 14 line 1 |
| 49 | server exit 0 |
| 50 | rc=0 |