Files
pplus-core/mojo/golden/8cb30c6ba2969cbed87c76d52957a429fd99b811dfa60af184b7b9e3638d28df.json
T
2026-10-05 03:03:38 +00:00

90 lines
2.6 KiB
JSON

{
"args": "",
"askedAt": "2026-10-03T14:33:12+00:00",
"compiler": "mojo_1_1_0",
"firstItem": "quest/MQ-810/starter",
"key": "8cb30c6ba2969cbed87c76d52957a429fd99b811dfa60af184b7b9e3638d28df",
"mode": "run",
"raw": {
"buildResult": {
"code": 1,
"compilationOptions": [
"build",
"/app/example.mojo"
],
"downloads": [],
"execTime": 174,
"executableFilename": "/nosym/tmp/compiler-explorer-compiler7j2kuL/example",
"inputFilename": "example.mojo",
"instructionSet": "amd64",
"okToCache": true,
"processExecutionResultTime": 0.07954999804496765,
"stderr": [
{
"tag": {
"column": 30,
"file": "example.mojo",
"line": 6,
"severity": 3,
"text": "error: invalid call to 'scale': missing required argument: 'x'"
},
"text": "<source>:6:30: error: invalid call to 'scale': missing required argument: 'x'"
},
{
"text": " print(\"Scaled:\", scale[3](14))"
},
{
"text": " ~~~~~ ^"
},
{
"tag": {
"column": 5,
"file": "example.mojo",
"line": 1,
"severity": 1,
"text": "note: function declared here"
},
"text": "<source>:1:5: note: function declared here"
},
{
"text": "def scale(factor: Int, x: Int) -> Int:"
},
{
"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": 241,
"okToCache": false,
"queueTime": 5,
"stderr": [
{
"text": "Build failed"
}
],
"stdout": [],
"timedOut": false
},
"result": {
"asm": null,
"buildStderr": "<source>:6:30: error: invalid call to 'scale': missing required argument: 'x'\n print(\"Scaled:\", scale[3](14))\n ~~~~~ ^\n<source>:1:5: note: function declared here\ndef scale(factor: Int, x: Int) -> Int:\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.48,
"sourceSha256": "f63cb4d8e48ad6306a0338acf6d21c7a579692a157161e1e59303bb34ccaf852",
"stdin": ""
}