100 lines
3.0 KiB
JSON
Generated
100 lines
3.0 KiB
JSON
Generated
{
|
|
"args": "--target-cpu x86-64-v3 --fp-mode contract=off",
|
|
"askedAt": "2026-11-12T18:35:15+00:00",
|
|
"attempts": 1,
|
|
"compiler": "mojo_1_2_0",
|
|
"firstItem": "quest/MQ-102/starter",
|
|
"key": "dc88eccdc19612e9275e854deddf3cae9060e7fc6f5e6e6dc6ef4164666a8254",
|
|
"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": 292,
|
|
"executableFilename": "/nosym/tmp/compiler-explorer-compilerNolumx/output.s",
|
|
"inputFilename": "example.mojo",
|
|
"instructionSet": "amd64",
|
|
"okToCache": true,
|
|
"processExecutionResultTime": 0.06771799921989441,
|
|
"stderr": [
|
|
{
|
|
"tag": {
|
|
"column": 1,
|
|
"file": "example.mojo",
|
|
"line": 2,
|
|
"severity": 3,
|
|
"text": "error: expressions must not appear at file scope; move this into a function body"
|
|
},
|
|
"text": "<source>:2:1: error: expressions must not appear at file scope; move this into a function body"
|
|
},
|
|
{
|
|
"text": "print(\"MQ Robotics nav stack online\")"
|
|
},
|
|
{
|
|
"text": "^"
|
|
},
|
|
{
|
|
"tag": {
|
|
"column": 12,
|
|
"file": "example.mojo",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"text": "error: body must not be empty; use 'pass' or check that the lines below are indented"
|
|
},
|
|
"text": "<source>:1:12: error: body must not be empty; use 'pass' or check that the lines below are indented"
|
|
},
|
|
{
|
|
"text": "def main():"
|
|
},
|
|
{
|
|
"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": 411,
|
|
"okToCache": false,
|
|
"queueTime": 5,
|
|
"stderr": [
|
|
{
|
|
"text": "Build failed"
|
|
}
|
|
],
|
|
"stdout": [],
|
|
"timedOut": false
|
|
},
|
|
"result": {
|
|
"asm": null,
|
|
"buildStderr": "<source>:2:1: error: expressions must not appear at file scope; move this into a function body\nprint(\"MQ Robotics nav stack online\")\n^\n<source>:1:12: error: body must not be empty; use 'pass' or check that the lines below are indented\ndef main():\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.62,
|
|
"sourceSha256": "0c3c42e04d7c07e20eda2a396de84eeedc29ac0ae718fc42b036cbb6bb8898f5",
|
|
"stdin": ""
|
|
}
|