{ "args": "", "askedAt": "2026-10-03T14:31:50+00:00", "compiler": "mojo_1_1_0", "firstItem": "quest/MQ-402/starter", "key": "14591c1a3f95f76a8e6a1d7c0a1b1dd7e0e362e16572a2092a105507683fafaa", "mode": "run", "raw": { "buildResult": { "code": 1, "compilationOptions": [ "build", "/app/example.mojo" ], "downloads": [], "execTime": 315, "executableFilename": "/nosym/tmp/compiler-explorer-compilerlKhaiO/example", "inputFilename": "example.mojo", "instructionSet": "amd64", "okToCache": true, "processExecutionResultTime": 0.08448099996894598, "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": ":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": ":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": ":7:5: note: or mark surrounding function as 'raises'" }, { "text": "def main():" }, { "text": " ^" }, { "text": "/opt/compiler-explorer/mojo-1.1.0/bin/mojo: error: failed to parse the provided Mojo source module" } ], "stdout": [], "timedOut": false, "truncated": false }, "code": -1, "didExecute": false, "execTime": 388, "okToCache": false, "queueTime": 5, "stderr": [ { "text": "Build failed" } ], "stdout": [], "timedOut": false }, "result": { "asm": null, "buildStderr": ":8:28: error: cannot call function that may raise in a context that cannot raise\n print(\"value:\", checked(-1))\n ~~~~~~~^~~~\n:8:28: note: try surrounding the call in a 'try' block\n print(\"value:\", checked(-1))\n ^\n:7:5: note: or mark surrounding function as 'raises'\ndef main():\n ^\n/opt/compiler-explorer/mojo-1.1.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.63, "sourceSha256": "f8b2d216ba970b17b6e0448c9961b59ccc3c5855749ea12373c4afedc7f2ca65", "stdin": "" }