93 lines
2.8 KiB
JSON
93 lines
2.8 KiB
JSON
{
|
|
"args": "",
|
|
"askedAt": "2026-10-03T14:29:20+00:00",
|
|
"compiler": "mojo_1_1_0",
|
|
"firstItem": "quest/MQ-202/starter",
|
|
"key": "0512ed605b3102ec1f6a3a782696364f34976bf787ef33fcc85f9f4d2ebd1966",
|
|
"mode": "run",
|
|
"raw": {
|
|
"buildResult": {
|
|
"code": 1,
|
|
"compilationOptions": [
|
|
"build",
|
|
"/app/example.mojo"
|
|
],
|
|
"downloads": [],
|
|
"execTime": 139,
|
|
"executableFilename": "/nosym/tmp/compiler-explorer-compiler9Ybtre/example",
|
|
"inputFilename": "example.mojo",
|
|
"instructionSet": "amd64",
|
|
"okToCache": true,
|
|
"processExecutionResultTime": 0.0647599995136261,
|
|
"stderr": [
|
|
{
|
|
"tag": {
|
|
"column": 9,
|
|
"file": "example.mojo",
|
|
"line": 2,
|
|
"severity": 3,
|
|
"text": "error: cannot declare 'threshold' without a contextual type from its initializer"
|
|
},
|
|
"text": "<source>:2:9: error: cannot declare 'threshold' without a contextual type from its initializer"
|
|
},
|
|
{
|
|
"text": " var threshold"
|
|
},
|
|
{
|
|
"text": " ^~~~~~~~~"
|
|
},
|
|
{
|
|
"tag": {
|
|
"column": 5,
|
|
"file": "example.mojo",
|
|
"line": 3,
|
|
"severity": 3,
|
|
"text": "error: implicit declaration of 'threshold' is not allowed; add 'var' to declare a new name"
|
|
},
|
|
"text": "<source>:3:5: error: implicit declaration of 'threshold' is not allowed; add 'var' to declare a new name"
|
|
},
|
|
{
|
|
"text": " threshold = 10"
|
|
},
|
|
{
|
|
"text": " ^~~~~~~~~"
|
|
},
|
|
{
|
|
"text": " var "
|
|
},
|
|
{
|
|
"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": 209,
|
|
"okToCache": false,
|
|
"queueTime": 4,
|
|
"stderr": [
|
|
{
|
|
"text": "Build failed"
|
|
}
|
|
],
|
|
"stdout": [],
|
|
"timedOut": false
|
|
},
|
|
"result": {
|
|
"asm": null,
|
|
"buildStderr": "<source>:2:9: error: cannot declare 'threshold' without a contextual type from its initializer\n var threshold\n ^~~~~~~~~\n<source>:3:5: error: implicit declaration of 'threshold' is not allowed; add 'var' to declare a new name\n threshold = 10\n ^~~~~~~~~\n var \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.43,
|
|
"sourceSha256": "8a3dd262528e337e3258524d7d6441dfe06e4137296d1a8441ff1da41334d0d7",
|
|
"stdin": ""
|
|
}
|