{ "args": "--target-cpu x86-64-v3 --fp-mode contract=off", "askedAt": "2026-11-12T18:35:20+00:00", "attempts": 1, "compiler": "mojo_1_2_0", "firstItem": "quest/MQ-103/starter", "key": "91417cc55ac18114ef31cdaa64ad996b92ca6138cd624dbe554d8ab14e0f5935", "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": 121, "executableFilename": "/nosym/tmp/compiler-explorer-compilerco15FS/output.s", "inputFilename": "example.mojo", "instructionSet": "amd64", "okToCache": true, "processExecutionResultTime": 0.05144600011408329, "stderr": [ { "tag": { "column": 1, "file": "example.mojo", "line": 1, "severity": 3, "text": "error: expressions must not appear at file scope; move this into a function body" }, "text": ":1:1: error: expressions must not appear at file scope; move this into a function body" }, { "text": "heartbeat() -> String:" }, { "text": "^" }, { "tag": { "column": 13, "file": "example.mojo", "line": 1, "severity": 3, "text": "error: statements must start at the beginning of a line" }, "text": ":1:13: error: statements must start at the beginning of a line" }, { "text": "heartbeat() -> String:" }, { "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": 205, "okToCache": false, "queueTime": 4, "stderr": [ { "text": "Build failed" } ], "stdout": [], "timedOut": false }, "result": { "asm": null, "buildStderr": ":1:1: error: expressions must not appear at file scope; move this into a function body\nheartbeat() -> String:\n^\n:1:13: error: statements must start at the beginning of a line\nheartbeat() -> String:\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.42, "sourceSha256": "c5b8df6787de9628a17394f8389b1302ef45a690b18f43730f175c070c092c6b", "stdin": "" }