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

91 lines
2.6 KiB
JSON

{
"args": "",
"askedAt": "2026-10-04T01:18:07+00:00",
"attempts": 1,
"compiler": "mojo_1_1_0",
"firstItem": "local/match-reset",
"key": "e68aadd6a2123648f3c659f4aa8c1e355597f3bf6df0582b92d4a44a452b7d80",
"mode": "run",
"raw": {
"buildResult": {
"code": 1,
"compilationOptions": [
"build",
"/app/example.mojo"
],
"downloads": [],
"execTime": 1002,
"executableFilename": "/nosym/tmp/compiler-explorer-compilero4bkqi/example",
"inputFilename": "example.mojo",
"instructionSet": "amd64",
"okToCache": true,
"processExecutionResultTime": 0.060277000011410564,
"stderr": [
{
"tag": {
"column": 5,
"file": "example.mojo",
"line": 5,
"severity": 3,
"text": "error: 'match' cannot be used as a function name in this context"
},
"text": "<source>:5:5: error: 'match' cannot be used as a function name in this context"
},
{
"text": "def match(p: String, t: String) -> List[Int]:"
},
{
"text": " ^"
},
{
"tag": {
"column": 11,
"file": "example.mojo",
"line": 21,
"severity": 3,
"text": "error: unexpected token in expression"
},
"text": "<source>:21:11: error: unexpected token in expression"
},
{
"text": " print(match(\"GC\", \"GATGCA\"))"
},
{
"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": 1129,
"okToCache": false,
"queueTime": 5,
"stderr": [
{
"text": "Build failed"
}
],
"stdout": [],
"timedOut": false
},
"result": {
"asm": null,
"buildStderr": "<source>:5:5: error: 'match' cannot be used as a function name in this context\ndef match(p: String, t: String) -> List[Int]:\n ^\n<source>:21:11: error: unexpected token in expression\n print(match(\"GC\", \"GATGCA\"))\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": 1.45,
"sourceSha256": "2b6b46096902a9060183f5aa7fac3212ae1ac3af34b69b3c441f94140ce354bb",
"stdin": ""
}