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

106 lines
3.1 KiB
JSON

{
"args": "",
"askedAt": "2026-10-03T14:30:46+00:00",
"compiler": "mojo_1_1_0",
"firstItem": "quest/MQ-309/starter",
"key": "f44eb23829a935901ce4edc9b9276c56ea6e7c33997766a5f4840fa1402cc078",
"mode": "run",
"raw": {
"buildResult": {
"code": 1,
"compilationOptions": [
"build",
"/app/example.mojo"
],
"downloads": [],
"execTime": 246,
"executableFilename": "/nosym/tmp/compiler-explorer-compilerZYN8My/example",
"inputFilename": "example.mojo",
"instructionSet": "amd64",
"okToCache": true,
"processExecutionResultTime": 0.08857899997383356,
"stderr": [
{
"tag": {
"column": 23,
"file": "example.mojo",
"line": 2,
"severity": 3,
"text": "error: unexpected character"
},
"text": "<source>:2:23: error: unexpected character"
},
{
"text": " return speed > 10 ? \"fast\" : \"slow\""
},
{
"text": " ^"
},
{
"tag": {
"column": 23,
"file": "example.mojo",
"line": 2,
"severity": 3,
"text": "error: unexpected character"
},
"text": "<source>:2:23: error: unexpected character"
},
{
"text": " return speed > 10 ? \"fast\" : \"slow\""
},
{
"text": " ^"
},
{
"tag": {
"column": 18,
"file": "example.mojo",
"line": 2,
"severity": 3,
"text": "error: cannot implicitly convert 'Bool' value to 'String'"
},
"text": "<source>:2:18: error: cannot implicitly convert 'Bool' value to 'String'"
},
{
"text": " return speed > 10 ? \"fast\" : \"slow\""
},
{
"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": 329,
"okToCache": false,
"queueTime": 4,
"stderr": [
{
"text": "Build failed"
}
],
"stdout": [],
"timedOut": false
},
"result": {
"asm": null,
"buildStderr": "<source>:2:23: error: unexpected character\n return speed > 10 ? \"fast\" : \"slow\"\n ^\n<source>:2:23: error: unexpected character\n return speed > 10 ? \"fast\" : \"slow\"\n ^\n<source>:2:18: error: cannot implicitly convert 'Bool' value to 'String'\n return speed > 10 ? \"fast\" : \"slow\"\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.55,
"sourceSha256": "c735027d28d1d2bba9a5121d1d245a0382b447cfa7c6d6fd92ef08eefe45d8c8",
"stdin": ""
}