{ "args": "", "askedAt": "2026-10-03T14:25:57+00:00", "compiler": "mojo_1_1_0", "firstItem": "probes/check-missing-raises", "key": "b61a27f47b625b4f1d67c2f26ffc16b7d35e657e8364ddc548b9e59445e15034", "mode": "run", "raw": { "buildResult": { "code": 1, "compilationOptions": [ "build", "/app/example.mojo" ], "downloads": [], "execTime": 168, "executableFilename": "/nosym/tmp/compiler-explorer-compilerzJrp1w/example", "inputFilename": "example.mojo", "instructionSet": "amd64", "okToCache": true, "processExecutionResultTime": 0.09114199876785278, "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": ":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": ":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": ":3: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": 238, "okToCache": false, "queueTime": 4, "stderr": [ { "text": "Build failed" } ], "stdout": [], "timedOut": false }, "result": { "asm": null, "buildStderr": ":4:18: error: cannot call function that may raise in a context that cannot raise\n var a = input()\n ~~~~~^~\n:4:18: note: try surrounding the call in a 'try' block\n var a = input()\n ^\n:3: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.47, "sourceSha256": "e6bfc81566151c16fa8dff192ba8af3020a241dff96328ab8f818c30fb794449", "stdin": "" }