Files
pplus-web/mojo/golden/575f067f33c439fb95d1cec5de339e79f42677f1d1d1a53a47b2c025cc552511.json
T
2026-10-05 03:03:38 +00:00

91 lines
2.6 KiB
JSON

{
"args": "",
"askedAt": "2026-10-04T01:18:05+00:00",
"attempts": 1,
"compiler": "mojo_1_1_0",
"firstItem": "local/match-proved",
"key": "575f067f33c439fb95d1cec5de339e79f42677f1d1d1a53a47b2c025cc552511",
"mode": "run",
"raw": {
"buildResult": {
"code": 1,
"compilationOptions": [
"build",
"/app/example.mojo"
],
"downloads": [],
"execTime": 517,
"executableFilename": "/nosym/tmp/compiler-explorer-compilerw9YNHq/example",
"inputFilename": "example.mojo",
"instructionSet": "amd64",
"okToCache": true,
"processExecutionResultTime": 0.10753999999724329,
"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": 25,
"severity": 3,
"text": "error: unexpected token in expression"
},
"text": "<source>:25:11: error: unexpected token in expression"
},
{
"text": " print(match(\"ATT\", \"GATTACA\"))"
},
{
"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": 671,
"okToCache": false,
"queueTime": 8,
"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>:25:11: error: unexpected token in expression\n print(match(\"ATT\", \"GATTACA\"))\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.94,
"sourceSha256": "4a87c613f7d4d84a58f2e6cd304062089f36ac398c72e2575e0b6df891a9ec7e",
"stdin": ""
}