This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
+115
@@ -0,0 +1,115 @@
|
||||
{
|
||||
"args": "--target-cpu x86-64-v3 --fp-mode contract=off",
|
||||
"askedAt": "2026-11-12T18:35:45+00:00",
|
||||
"attempts": 1,
|
||||
"compiler": "mojo_1_2_0",
|
||||
"firstItem": "quest/MQ-110/starter",
|
||||
"key": "0cc4b18a6646fc412bfa71d1965a9b8a98728c549b78cf1f0b96bdc4bcd20caf",
|
||||
"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": 252,
|
||||
"executableFilename": "/nosym/tmp/compiler-explorer-compilerYPakkk/output.s",
|
||||
"inputFilename": "example.mojo",
|
||||
"instructionSet": "amd64",
|
||||
"okToCache": true,
|
||||
"processExecutionResultTime": 0.056453000055626035,
|
||||
"stderr": [
|
||||
{
|
||||
"tag": {
|
||||
"column": 14,
|
||||
"file": "example.mojo",
|
||||
"line": 3,
|
||||
"severity": 3,
|
||||
"text": "error: 'Int' does not implement the '__iter__' method"
|
||||
},
|
||||
"text": "<source>:3:14: error: 'Int' does not implement the '__iter__' method"
|
||||
},
|
||||
{
|
||||
"text": " for r in readings:"
|
||||
},
|
||||
{
|
||||
"text": " ^~~~~~~~"
|
||||
},
|
||||
{
|
||||
"tag": {
|
||||
"column": 28,
|
||||
"file": "example.mojo",
|
||||
"line": 9,
|
||||
"severity": 3,
|
||||
"text": "error: invalid call to 'total': unexpected argument"
|
||||
},
|
||||
"text": "<source>:9:28: error: invalid call to 'total': unexpected argument"
|
||||
},
|
||||
{
|
||||
"text": " print(\"sum:\", total(3, 4, 5))"
|
||||
},
|
||||
{
|
||||
"text": " ~~~~~ ^"
|
||||
},
|
||||
{
|
||||
"tag": {
|
||||
"column": 5,
|
||||
"file": "example.mojo",
|
||||
"line": 1,
|
||||
"severity": 1,
|
||||
"text": "note: function declared here"
|
||||
},
|
||||
"text": "<source>:1:5: note: function declared here"
|
||||
},
|
||||
{
|
||||
"text": "def total(readings: Int) -> Int:"
|
||||
},
|
||||
{
|
||||
"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": 334,
|
||||
"okToCache": false,
|
||||
"queueTime": 4,
|
||||
"stderr": [
|
||||
{
|
||||
"text": "Build failed"
|
||||
}
|
||||
],
|
||||
"stdout": [],
|
||||
"timedOut": false
|
||||
},
|
||||
"result": {
|
||||
"asm": null,
|
||||
"buildStderr": "<source>:3:14: error: 'Int' does not implement the '__iter__' method\n for r in readings:\n ^~~~~~~~\n<source>:9:28: error: invalid call to 'total': unexpected argument\n print(\"sum:\", total(3, 4, 5))\n ~~~~~ ^\n<source>:1:5: note: function declared here\ndef total(readings: Int) -> Int:\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.56,
|
||||
"sourceSha256": "255ca36d79616859364932001d384e995661ed3644cfc3b7b3edf5c23fef993d",
|
||||
"stdin": ""
|
||||
}
|
||||
Reference in new issue
Block a user