{ "args": "", "askedAt": "2026-10-04T01:17:34+00:00", "attempts": 1, "compiler": "mojo_1_1_0", "firstItem": "local/best-position", "key": "abbb5b7950ae2f7937a56f74702121a2243ca6cd175948822041730668b83c5f", "mode": "run", "raw": { "buildResult": { "code": 1, "compilationOptions": [ "build", "/app/example.mojo" ], "downloads": [], "execTime": 2004, "executableFilename": "/nosym/tmp/compiler-explorer-compilerH8m09p/example", "inputFilename": "example.mojo", "instructionSet": "amd64", "okToCache": true, "processExecutionResultTime": 0.05400200001895428, "stderr": [ { "tag": { "column": 25, "file": "example.mojo", "line": 20, "severity": 3, "text": "error: invalid call to 'best_position': value passed to 'q' cannot be converted from 'Array[Int, Int(5)]' to 'List[Int]'" }, "text": ":20:25: error: invalid call to 'best_position': value passed to 'q' cannot be converted from 'Array[Int, Int(5)]' to 'List[Int]'" }, { "text": " print(best_position(scores))" }, { "text": " ~~~~~~~~~~~~~ ^~~~~~" }, { "tag": { "column": 5, "file": "example.mojo", "line": 5, "severity": 1, "text": "note: function declared here" }, "text": ":5:5: note: function declared here" }, { "text": "def best_position(q: List[Int]) -> Int:" }, { "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": 2139, "okToCache": false, "queueTime": 5, "stderr": [ { "text": "Build failed" } ], "stdout": [], "timedOut": false }, "result": { "asm": null, "buildStderr": ":20:25: error: invalid call to 'best_position': value passed to 'q' cannot be converted from 'Array[Int, Int(5)]' to 'List[Int]'\n print(best_position(scores))\n ~~~~~~~~~~~~~ ^~~~~~\n:5:5: note: function declared here\ndef best_position(q: List[Int]) -> Int:\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": 2.52, "sourceSha256": "37d28119c4172a9e40e757bee0d17501b4d5c803f4f77738fcfe17a9ac58c52c", "stdin": "" }