132 lines
4.1 KiB
JSON
Generated
132 lines
4.1 KiB
JSON
Generated
{
|
|
"args": "--target-cpu x86-64-v3 --fp-mode contract=off",
|
|
"askedAt": "2026-11-12T18:29:41+00:00",
|
|
"attempts": 1,
|
|
"compiler": "mojo_1_2_0",
|
|
"firstItem": "manual/snippet/manual-errors-1",
|
|
"key": "6dbb13f1db323db75da06334011ee43bb6befab46bd92a0f090845881b8b6f60",
|
|
"mode": "run",
|
|
"raw": {
|
|
"buildResult": {
|
|
"code": 1,
|
|
"compilationOptions": [
|
|
"build",
|
|
"-g1",
|
|
"-o",
|
|
"/app/output.s",
|
|
"--target-cpu",
|
|
"x86-64-v3",
|
|
"--fp-mode",
|
|
"contract=off",
|
|
"/app/example.mojo",
|
|
"-Xlinker=-L./lib",
|
|
"-Xlinker=-rpath=./lib"
|
|
],
|
|
"downloads": [],
|
|
"execTime": 112,
|
|
"executableFilename": "/nosym/tmp/compiler-explorer-compilerw44GI1/output.s",
|
|
"inputFilename": "example.mojo",
|
|
"instructionSet": "amd64",
|
|
"okToCache": true,
|
|
"processExecutionResultTime": 0.062145999632775784,
|
|
"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.2.0/bin/mojo: error: failed to parse the provided Mojo source module"
|
|
}
|
|
],
|
|
"stdout": [],
|
|
"timedOut": false,
|
|
"truncated": false
|
|
},
|
|
"code": -1,
|
|
"didExecute": false,
|
|
"execTime": 211,
|
|
"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.2.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.42,
|
|
"sourceSha256": "8bf599bc2fcd8b63a880c5f75258d6c057c9fd616cd04bed33e31aca536b5cc5",
|
|
"stdin": ""
|
|
}
|