{ "args": "--target-cpu x86-64-v3 --fp-mode contract=off", "askedAt": "2026-11-12T18:35:52+00:00", "attempts": 1, "compiler": "mojo_1_2_0", "firstItem": "quest/MQ-115/starter", "key": "cb67cf3d09bbde1a44d29c65fb447e2ef352c0d9e7ee953b779c2e8489efdb1a", "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": 280, "executableFilename": "/nosym/tmp/compiler-explorer-compilerAXoIqi/output.s", "inputFilename": "example.mojo", "instructionSet": "amd64", "okToCache": true, "processExecutionResultTime": 0.053072999930009246, "stderr": [ { "tag": { "column": 34, "file": "example.mojo", "line": 8, "severity": 3, "text": "error: cannot call function that may raise in a context that cannot raise" }, "text": ":8:34: error: cannot call function that may raise in a context that cannot raise" }, { "text": " print(\"reading:\", read_sensor(2))" }, { "text": " ~~~~~~~~~~~^~~" }, { "tag": { "column": 34, "file": "example.mojo", "line": 8, "severity": 1, "text": "note: try surrounding the call in a 'try' block" }, "text": ":8:34: note: try surrounding the call in a 'try' block" }, { "text": " print(\"reading:\", read_sensor(2))" }, { "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.2.0/bin/mojo: error: failed to parse the provided Mojo source module" } ], "stdout": [], "timedOut": false, "truncated": false }, "code": -1, "didExecute": false, "execTime": 368, "okToCache": false, "queueTime": 4, "stderr": [ { "text": "Build failed" } ], "stdout": [], "timedOut": false }, "result": { "asm": null, "buildStderr": ":8:34: error: cannot call function that may raise in a context that cannot raise\n print(\"reading:\", read_sensor(2))\n ~~~~~~~~~~~^~~\n:8:34: note: try surrounding the call in a 'try' block\n print(\"reading:\", read_sensor(2))\n ^\n: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.58, "sourceSha256": "f6c9f8b9ef1bad09a754de3596cbca065d8b62f3834a234b2096edc127e215c1", "stdin": "" }