122 lines
3.6 KiB
JSON
122 lines
3.6 KiB
JSON
{
|
|
"args": "",
|
|
"askedAt": "2026-10-03T14:33:19+00:00",
|
|
"compiler": "mojo_1_1_0",
|
|
"firstItem": "quest/MQ-827/starter",
|
|
"key": "3b186cd81069cf9fa85cc91edc911b992471eac67cf8b33de4e59751d7b71e71",
|
|
"mode": "run",
|
|
"raw": {
|
|
"buildResult": {
|
|
"code": 1,
|
|
"compilationOptions": [
|
|
"build",
|
|
"/app/example.mojo"
|
|
],
|
|
"downloads": [],
|
|
"execTime": 229,
|
|
"executableFilename": "/nosym/tmp/compiler-explorer-compilerqXNFYY/example",
|
|
"inputFilename": "example.mojo",
|
|
"instructionSet": "amd64",
|
|
"okToCache": true,
|
|
"processExecutionResultTime": 0.05736199952661991,
|
|
"stderr": [
|
|
{
|
|
"tag": {
|
|
"column": 12,
|
|
"file": "example.mojo",
|
|
"line": 19,
|
|
"severity": 3,
|
|
"text": "error: 'Robot' value has no attribute 'greet'"
|
|
},
|
|
"text": "<source>:19:12: error: 'Robot' value has no attribute 'greet'"
|
|
},
|
|
{
|
|
"text": " print(r.greet())"
|
|
},
|
|
{
|
|
"text": " ~^"
|
|
},
|
|
{
|
|
"tag": {
|
|
"column": 8,
|
|
"file": "example.mojo",
|
|
"line": 9,
|
|
"severity": 3,
|
|
"text": "error: 'Robot' does not implement all requirements for 'Greeter'"
|
|
},
|
|
"text": "<source>:9:8: error: 'Robot' does not implement all requirements for 'Greeter'"
|
|
},
|
|
{
|
|
"text": "struct Robot(Greeter):"
|
|
},
|
|
{
|
|
"text": " ^"
|
|
},
|
|
{
|
|
"tag": {
|
|
"column": 9,
|
|
"file": "example.mojo",
|
|
"line": 5,
|
|
"severity": 1,
|
|
"text": "note: required function 'greet' is not implemented"
|
|
},
|
|
"text": "<source>:5:9: note: required function 'greet' is not implemented"
|
|
},
|
|
{
|
|
"text": " def greet(self) -> String:"
|
|
},
|
|
{
|
|
"text": " ^"
|
|
},
|
|
{
|
|
"tag": {
|
|
"column": 7,
|
|
"file": "example.mojo",
|
|
"line": 1,
|
|
"severity": 1,
|
|
"text": "note: trait 'Greeter' declared here"
|
|
},
|
|
"text": "<source>:1:7: note: trait 'Greeter' declared here"
|
|
},
|
|
{
|
|
"text": "trait Greeter:"
|
|
},
|
|
{
|
|
"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": 304,
|
|
"okToCache": false,
|
|
"queueTime": 4,
|
|
"stderr": [
|
|
{
|
|
"text": "Build failed"
|
|
}
|
|
],
|
|
"stdout": [],
|
|
"timedOut": false
|
|
},
|
|
"result": {
|
|
"asm": null,
|
|
"buildStderr": "<source>:19:12: error: 'Robot' value has no attribute 'greet'\n print(r.greet())\n ~^\n<source>:9:8: error: 'Robot' does not implement all requirements for 'Greeter'\nstruct Robot(Greeter):\n ^\n<source>:5:9: note: required function 'greet' is not implemented\n def greet(self) -> String:\n ^\n<source>:1:7: note: trait 'Greeter' declared here\ntrait Greeter:\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.51,
|
|
"sourceSha256": "156e2a52b670ebbe12bc326bcd4c15976fd2a22500cfa1d3c1054da80c388b1c",
|
|
"stdin": ""
|
|
}
|