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,163 @@
{
"args": "",
"askedAt": "2026-10-03T14:30:00+00:00",
"compiler": "mojo_1_1_0",
"firstItem": "quest/MQ-221/starter",
"key": "1e91c2fa0dccbc2967c792b3d26077d2555aa0b71d64c5988730f8c579c2a59b",
"mode": "run",
"raw": {
"buildResult": {
"code": 1,
"compilationOptions": [
"build",
"/app/example.mojo"
],
"downloads": [],
"execTime": 246,
"executableFilename": "/nosym/tmp/compiler-explorer-compilerDfHhhn/example",
"inputFilename": "example.mojo",
"instructionSet": "amd64",
"okToCache": true,
"processExecutionResultTime": 0.10040299966931343,
"stderr": [
{
"tag": {
"column": 25,
"file": "example.mojo",
"line": 2,
"severity": 3,
"text": "error: no matching function in initialization"
},
"text": "<source>:2:25: error: no matching function in initialization"
},
{
"text": " var waypoints = List()"
},
{
"text": " ~~~~^~"
},
{
"text": "Mojo/stdlib/std/collections/list.mojo:434:1: note: candidate not viable: failed to infer parameter 'T' of parent struct 'List'"
},
{
"text": "def __init__(out self) # note - synthetic signature"
},
{
"text": "^"
},
{
"text": "Mojo/stdlib/std/collections/list.mojo:160:1: note: struct declared here"
},
{
"text": "struct List[T: AnyType, /] # note - synthetic signature"
},
{
"text": "^"
},
{
"text": "Mojo/stdlib/std/collections/list.mojo:441:1: note: candidate not viable: missing required argument: 'capacity'"
},
{
"text": "def __init__(out self, *, capacity: Int) # note - synthetic signature"
},
{
"text": "^"
},
{
"text": "Mojo/stdlib/std/collections/list.mojo:456:1: note: candidate not viable: missing required argument: 'length'"
},
{
"text": "def __init__(out self, *, length: Int, fill: T) where conforms_to(T, Copyable) # note - synthetic signature"
},
{
"text": "^"
},
{
"text": "Mojo/stdlib/std/collections/list.mojo:469:1: note: candidate not viable: missing required argument: 'length'"
},
{
"text": "def __init__(out self, *, length: Int, fill_with: T) where identical(T.T, T) # note - synthetic signature"
},
{
"text": "^"
},
{
"text": "Mojo/stdlib/std/collections/list.mojo:494:1: note: candidate not viable: missing required argument: '__list_literal__'"
},
{
"text": "def __init__(out self, var *values: T, *, __list_literal__: NoneType) where conforms_to(T, Movable) # note - synthetic signature"
},
{
"text": "^"
},
{
"text": "Mojo/stdlib/std/collections/list.mojo:516:1: note: candidate not viable: missing required argument: 'iterable'"
},
{
"text": "def __init__[IterableType: Iterable](out self: List[IterableType.IteratorType[iterable_is_mut, origin_of(iterable), origin_of(iterable)].Element], ref iterable: IterableType) where conforms_to(IterableType.IteratorType[iterable_is_mut, origin_of(iterable), origin_of(iterable)].Element, Copyable) # note - synthetic signature"
},
{
"text": "^"
},
{
"text": "Mojo/stdlib/std/collections/list.mojo:538:1: note: candidate not viable: missing required argument: 'unsafe_uninit_length'"
},
{
"text": "def __init__(out self, *, unsafe_uninit_length: Int) # note - synthetic signature"
},
{
"text": "^"
},
{
"text": "Mojo/stdlib/std/collections/list.mojo:552:1: note: candidate not viable: missing required argument: 'copy'"
},
{
"text": "def __init__(out self, *, copy: Self) where conforms_to(T, Copyable) # note - synthetic signature"
},
{
"text": "^"
},
{
"text": "Mojo/stdlib/std/collections/list.mojo:160:1: note: candidate not viable: missing required argument: 'move'"
},
{
"text": "def __init__(out self, *, deinit move: Self) # note - generated function"
},
{
"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": 316,
"okToCache": false,
"queueTime": 7,
"stderr": [
{
"text": "Build failed"
}
],
"stdout": [],
"timedOut": false
},
"result": {
"asm": null,
"buildStderr": "<source>:2:25: error: no matching function in initialization\n var waypoints = List()\n ~~~~^~\nMojo/stdlib/std/collections/list.mojo:434:1: note: candidate not viable: failed to infer parameter 'T' of parent struct 'List'\ndef __init__(out self) # note - synthetic signature\n^\nMojo/stdlib/std/collections/list.mojo:160:1: note: struct declared here\nstruct List[T: AnyType, /] # note - synthetic signature\n^\nMojo/stdlib/std/collections/list.mojo:441:1: note: candidate not viable: missing required argument: 'capacity'\ndef __init__(out self, *, capacity: Int) # note - synthetic signature\n^\nMojo/stdlib/std/collections/list.mojo:456:1: note: candidate not viable: missing required argument: 'length'\ndef __init__(out self, *, length: Int, fill: T) where conforms_to(T, Copyable) # note - synthetic signature\n^\nMojo/stdlib/std/collections/list.mojo:469:1: note: candidate not viable: missing required argument: 'length'\ndef __init__(out self, *, length: Int, fill_with: T) where identical(T.T, T) # note - synthetic signature\n^\nMojo/stdlib/std/collections/list.mojo:494:1: note: candidate not viable: missing required argument: '__list_literal__'\ndef __init__(out self, var *values: T, *, __list_literal__: NoneType) where conforms_to(T, Movable) # note - synthetic signature\n^\nMojo/stdlib/std/collections/list.mojo:516:1: note: candidate not viable: missing required argument: 'iterable'\ndef __init__[IterableType: Iterable](out self: List[IterableType.IteratorType[iterable_is_mut, origin_of(iterable), origin_of(iterable)].Element], ref iterable: IterableType) where conforms_to(IterableType.IteratorType[iterable_is_mut, origin_of(iterable), origin_of(iterable)].Element, Copyable) # note - synthetic signature\n^\nMojo/stdlib/std/collections/list.mojo:538:1: note: candidate not viable: missing required argument: 'unsafe_uninit_length'\ndef __init__(out self, *, unsafe_uninit_length: Int) # note - synthetic signature\n^\nMojo/stdlib/std/collections/list.mojo:552:1: note: candidate not viable: missing required argument: 'copy'\ndef __init__(out self, *, copy: Self) where conforms_to(T, Copyable) # note - synthetic signature\n^\nMojo/stdlib/std/collections/list.mojo:160:1: note: candidate not viable: missing required argument: 'move'\ndef __init__(out self, *, deinit move: Self) # note - generated function\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.54,
"sourceSha256": "3aa80788411be3dfa3db644d5ee3ffb7a20302365bda5a6e76d609d2fbf231d2",
"stdin": ""
}