This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
+131
@@ -0,0 +1,131 @@
|
||||
{
|
||||
"args": "--target-cpu x86-64-v3 --fp-mode contract=off",
|
||||
"askedAt": "2026-11-12T18:40:14+00:00",
|
||||
"attempts": 1,
|
||||
"compiler": "mojo_1_2_0",
|
||||
"firstItem": "quest/MQ-827/starter",
|
||||
"key": "0e6686d7a9cf4e0335bba3df543463799e7b99447066fa6587d8374009181478",
|
||||
"mode": "run",
|
||||
"raw": {
|
||||
"buildResult": {
|
||||
"code": 1,
|
||||
"compilationOptions": [
|
||||
"build",
|
||||
"-g1",
|
||||
"-o",
|
||||
"/app/output.s",
|
||||
"--target-cpu",
|
||||
"x86-64-v3",
|
||||
"--fp-mode",
|
||||
"contract=off",
|
||||
"/app/example.mojo",
|
||||
"-Xlinker=-L./lib",
|
||||
"-Xlinker=-rpath=./lib"
|
||||
],
|
||||
"downloads": [],
|
||||
"execTime": 381,
|
||||
"executableFilename": "/nosym/tmp/compiler-explorer-compilerl9oBYb/output.s",
|
||||
"inputFilename": "example.mojo",
|
||||
"instructionSet": "amd64",
|
||||
"okToCache": true,
|
||||
"processExecutionResultTime": 0.07180400006473064,
|
||||
"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.2.0/bin/mojo: error: failed to parse the provided Mojo source module"
|
||||
}
|
||||
],
|
||||
"stdout": [],
|
||||
"timedOut": false,
|
||||
"truncated": false
|
||||
},
|
||||
"code": -1,
|
||||
"didExecute": false,
|
||||
"execTime": 461,
|
||||
"okToCache": false,
|
||||
"queueTime": 5,
|
||||
"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.2.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.7,
|
||||
"sourceSha256": "156e2a52b670ebbe12bc326bcd4c15976fd2a22500cfa1d3c1054da80c388b1c",
|
||||
"stdin": ""
|
||||
}
|
||||
Reference in new issue
Block a user