{ "args": "--target-cpu x86-64-v3 --fp-mode contract=off", "askedAt": "2026-11-12T18:40:30+00:00", "attempts": 1, "compiler": "mojo_1_2_0", "firstItem": "quest/MQ-901/starter", "key": "8c2822c30892e166fd06e156ed79b040defebba5a189bb2c4a6a7d199b0e2c47", "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": 216, "executableFilename": "/nosym/tmp/compiler-explorer-compilercXeZ37/output.s", "inputFilename": "example.mojo", "instructionSet": "amd64", "okToCache": true, "processExecutionResultTime": 0.0773250013589859, "stderr": [ { "tag": { "column": 15, "file": "example.mojo", "line": 7, "severity": 3, "text": "error: invalid call to 'unsafe_alloc': failed to infer parameter 'type'" }, "text": ":7:15: error: invalid call to 'unsafe_alloc': failed to infer parameter 'type'" }, { "text": " var ptr = unsafe_alloc(1)" }, { "text": " ^~~~~~~~~~~~" }, { "text": "Imported from :1:" }, { "text": "Mojo/stdlib/std/memory/alloc.mojo:792:1: note: function declared here" }, { "text": "def unsafe_alloc[type: AnyType, /](count: Int, *, alignment: Int = Int((get_alignof type, _current_target()))) -> Pointer[type, MutUntrackedOrigin] # note - synthetic signature" }, { "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": 284, "okToCache": false, "queueTime": 5, "stderr": [ { "text": "Build failed" } ], "stdout": [], "timedOut": false }, "result": { "asm": null, "buildStderr": ":7:15: error: invalid call to 'unsafe_alloc': failed to infer parameter 'type'\n var ptr = unsafe_alloc(1)\n ^~~~~~~~~~~~\nImported from :1:\nMojo/stdlib/std/memory/alloc.mojo:792:1: note: function declared here\ndef unsafe_alloc[type: AnyType, /](count: Int, *, alignment: Int = Int((get_alignof type, _current_target()))) -> Pointer[type, MutUntrackedOrigin] # note - synthetic signature\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": "109987da24d7f82fba755eb7484aeba061a268dff6f1624582ebb7f49ad3079a", "stdin": "" }