116 lines
3.6 KiB
JSON
Generated
116 lines
3.6 KiB
JSON
Generated
{
|
|
"args": "--target-cpu x86-64-v3 --fp-mode contract=off",
|
|
"askedAt": "2026-11-12T18:36:48+00:00",
|
|
"attempts": 1,
|
|
"compiler": "mojo_1_2_0",
|
|
"firstItem": "quest/MQ-222/starter",
|
|
"key": "d374fb7aaac91260c001b84f84266addb18f1d0c088ceabfa468c5ad9f157bae",
|
|
"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": 365,
|
|
"executableFilename": "/nosym/tmp/compiler-explorer-compiler9IdHar/output.s",
|
|
"inputFilename": "example.mojo",
|
|
"instructionSet": "amd64",
|
|
"okToCache": true,
|
|
"processExecutionResultTime": 0.06724399980157614,
|
|
"stderr": [
|
|
{
|
|
"tag": {
|
|
"column": 39,
|
|
"file": "example.mojo",
|
|
"line": 5,
|
|
"severity": 3,
|
|
"text": "error: cannot call function that may raise in a context that cannot raise"
|
|
},
|
|
"text": "<source>:5:39: error: cannot call function that may raise in a context that cannot raise"
|
|
},
|
|
{
|
|
"text": " print(\"joint angle:\", joint_angles[\"joint_3\"])"
|
|
},
|
|
{
|
|
"text": " ~~~~~~~~~~~~^~~~~~~~~~~"
|
|
},
|
|
{
|
|
"tag": {
|
|
"column": 39,
|
|
"file": "example.mojo",
|
|
"line": 5,
|
|
"severity": 1,
|
|
"text": "note: try surrounding the call in a 'try' block"
|
|
},
|
|
"text": "<source>:5:39: note: try surrounding the call in a 'try' block"
|
|
},
|
|
{
|
|
"text": " print(\"joint angle:\", joint_angles[\"joint_3\"])"
|
|
},
|
|
{
|
|
"text": " ^"
|
|
},
|
|
{
|
|
"tag": {
|
|
"column": 5,
|
|
"file": "example.mojo",
|
|
"line": 1,
|
|
"severity": 1,
|
|
"text": "note: or mark surrounding function as 'raises'"
|
|
},
|
|
"text": "<source>:1:5: note: or mark surrounding function as 'raises'"
|
|
},
|
|
{
|
|
"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": 465,
|
|
"okToCache": false,
|
|
"queueTime": 4,
|
|
"stderr": [
|
|
{
|
|
"text": "Build failed"
|
|
}
|
|
],
|
|
"stdout": [],
|
|
"timedOut": false
|
|
},
|
|
"result": {
|
|
"asm": null,
|
|
"buildStderr": "<source>:5:39: error: cannot call function that may raise in a context that cannot raise\n print(\"joint angle:\", joint_angles[\"joint_3\"])\n ~~~~~~~~~~~~^~~~~~~~~~~\n<source>:5:39: note: try surrounding the call in a 'try' block\n print(\"joint angle:\", joint_angles[\"joint_3\"])\n ^\n<source>:1:5: note: or mark surrounding function as 'raises'\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.68,
|
|
"sourceSha256": "b37e8effe5a84abdaded42247e339b1775e7696d89d5094143bdb2d52c36e9dc",
|
|
"stdin": ""
|
|
}
|