This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
+131
@@ -0,0 +1,131 @@
|
||||
{
|
||||
"args": "--target-cpu x86-64-v3 --fp-mode contract=off",
|
||||
"askedAt": "2026-11-12T18:40:23+00:00",
|
||||
"attempts": 1,
|
||||
"compiler": "mojo_1_2_0",
|
||||
"firstItem": "quest/MQ-845/starter",
|
||||
"key": "c0f36b75709a7e9d566ea8e3dcb1a930f04b63b89b858447f585c06d916ba4bc",
|
||||
"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": 3532,
|
||||
"executableFilename": "/nosym/tmp/compiler-explorer-compilerG1O7MJ/output.s",
|
||||
"inputFilename": "example.mojo",
|
||||
"instructionSet": "amd64",
|
||||
"okToCache": true,
|
||||
"processExecutionResultTime": 0.058397999964654446,
|
||||
"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.2.0/bin/mojo: error: failed to run the pass manager"
|
||||
}
|
||||
],
|
||||
"stdout": [],
|
||||
"timedOut": false,
|
||||
"truncated": false
|
||||
},
|
||||
"code": -1,
|
||||
"didExecute": false,
|
||||
"execTime": 3609,
|
||||
"okToCache": false,
|
||||
"queueTime": 4,
|
||||
"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.2.0/bin/mojo: error: failed to run the pass manager",
|
||||
"compiled": false,
|
||||
"executed": false,
|
||||
"exitCode": -1,
|
||||
"stderr": "Build failed",
|
||||
"stdout": "",
|
||||
"timedOut": false
|
||||
},
|
||||
"seconds": 3.83,
|
||||
"sourceSha256": "7d6c2bd610ae346f5c2650e5ab78fbedd3b938744a8512fbf1b37cadac1b6cd1",
|
||||
"stdin": ""
|
||||
}
|
||||
Reference in new issue
Block a user