147 lines
6.0 KiB
JSON
Generated
147 lines
6.0 KiB
JSON
Generated
{
|
|
"args": "--target-cpu x86-64-v3 --fp-mode contract=off",
|
|
"askedAt": "2026-11-12T18:36:53+00:00",
|
|
"attempts": 1,
|
|
"compiler": "mojo_1_2_0",
|
|
"firstItem": "quest/MQ-223/starter",
|
|
"key": "634bd4e19e497557e570f87f123db8f00d9391b879be6d00d7aea5c67400ebed",
|
|
"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": 338,
|
|
"executableFilename": "/nosym/tmp/compiler-explorer-compiler482dRI/output.s",
|
|
"inputFilename": "example.mojo",
|
|
"instructionSet": "amd64",
|
|
"okToCache": true,
|
|
"processExecutionResultTime": 0.07394400052726269,
|
|
"stderr": [
|
|
{
|
|
"tag": {
|
|
"column": 19,
|
|
"file": "example.mojo",
|
|
"line": 5,
|
|
"severity": 3,
|
|
"text": "error: no matching function in initialization"
|
|
},
|
|
"text": "<source>:5:19: error: no matching function in initialization"
|
|
},
|
|
{
|
|
"text": " var seen = Set()"
|
|
},
|
|
{
|
|
"text": " ~~~^~"
|
|
},
|
|
{
|
|
"text": "Mojo/stdlib/std/collections/set.mojo:114:1: note: candidate not viable: failed to infer parameter 'T' of parent struct 'Set'"
|
|
},
|
|
{
|
|
"text": "def __init__(out self) # note - synthetic signature"
|
|
},
|
|
{
|
|
"text": "^"
|
|
},
|
|
{
|
|
"text": "Mojo/stdlib/std/collections/set.mojo:39:1: note: struct declared here"
|
|
},
|
|
{
|
|
"text": "struct Set[T: KeyElement, H: Defaultable & Hasher & Deinitable = AHasher[SIMD[.uint64, 4](0)]] # note - synthetic signature"
|
|
},
|
|
{
|
|
"text": "^"
|
|
},
|
|
{
|
|
"text": "Mojo/stdlib/std/collections/set.mojo:118:1: note: candidate not viable: failed to infer parameter 'T' of parent struct 'Set'"
|
|
},
|
|
{
|
|
"text": "def __init__(out self, *ts: T, *, __set_literal__: NoneType = None) where conforms_to(T, Copyable & Deinitable) # note - synthetic signature"
|
|
},
|
|
{
|
|
"text": "^"
|
|
},
|
|
{
|
|
"text": "Mojo/stdlib/std/collections/set.mojo:39:1: note: struct declared here"
|
|
},
|
|
{
|
|
"text": "struct Set[T: KeyElement, H: Defaultable & Hasher & Deinitable = AHasher[SIMD[.uint64, 4](0)]] # note - synthetic signature"
|
|
},
|
|
{
|
|
"text": "^"
|
|
},
|
|
{
|
|
"text": "Mojo/stdlib/std/collections/set.mojo:134:1: note: candidate not viable: missing required argument: 'elements'"
|
|
},
|
|
{
|
|
"text": "def __init__(out self, elements: List[T]) where conforms_to(T, Copyable & Deinitable) # note - synthetic signature"
|
|
},
|
|
{
|
|
"text": "^"
|
|
},
|
|
{
|
|
"text": "Mojo/stdlib/std/collections/set.mojo:39:1: note: candidate not viable: missing required argument: 'move'"
|
|
},
|
|
{
|
|
"text": "def __init__(out self, *, deinit move: Self) # note - generated function"
|
|
},
|
|
{
|
|
"text": "^"
|
|
},
|
|
{
|
|
"text": "Mojo/stdlib/std/collections/set.mojo:39:1: note: candidate not viable: missing required argument: 'copy'"
|
|
},
|
|
{
|
|
"text": "def __init__(out self, *, copy: Self) where conforms_to(T, Copyable) # 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": 409,
|
|
"okToCache": false,
|
|
"queueTime": 5,
|
|
"stderr": [
|
|
{
|
|
"text": "Build failed"
|
|
}
|
|
],
|
|
"stdout": [],
|
|
"timedOut": false
|
|
},
|
|
"result": {
|
|
"asm": null,
|
|
"buildStderr": "<source>:5:19: error: no matching function in initialization\n var seen = Set()\n ~~~^~\nMojo/stdlib/std/collections/set.mojo:114:1: note: candidate not viable: failed to infer parameter 'T' of parent struct 'Set'\ndef __init__(out self) # note - synthetic signature\n^\nMojo/stdlib/std/collections/set.mojo:39:1: note: struct declared here\nstruct Set[T: KeyElement, H: Defaultable & Hasher & Deinitable = AHasher[SIMD[.uint64, 4](0)]] # note - synthetic signature\n^\nMojo/stdlib/std/collections/set.mojo:118:1: note: candidate not viable: failed to infer parameter 'T' of parent struct 'Set'\ndef __init__(out self, *ts: T, *, __set_literal__: NoneType = None) where conforms_to(T, Copyable & Deinitable) # note - synthetic signature\n^\nMojo/stdlib/std/collections/set.mojo:39:1: note: struct declared here\nstruct Set[T: KeyElement, H: Defaultable & Hasher & Deinitable = AHasher[SIMD[.uint64, 4](0)]] # note - synthetic signature\n^\nMojo/stdlib/std/collections/set.mojo:134:1: note: candidate not viable: missing required argument: 'elements'\ndef __init__(out self, elements: List[T]) where conforms_to(T, Copyable & Deinitable) # note - synthetic signature\n^\nMojo/stdlib/std/collections/set.mojo:39:1: note: candidate not viable: missing required argument: 'move'\ndef __init__(out self, *, deinit move: Self) # note - generated function\n^\nMojo/stdlib/std/collections/set.mojo:39:1: note: candidate not viable: missing required argument: 'copy'\ndef __init__(out self, *, copy: Self) where conforms_to(T, Copyable) # 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.65,
|
|
"sourceSha256": "99226fb69abca5c064d1b14406dda8a4c7a7ef8b0e99951c6fa005f0c09bd5dd",
|
|
"stdin": ""
|
|
}
|