{ "args": "", "askedAt": "2026-10-04T01:17:33+00:00", "attempts": 1, "compiler": "mojo_1_1_0", "firstItem": "local/binary-search", "key": "3df22843d33e0f59ee7fa288d5dd576ec7e90a50a3674e60359bd80dc34b5cef", "mode": "run", "raw": { "buildResult": { "code": 1, "compilationOptions": [ "build", "/app/example.mojo" ], "downloads": [], "execTime": 984, "executableFilename": "/nosym/tmp/compiler-explorer-compilerGoEgPH/example", "inputFilename": "example.mojo", "instructionSet": "amd64", "okToCache": true, "processExecutionResultTime": 0.9285160000436008, "stderr": [ { "tag": { "column": 27, "file": "example.mojo", "line": 24, "severity": 3, "text": "error: invalid call to 'contains_sorted': value passed to 'l' cannot be converted from 'Array[Int, Int(5)]' to 'List[Int]'" }, "text": ":24:27: error: invalid call to 'contains_sorted': value passed to 'l' cannot be converted from 'Array[Int, Int(5)]' to 'List[Int]'" }, { "text": " print(contains_sorted(sorted_values, 13))" }, { "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 contains_sorted(l: List[Int], x: Int) -> Bool:" }, { "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": 1061, "okToCache": false, "queueTime": 3, "stderr": [ { "text": "Build failed" } ], "stdout": [], "timedOut": false }, "result": { "asm": null, "buildStderr": ":24:27: error: invalid call to 'contains_sorted': value passed to 'l' cannot be converted from 'Array[Int, Int(5)]' to 'List[Int]'\n print(contains_sorted(sorted_values, 13))\n ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~\n:5:5: note: function declared here\ndef contains_sorted(l: List[Int], x: Int) -> Bool:\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": 1.5, "sourceSha256": "1f4bc61ce7b84ce02457c849a1013fdd27b45a2279062223f26db8c22fc32450", "stdin": "" }