110 lines
4.3 KiB
JSON
110 lines
4.3 KiB
JSON
{
|
|
"args": "",
|
|
"askedAt": "2026-10-03T14:33:20+00:00",
|
|
"compiler": "mojo_1_1_0",
|
|
"firstItem": "quest/MQ-830/starter",
|
|
"key": "ec1ef315c49e228ff84d2e6092fda58f23e110628deaca1dde1df030ed8e201e",
|
|
"mode": "run",
|
|
"raw": {
|
|
"buildResult": {
|
|
"code": 1,
|
|
"compilationOptions": [
|
|
"build",
|
|
"/app/example.mojo"
|
|
],
|
|
"downloads": [],
|
|
"execTime": 344,
|
|
"executableFilename": "/nosym/tmp/compiler-explorer-compiler2ryKa6/example",
|
|
"inputFilename": "example.mojo",
|
|
"instructionSet": "amd64",
|
|
"okToCache": true,
|
|
"processExecutionResultTime": 0.06694499962031841,
|
|
"stderr": [
|
|
{
|
|
"tag": {
|
|
"column": 23,
|
|
"file": "example.mojo",
|
|
"line": 12,
|
|
"severity": 3,
|
|
"text": "error: no matching function in call to 'len'"
|
|
},
|
|
"text": "<source>:12:23: error: no matching function in call to 'len'"
|
|
},
|
|
{
|
|
"text": " print(\"len:\", len(t))"
|
|
},
|
|
{
|
|
"text": " ~~~ ^"
|
|
},
|
|
{
|
|
"text": "Imported from <source>:1:"
|
|
},
|
|
{
|
|
"text": "Mojo/stdlib/std/builtin/len.mojo:147:1: note: candidate not viable: value passed to 'value' cannot be converted from 'Track' to 'StringSpan[value.origin]', it depends on an unresolved parameter 'value.origin.mut'"
|
|
},
|
|
{
|
|
"text": "def len(value: StringSpan) -> Int # note - synthetic signature"
|
|
},
|
|
{
|
|
"text": "^"
|
|
},
|
|
{
|
|
"text": "Imported from <source>:1:"
|
|
},
|
|
{
|
|
"text": "Mojo/stdlib/std/builtin/len.mojo:152:1: note: candidate not viable: value passed to 'value' cannot be converted from 'Track' to 'T', argument type 'Track' does not conform to trait 'Sized'"
|
|
},
|
|
{
|
|
"text": "def len[T: Sized](value: T) -> Int # note - synthetic signature"
|
|
},
|
|
{
|
|
"text": "^"
|
|
},
|
|
{
|
|
"text": "Imported from <source>:1:"
|
|
},
|
|
{
|
|
"text": "Mojo/stdlib/std/builtin/len.mojo:168:1: note: candidate not viable: value passed to 'value' cannot be converted from 'Track' to 'T', argument type 'Track' does not conform to trait 'SizedRaising'"
|
|
},
|
|
{
|
|
"text": "def len[T: SizedRaising](value: T) -> Int # note - synthetic signature"
|
|
},
|
|
{
|
|
"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": 419,
|
|
"okToCache": false,
|
|
"queueTime": 5,
|
|
"stderr": [
|
|
{
|
|
"text": "Build failed"
|
|
}
|
|
],
|
|
"stdout": [],
|
|
"timedOut": false
|
|
},
|
|
"result": {
|
|
"asm": null,
|
|
"buildStderr": "<source>:12:23: error: no matching function in call to 'len'\n print(\"len:\", len(t))\n ~~~ ^\nImported from <source>:1:\nMojo/stdlib/std/builtin/len.mojo:147:1: note: candidate not viable: value passed to 'value' cannot be converted from 'Track' to 'StringSpan[value.origin]', it depends on an unresolved parameter 'value.origin.mut'\ndef len(value: StringSpan) -> Int # note - synthetic signature\n^\nImported from <source>:1:\nMojo/stdlib/std/builtin/len.mojo:152:1: note: candidate not viable: value passed to 'value' cannot be converted from 'Track' to 'T', argument type 'Track' does not conform to trait 'Sized'\ndef len[T: Sized](value: T) -> Int # note - synthetic signature\n^\nImported from <source>:1:\nMojo/stdlib/std/builtin/len.mojo:168:1: note: candidate not viable: value passed to 'value' cannot be converted from 'Track' to 'T', argument type 'Track' does not conform to trait 'SizedRaising'\ndef len[T: SizedRaising](value: T) -> Int # note - synthetic signature\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.64,
|
|
"sourceSha256": "0b46c2c685b86bd86b87fb1c23ccbe6358959ff9fa89dbf36f4f897845a7e801",
|
|
"stdin": ""
|
|
}
|