122 lines
3.8 KiB
JSON
122 lines
3.8 KiB
JSON
{
|
|
"args": "",
|
|
"askedAt": "2026-10-03T14:25:18+00:00",
|
|
"compiler": "mojo_1_1_0",
|
|
"firstItem": "manual/snippet/manual-errors-1",
|
|
"key": "8f0f198a8ce601cc230cf0519b3aa07af747bbf67722ddde2a10946719cf1cb0",
|
|
"mode": "run",
|
|
"raw": {
|
|
"buildResult": {
|
|
"code": 1,
|
|
"compilationOptions": [
|
|
"build",
|
|
"/app/example.mojo"
|
|
],
|
|
"downloads": [],
|
|
"execTime": 196,
|
|
"executableFilename": "/nosym/tmp/compiler-explorer-compileralZ2sn/example",
|
|
"inputFilename": "example.mojo",
|
|
"instructionSet": "amd64",
|
|
"okToCache": true,
|
|
"processExecutionResultTime": 0.1068899966776371,
|
|
"stderr": [
|
|
{
|
|
"tag": {
|
|
"column": 1,
|
|
"file": "example.mojo",
|
|
"line": 2,
|
|
"severity": 3,
|
|
"text": "error: 'raise' requires a surrounding 'try' block or the enclosing function to declare 'raises'"
|
|
},
|
|
"text": "<source>:2:1: error: 'raise' requires a surrounding 'try' block or the enclosing function to declare 'raises'"
|
|
},
|
|
{
|
|
"text": "raise Error(\"file not found\")"
|
|
},
|
|
{
|
|
"text": "^~~~~~~~~~"
|
|
},
|
|
{
|
|
"tag": {
|
|
"column": 1,
|
|
"file": "example.mojo",
|
|
"line": 4,
|
|
"severity": 3,
|
|
"text": "error: backtick identifier must not be empty; add content between the backticks"
|
|
},
|
|
"text": "<source>:4:1: error: backtick identifier must not be empty; add content between the backticks"
|
|
},
|
|
{
|
|
"text": "```"
|
|
},
|
|
{
|
|
"text": "^"
|
|
},
|
|
{
|
|
"tag": {
|
|
"column": 1,
|
|
"file": "example.mojo",
|
|
"line": 3,
|
|
"severity": 3,
|
|
"text": "error: 'raise' requires a surrounding 'try' block or the enclosing function to declare 'raises'"
|
|
},
|
|
"text": "<source>:3:1: error: 'raise' requires a surrounding 'try' block or the enclosing function to declare 'raises'"
|
|
},
|
|
{
|
|
"text": "raise \"file not found\""
|
|
},
|
|
{
|
|
"text": "^~~~~~~~~~~~~~~~~~~~~"
|
|
},
|
|
{
|
|
"tag": {
|
|
"column": 3,
|
|
"file": "example.mojo",
|
|
"line": 4,
|
|
"severity": 3,
|
|
"text": "error: unterminated backtick identifier"
|
|
},
|
|
"text": "<source>:4:3: error: unterminated backtick identifier"
|
|
},
|
|
{
|
|
"text": "```"
|
|
},
|
|
{
|
|
"text": " ^"
|
|
},
|
|
{
|
|
"text": "/opt/compiler-explorer/mojo-1.1.0/bin/mojo: error: failed to parse the provided Mojo source module"
|
|
}
|
|
],
|
|
"stdout": [],
|
|
"timedOut": false,
|
|
"truncated": false
|
|
},
|
|
"code": -1,
|
|
"didExecute": false,
|
|
"execTime": 283,
|
|
"okToCache": false,
|
|
"queueTime": 5,
|
|
"stderr": [
|
|
{
|
|
"text": "Build failed"
|
|
}
|
|
],
|
|
"stdout": [],
|
|
"timedOut": false
|
|
},
|
|
"result": {
|
|
"asm": null,
|
|
"buildStderr": "<source>:2:1: error: 'raise' requires a surrounding 'try' block or the enclosing function to declare 'raises'\nraise Error(\"file not found\")\n^~~~~~~~~~\n<source>:4:1: error: backtick identifier must not be empty; add content between the backticks\n```\n^\n<source>:3:1: error: 'raise' requires a surrounding 'try' block or the enclosing function to declare 'raises'\nraise \"file not found\"\n^~~~~~~~~~~~~~~~~~~~~\n<source>:4:3: error: unterminated backtick identifier\n```\n ^\n/opt/compiler-explorer/mojo-1.1.0/bin/mojo: error: failed to parse the provided Mojo source module",
|
|
"compiled": false,
|
|
"executed": false,
|
|
"exitCode": -1,
|
|
"stderr": "Build failed",
|
|
"stdout": "",
|
|
"timedOut": false
|
|
},
|
|
"seconds": 0.49,
|
|
"sourceSha256": "8bf599bc2fcd8b63a880c5f75258d6c057c9fd616cd04bed33e31aca536b5cc5",
|
|
"stdin": ""
|
|
}
|