100 lines
3.1 KiB
JSON
Generated
100 lines
3.1 KiB
JSON
Generated
{
|
|
"args": "--target-cpu x86-64-v3 --fp-mode contract=off",
|
|
"askedAt": "2026-11-12T18:40:09+00:00",
|
|
"attempts": 1,
|
|
"compiler": "mojo_1_2_0",
|
|
"firstItem": "quest/MQ-825/starter",
|
|
"key": "fd63a1c103f8d420678e0df2a7b5f83843687bcd5b4688b6f01262b1c05b71e6",
|
|
"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": 583,
|
|
"executableFilename": "/nosym/tmp/compiler-explorer-compilerSoyD4Q/output.s",
|
|
"inputFilename": "example.mojo",
|
|
"instructionSet": "amd64",
|
|
"okToCache": true,
|
|
"processExecutionResultTime": 0.0613390002399683,
|
|
"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": "<source>: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": "<source>:16:5: note: function declared here"
|
|
},
|
|
{
|
|
"text": "def announce[T: Sensor](sensor: T):"
|
|
},
|
|
{
|
|
"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": 669,
|
|
"okToCache": false,
|
|
"queueTime": 4,
|
|
"stderr": [
|
|
{
|
|
"text": "Build failed"
|
|
}
|
|
],
|
|
"stdout": [],
|
|
"timedOut": false
|
|
},
|
|
"result": {
|
|
"asm": null,
|
|
"buildStderr": "<source>: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<source>:16:5: note: function declared here\ndef announce[T: Sensor](sensor: T):\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.88,
|
|
"sourceSha256": "2245683e3a9688955c2c01e86a33bf264df5ad6a2ebceea7144af905551946c9",
|
|
"stdin": ""
|
|
}
|