116 lines
3.4 KiB
JSON
Generated
116 lines
3.4 KiB
JSON
Generated
{
|
|
"args": "--target-cpu x86-64-v3 --fp-mode contract=off",
|
|
"askedAt": "2026-11-12T18:30:27+00:00",
|
|
"attempts": 1,
|
|
"compiler": "mojo_1_2_0",
|
|
"firstItem": "probes/check-missing-raises",
|
|
"key": "c34a4fc99331f5bab086c3a0213498c5df5c8367a19d22e41942ec13b73c594f",
|
|
"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": 200,
|
|
"executableFilename": "/nosym/tmp/compiler-explorer-compilermSUGo7/output.s",
|
|
"inputFilename": "example.mojo",
|
|
"instructionSet": "amd64",
|
|
"okToCache": true,
|
|
"processExecutionResultTime": 0.06469100015237927,
|
|
"stderr": [
|
|
{
|
|
"tag": {
|
|
"column": 18,
|
|
"file": "example.mojo",
|
|
"line": 4,
|
|
"severity": 3,
|
|
"text": "error: cannot call function that may raise in a context that cannot raise"
|
|
},
|
|
"text": "<source>:4:18: error: cannot call function that may raise in a context that cannot raise"
|
|
},
|
|
{
|
|
"text": " var a = input()"
|
|
},
|
|
{
|
|
"text": " ~~~~~^~"
|
|
},
|
|
{
|
|
"tag": {
|
|
"column": 18,
|
|
"file": "example.mojo",
|
|
"line": 4,
|
|
"severity": 1,
|
|
"text": "note: try surrounding the call in a 'try' block"
|
|
},
|
|
"text": "<source>:4:18: note: try surrounding the call in a 'try' block"
|
|
},
|
|
{
|
|
"text": " var a = input()"
|
|
},
|
|
{
|
|
"text": " ^"
|
|
},
|
|
{
|
|
"tag": {
|
|
"column": 5,
|
|
"file": "example.mojo",
|
|
"line": 3,
|
|
"severity": 1,
|
|
"text": "note: or mark surrounding function as 'raises'"
|
|
},
|
|
"text": "<source>:3: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": 294,
|
|
"okToCache": false,
|
|
"queueTime": 4,
|
|
"stderr": [
|
|
{
|
|
"text": "Build failed"
|
|
}
|
|
],
|
|
"stdout": [],
|
|
"timedOut": false
|
|
},
|
|
"result": {
|
|
"asm": null,
|
|
"buildStderr": "<source>:4:18: error: cannot call function that may raise in a context that cannot raise\n var a = input()\n ~~~~~^~\n<source>:4:18: note: try surrounding the call in a 'try' block\n var a = input()\n ^\n<source>:3: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.53,
|
|
"sourceSha256": "e6bfc81566151c16fa8dff192ba8af3020a241dff96328ab8f818c30fb794449",
|
|
"stdin": ""
|
|
}
|