Baseline: tree as shared

This commit is contained in:
alexm committed 2026-10-05 03:03:38 +00:00
commit 31f2fb8a5a
1679 files changed
+1024562

No files matched your search

@@ -0,0 +1,121 @@
{
"args": "",
"askedAt": "2026-10-03T14:33:28+00:00",
"compiler": "mojo_1_1_0",
"firstItem": "quest/MQ-845/starter",
"key": "bc283ba471f444730b571a387e6f17e4f1bbc625f3e1f427d2e101a27ab4b14c",
"mode": "run",
"raw": {
"buildResult": {
"code": 1,
"compilationOptions": [
"build",
"/app/example.mojo"
],
"downloads": [],
"execTime": 4103,
"executableFilename": "/nosym/tmp/compiler-explorer-compilerItw6ap/example",
"inputFilename": "example.mojo",
"instructionSet": "amd64",
"okToCache": true,
"processExecutionResultTime": 0.06522600000607781,
"stderr": [
{
"tag": {
"column": 5,
"file": "example.mojo",
"line": 7,
"severity": 3,
"text": "error: function instantiation failed"
},
"text": "<source>:7:5: error: function instantiation failed"
},
{
"text": "def main():"
},
{
"text": " ^"
},
{
"tag": {
"column": 40,
"file": "example.mojo",
"line": 8,
"severity": 1,
"text": "note: call expansion failed with parameter value(s): (\"num_motors\": 7)"
},
"text": "<source>:8:40: note: call expansion failed with parameter value(s): (\"num_motors\": 7)"
},
{
"text": " print(\"Drive slots:\", make_drive[7]())"
},
{
"text": " ^"
},
{
"tag": {
"column": 5,
"file": "example.mojo",
"line": 1,
"severity": 1,
"text": "note: function instantiation failed"
},
"text": "<source>:1:5: note: function instantiation failed"
},
{
"text": "def make_drive[num_motors: Int]() -> Int:"
},
{
"text": " ^"
},
{
"tag": {
"column": 5,
"file": "example.mojo",
"line": 3,
"severity": 1,
"text": "note: constraint failed: num_motors must be even"
},
"text": "<source>:3:5: note: constraint failed: num_motors must be even"
},
{
"text": " comptime assert num_motors % 2 == 0, \"num_motors must be even\""
},
{
"text": " ^"
},
{
"text": "/opt/compiler-explorer/mojo-1.1.0/bin/mojo: error: failed to run the pass manager"
}
],
"stdout": [],
"timedOut": false,
"truncated": false
},
"code": -1,
"didExecute": false,
"execTime": 4182,
"okToCache": false,
"queueTime": 6,
"stderr": [
{
"text": "Build failed"
}
],
"stdout": [],
"timedOut": false
},
"result": {
"asm": null,
"buildStderr": "<source>:7:5: error: function instantiation failed\ndef main():\n ^\n<source>:8:40: note: call expansion failed with parameter value(s): (\"num_motors\": 7)\n print(\"Drive slots:\", make_drive[7]())\n ^\n<source>:1:5: note: function instantiation failed\ndef make_drive[num_motors: Int]() -> Int:\n ^\n<source>:3:5: note: constraint failed: num_motors must be even\n comptime assert num_motors % 2 == 0, \"num_motors must be even\"\n ^\n/opt/compiler-explorer/mojo-1.1.0/bin/mojo: error: failed to run the pass manager",
"compiled": false,
"executed": false,
"exitCode": -1,
"stderr": "Build failed",
"stdout": "",
"timedOut": false
},
"seconds": 4.39,
"sourceSha256": "7d6c2bd610ae346f5c2650e5ab78fbedd3b938744a8512fbf1b37cadac1b6cd1",
"stdin": ""
}