Baseline: tree as shared
This commit is contained in:
commit
659c03bbf8
1471 files changed
+990535
No files matched your search
@@ -0,0 +1,141 @@
|
||||
{
|
||||
"args": "",
|
||||
"askedAt": "2026-10-03T22:45:54+00:00",
|
||||
"attempts": 1,
|
||||
"compiler": "mojo_1_1_0",
|
||||
"firstItem": "stress/lambda-map",
|
||||
"key": "76bb15d537b1fbcbede9c78acec0bd0a91ebe081801c7ef6ae563c927fdb4357",
|
||||
"mode": "run",
|
||||
"raw": {
|
||||
"buildResult": {
|
||||
"code": 1,
|
||||
"compilationOptions": [
|
||||
"build",
|
||||
"/app/example.mojo"
|
||||
],
|
||||
"downloads": [],
|
||||
"execTime": 271,
|
||||
"executableFilename": "/nosym/tmp/compiler-explorer-compilerldJQT5/example",
|
||||
"inputFilename": "example.mojo",
|
||||
"instructionSet": "amd64",
|
||||
"okToCache": true,
|
||||
"processExecutionResultTime": 0.07520799990743399,
|
||||
"stderr": [
|
||||
{
|
||||
"tag": {
|
||||
"column": 21,
|
||||
"file": "example.mojo",
|
||||
"line": 8,
|
||||
"severity": 3,
|
||||
"text": "error: invalid call to '__call__': value cannot be converted from type value '$0' to an instance of '$0'; did you mean to instantiate '$0'?"
|
||||
},
|
||||
"text": "<source>:8:21: error: invalid call to '__call__': value cannot be converted from type value '$0' to an instance of '$0'; did you mean to instantiate '$0'?"
|
||||
},
|
||||
{
|
||||
"text": " out.append(f(x))"
|
||||
},
|
||||
{
|
||||
"text": " ~^~~"
|
||||
},
|
||||
{
|
||||
"text": "<unknown>:0: note: function declared here"
|
||||
},
|
||||
{
|
||||
"tag": {
|
||||
"column": 25,
|
||||
"file": "example.mojo",
|
||||
"line": 18,
|
||||
"severity": 3,
|
||||
"text": "error: invalid call to 'apply_all': value passed to 'f' cannot be converted from 'def square(x: Int) thin -> Int' to 'def(Int) -> Int'"
|
||||
},
|
||||
"text": "<source>:18:25: error: invalid call to 'apply_all': value passed to 'f' cannot be converted from 'def square(x: Int) thin -> Int' to 'def(Int) -> Int'"
|
||||
},
|
||||
{
|
||||
"text": " print(apply_all(xs, square))"
|
||||
},
|
||||
{
|
||||
"text": " ~~~~~~~~~ ^~~~~~"
|
||||
},
|
||||
{
|
||||
"tag": {
|
||||
"column": 5,
|
||||
"file": "example.mojo",
|
||||
"line": 5,
|
||||
"severity": 1,
|
||||
"text": "note: function declared here"
|
||||
},
|
||||
"text": "<source>:5:5: note: function declared here"
|
||||
},
|
||||
{
|
||||
"text": "def apply_all(xs: List[Int], f: def(Int) -> Int) -> List[Int]:"
|
||||
},
|
||||
{
|
||||
"text": " ^"
|
||||
},
|
||||
{
|
||||
"tag": {
|
||||
"column": 25,
|
||||
"file": "example.mojo",
|
||||
"line": 19,
|
||||
"severity": 3,
|
||||
"text": "error: invalid call to 'apply_all': value passed to 'f' cannot be converted from 'def `lambda_0(x: Int) thin -> Int' to 'def(Int) -> Int'"
|
||||
},
|
||||
"text": "<source>:19:25: error: invalid call to 'apply_all': value passed to 'f' cannot be converted from 'def `lambda_0(x: Int) thin -> Int' to 'def(Int) -> Int'"
|
||||
},
|
||||
{
|
||||
"text": " print(apply_all(xs, lambda (x: Int) -> Int: x * 10))"
|
||||
},
|
||||
{
|
||||
"text": " ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~"
|
||||
},
|
||||
{
|
||||
"tag": {
|
||||
"column": 5,
|
||||
"file": "example.mojo",
|
||||
"line": 5,
|
||||
"severity": 1,
|
||||
"text": "note: function declared here"
|
||||
},
|
||||
"text": "<source>:5:5: note: function declared here"
|
||||
},
|
||||
{
|
||||
"text": "def apply_all(xs: List[Int], f: def(Int) -> Int) -> List[Int]:"
|
||||
},
|
||||
{
|
||||
"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": 354,
|
||||
"okToCache": false,
|
||||
"queueTime": 5,
|
||||
"stderr": [
|
||||
{
|
||||
"text": "Build failed"
|
||||
}
|
||||
],
|
||||
"stdout": [],
|
||||
"timedOut": false
|
||||
},
|
||||
"result": {
|
||||
"asm": null,
|
||||
"buildStderr": "<source>:8:21: error: invalid call to '__call__': value cannot be converted from type value '$0' to an instance of '$0'; did you mean to instantiate '$0'?\n out.append(f(x))\n ~^~~\n<unknown>:0: note: function declared here\n<source>:18:25: error: invalid call to 'apply_all': value passed to 'f' cannot be converted from 'def square(x: Int) thin -> Int' to 'def(Int) -> Int'\n print(apply_all(xs, square))\n ~~~~~~~~~ ^~~~~~\n<source>:5:5: note: function declared here\ndef apply_all(xs: List[Int], f: def(Int) -> Int) -> List[Int]:\n ^\n<source>:19:25: error: invalid call to 'apply_all': value passed to 'f' cannot be converted from 'def `lambda_0(x: Int) thin -> Int' to 'def(Int) -> Int'\n print(apply_all(xs, lambda (x: Int) -> Int: x * 10))\n ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~\n<source>:5:5: note: function declared here\ndef apply_all(xs: List[Int], f: def(Int) -> Int) -> List[Int]:\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.61,
|
||||
"sourceSha256": "6bf7b9cf8228ea18eb9239c914f78e441e4be18bf54b9ea3b4a591aa3ac95b8f",
|
||||
"stdin": ""
|
||||
}
|
||||
Reference in new issue
Block a user