{ "args": "", "askedAt": "2026-10-03T14:33:16+00:00", "compiler": "mojo_1_1_0", "firstItem": "quest/MQ-825/starter", "key": "188a646beef4d2815911e46c12f1ea25f63eea5680a691b1b931ab1285f9121d", "mode": "run", "raw": { "buildResult": { "code": 1, "compilationOptions": [ "build", "/app/example.mojo" ], "downloads": [], "execTime": 181, "executableFilename": "/nosym/tmp/compiler-explorer-compilertsyJ2L/example", "inputFilename": "example.mojo", "instructionSet": "amd64", "okToCache": true, "processExecutionResultTime": 0.05700099840760231, "stderr": [ { "tag": { "column": 19, "file": "example.mojo", "line": 21, "severity": 3, "text": "error: invalid call to 'announce': value passed to 'sensor' cannot be converted from 'Lidar' to 'T', argument type 'Lidar' does not conform to trait 'Sensor'" }, "text": ":21:19: error: invalid call to 'announce': value passed to 'sensor' cannot be converted from 'Lidar' to 'T', argument type 'Lidar' does not conform to trait 'Sensor'" }, { "text": " announce(Lidar(\"lidar-front\"))" }, { "text": " ~~~~~~~~ ~~~~~^~~~~~~~~~~~~~~" }, { "tag": { "column": 5, "file": "example.mojo", "line": 16, "severity": 1, "text": "note: function declared here" }, "text": ":16:5: note: function declared here" }, { "text": "def announce[T: Sensor](sensor: T):" }, { "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": 254, "okToCache": false, "queueTime": 3, "stderr": [ { "text": "Build failed" } ], "stdout": [], "timedOut": false }, "result": { "asm": null, "buildStderr": ":21:19: error: invalid call to 'announce': value passed to 'sensor' cannot be converted from 'Lidar' to 'T', argument type 'Lidar' does not conform to trait 'Sensor'\n announce(Lidar(\"lidar-front\"))\n ~~~~~~~~ ~~~~~^~~~~~~~~~~~~~~\n:16:5: note: function declared here\ndef announce[T: Sensor](sensor: T):\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": 0.48, "sourceSha256": "2245683e3a9688955c2c01e86a33bf264df5ad6a2ebceea7144af905551946c9", "stdin": "" }