This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
+115
@@ -0,0 +1,115 @@
|
||||
{
|
||||
"args": "--target-cpu x86-64-v3 --fp-mode contract=off",
|
||||
"askedAt": "2026-11-12T18:38:40+00:00",
|
||||
"attempts": 1,
|
||||
"compiler": "mojo_1_2_0",
|
||||
"firstItem": "quest/MQ-402/starter",
|
||||
"key": "fa7384cccf6afaf1bcffa413cf240ae11dc7f7855f20a58106cf253afded344c",
|
||||
"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": 214,
|
||||
"executableFilename": "/nosym/tmp/compiler-explorer-compilerUU2LJf/output.s",
|
||||
"inputFilename": "example.mojo",
|
||||
"instructionSet": "amd64",
|
||||
"okToCache": true,
|
||||
"processExecutionResultTime": 0.050095997750759125,
|
||||
"stderr": [
|
||||
{
|
||||
"tag": {
|
||||
"column": 28,
|
||||
"file": "example.mojo",
|
||||
"line": 8,
|
||||
"severity": 3,
|
||||
"text": "error: cannot call function that may raise in a context that cannot raise"
|
||||
},
|
||||
"text": "<source>:8:28: error: cannot call function that may raise in a context that cannot raise"
|
||||
},
|
||||
{
|
||||
"text": " print(\"value:\", checked(-1))"
|
||||
},
|
||||
{
|
||||
"text": " ~~~~~~~^~~~"
|
||||
},
|
||||
{
|
||||
"tag": {
|
||||
"column": 28,
|
||||
"file": "example.mojo",
|
||||
"line": 8,
|
||||
"severity": 1,
|
||||
"text": "note: try surrounding the call in a 'try' block"
|
||||
},
|
||||
"text": "<source>:8:28: note: try surrounding the call in a 'try' block"
|
||||
},
|
||||
{
|
||||
"text": " print(\"value:\", checked(-1))"
|
||||
},
|
||||
{
|
||||
"text": " ^"
|
||||
},
|
||||
{
|
||||
"tag": {
|
||||
"column": 5,
|
||||
"file": "example.mojo",
|
||||
"line": 7,
|
||||
"severity": 1,
|
||||
"text": "note: or mark surrounding function as 'raises'"
|
||||
},
|
||||
"text": "<source>:7: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": 303,
|
||||
"okToCache": false,
|
||||
"queueTime": 5,
|
||||
"stderr": [
|
||||
{
|
||||
"text": "Build failed"
|
||||
}
|
||||
],
|
||||
"stdout": [],
|
||||
"timedOut": false
|
||||
},
|
||||
"result": {
|
||||
"asm": null,
|
||||
"buildStderr": "<source>:8:28: error: cannot call function that may raise in a context that cannot raise\n print(\"value:\", checked(-1))\n ~~~~~~~^~~~\n<source>:8:28: note: try surrounding the call in a 'try' block\n print(\"value:\", checked(-1))\n ^\n<source>:7: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.5,
|
||||
"sourceSha256": "f8b2d216ba970b17b6e0448c9961b59ccc3c5855749ea12373c4afedc7f2ca65",
|
||||
"stdin": ""
|
||||
}
|
||||
Reference in new issue
Block a user