{ "args": "--target-cpu x86-64-v3 --fp-mode contract=off", "askedAt": "2026-11-12T18:34:09+00:00", "attempts": 1, "compiler": "mojo_1_2_0", "firstItem": "probes/list-variadic-init", "key": "e0d76ebdbd275de2ad49e2e37684bc660f71156c3f3c3297e2321f37626fa092", "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": 382, "executableFilename": "/nosym/tmp/compiler-explorer-compilerVYujlP/output.s", "inputFilename": "example.mojo", "instructionSet": "amd64", "okToCache": true, "processExecutionResultTime": 0.08332199975848198, "stderr": [ { "tag": { "column": 23, "file": "example.mojo", "line": 4, "severity": 3, "text": "error: no matching function in initialization" }, "text": ":4:23: error: no matching function in initialization" }, { "text": " var xs = List[Int](1, 2, 3)" }, { "text": " ~~~~~~~~~^~~~~~~~~" }, { "text": "Imported from :3:" }, { "text": "Mojo/stdlib/std/collections/list.mojo:409:1: note: candidate not viable: unexpected argument" }, { "text": "def __init__(out self) # note - synthetic signature" }, { "text": "^" }, { "text": "Imported from :3:" }, { "text": "Mojo/stdlib/std/collections/list.mojo:415:1: note: candidate not viable: missing required argument: 'capacity'" }, { "text": "def __init__(out self, *, capacity: Int) # note - synthetic signature" }, { "text": "^" }, { "text": "Imported from :3:" }, { "text": "Mojo/stdlib/std/collections/list.mojo:429: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": "Imported from :3:" }, { "text": "Mojo/stdlib/std/collections/list.mojo:442:1: note: candidate not viable: missing required argument: 'length'" }, { "text": "def __init__(out self, *, length: Int, fill_with: T) # note - synthetic signature" }, { "text": "^" }, { "text": "Imported from :3:" }, { "text": "Mojo/stdlib/std/collections/list.mojo:463: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": "Imported from :3:" }, { "text": "Mojo/stdlib/std/collections/list.mojo:485:1: note: candidate not viable: unexpected argument" }, { "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": "Imported from :3:" }, { "text": "Mojo/stdlib/std/collections/list.mojo:507: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": "Imported from :3:" }, { "text": "Mojo/stdlib/std/collections/list.mojo:521: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": "Imported from :3:" }, { "text": "Mojo/stdlib/std/collections/list.mojo:157: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.2.0/bin/mojo: error: failed to parse the provided Mojo source module" } ], "stdout": [], "timedOut": false, "truncated": false }, "code": -1, "didExecute": false, "execTime": 462, "okToCache": false, "queueTime": 5, "stderr": [ { "text": "Build failed" } ], "stdout": [], "timedOut": false }, "result": { "asm": null, "buildStderr": ":4:23: error: no matching function in initialization\n var xs = List[Int](1, 2, 3)\n ~~~~~~~~~^~~~~~~~~\nImported from :3:\nMojo/stdlib/std/collections/list.mojo:409:1: note: candidate not viable: unexpected argument\ndef __init__(out self) # note - synthetic signature\n^\nImported from :3:\nMojo/stdlib/std/collections/list.mojo:415:1: note: candidate not viable: missing required argument: 'capacity'\ndef __init__(out self, *, capacity: Int) # note - synthetic signature\n^\nImported from :3:\nMojo/stdlib/std/collections/list.mojo:429: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^\nImported from :3:\nMojo/stdlib/std/collections/list.mojo:442:1: note: candidate not viable: missing required argument: 'length'\ndef __init__(out self, *, length: Int, fill_with: T) # note - synthetic signature\n^\nImported from :3:\nMojo/stdlib/std/collections/list.mojo:463: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^\nImported from :3:\nMojo/stdlib/std/collections/list.mojo:485:1: note: candidate not viable: unexpected argument\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^\nImported from :3:\nMojo/stdlib/std/collections/list.mojo:507:1: note: candidate not viable: missing required argument: 'unsafe_uninit_length'\ndef __init__(out self, *, unsafe_uninit_length: Int) # note - synthetic signature\n^\nImported from :3:\nMojo/stdlib/std/collections/list.mojo:521:1: note: candidate not viable: missing required argument: 'copy'\ndef __init__(out self, *, copy: Self) where conforms_to(T, Copyable) # note - synthetic signature\n^\nImported from :3:\nMojo/stdlib/std/collections/list.mojo:157: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.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.7, "sourceSha256": "e3e03d74f04db6846e66f70306dec7ae7b6c4f537f98b66f40c746cec5a67d76", "stdin": "" }