91 lines
2.6 KiB
JSON
91 lines
2.6 KiB
JSON
{
|
|
"args": "",
|
|
"askedAt": "2026-10-04T01:18:04+00:00",
|
|
"attempts": 1,
|
|
"compiler": "mojo_1_1_0",
|
|
"firstItem": "local/match-off-by-one",
|
|
"key": "f199efca793b722fb6c5fe0258b26660735bc0b6a8be4953c67c17970404ec4d",
|
|
"mode": "run",
|
|
"raw": {
|
|
"buildResult": {
|
|
"code": 1,
|
|
"compilationOptions": [
|
|
"build",
|
|
"/app/example.mojo"
|
|
],
|
|
"downloads": [],
|
|
"execTime": 861,
|
|
"executableFilename": "/nosym/tmp/compiler-explorer-compilersbUOR3/example",
|
|
"inputFilename": "example.mojo",
|
|
"instructionSet": "amd64",
|
|
"okToCache": true,
|
|
"processExecutionResultTime": 0.049904000014066696,
|
|
"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(\"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": 974,
|
|
"okToCache": false,
|
|
"queueTime": 3,
|
|
"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(\"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": 2.24,
|
|
"sourceSha256": "94328202a2a66e15a61be13e324cad13605d89888dcbca892b0760fc8cb637b6",
|
|
"stdin": ""
|
|
}
|