This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
+119
@@ -0,0 +1,119 @@
|
||||
{
|
||||
"args": "--target-cpu x86-64-v3 --fp-mode contract=off",
|
||||
"askedAt": "2026-11-12T18:40:15+00:00",
|
||||
"attempts": 1,
|
||||
"compiler": "mojo_1_2_0",
|
||||
"firstItem": "quest/MQ-830/starter",
|
||||
"key": "b597e716f23bed172d88e9e57d4b659d5e174573d4a643c78e3350d26c01498e",
|
||||
"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": 344,
|
||||
"executableFilename": "/nosym/tmp/compiler-explorer-compilerWvsCVx/output.s",
|
||||
"inputFilename": "example.mojo",
|
||||
"instructionSet": "amd64",
|
||||
"okToCache": true,
|
||||
"processExecutionResultTime": 0.06462999992072582,
|
||||
"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 'origin_of(value.origin)'"
|
||||
},
|
||||
{
|
||||
"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.2.0/bin/mojo: error: failed to parse the provided Mojo source module"
|
||||
}
|
||||
],
|
||||
"stdout": [],
|
||||
"timedOut": false,
|
||||
"truncated": false
|
||||
},
|
||||
"code": -1,
|
||||
"didExecute": false,
|
||||
"execTime": 418,
|
||||
"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 'origin_of(value.origin)'\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.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.64,
|
||||
"sourceSha256": "0b46c2c685b86bd86b87fb1c23ccbe6358959ff9fa89dbf36f4f897845a7e801",
|
||||
"stdin": ""
|
||||
}
|
||||
Reference in new issue
Block a user