74 lines
2.2 KiB
JSON
74 lines
2.2 KiB
JSON
{
|
|
"args": "",
|
|
"askedAt": "2026-10-03T14:32:31+00:00",
|
|
"compiler": "mojo_1_1_0",
|
|
"firstItem": "quest/MQ-520/starter",
|
|
"key": "00f1f0a157c3933dbe1c303907e9eb163957ff6f80d0013ad51df366f11269ba",
|
|
"mode": "run",
|
|
"raw": {
|
|
"buildResult": {
|
|
"code": 1,
|
|
"compilationOptions": [
|
|
"build",
|
|
"/app/example.mojo"
|
|
],
|
|
"downloads": [],
|
|
"execTime": 276,
|
|
"executableFilename": "/nosym/tmp/compiler-explorer-compilerIjjsnu/example",
|
|
"inputFilename": "example.mojo",
|
|
"instructionSet": "amd64",
|
|
"okToCache": true,
|
|
"processExecutionResultTime": 0.06281099934130907,
|
|
"stderr": [
|
|
{
|
|
"tag": {
|
|
"column": 16,
|
|
"file": "example.mojo",
|
|
"line": 2,
|
|
"severity": 3,
|
|
"text": "error: use of unknown declaration 'sqrt'; did you mean to import it from 'std.math'? Add 'from std.math import sqrt'"
|
|
},
|
|
"text": "<source>:2:16: error: use of unknown declaration 'sqrt'; did you mean to import it from 'std.math'? Add 'from std.math import sqrt'"
|
|
},
|
|
{
|
|
"text": " var root = sqrt(144.0)"
|
|
},
|
|
{
|
|
"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": 412,
|
|
"okToCache": false,
|
|
"queueTime": 4,
|
|
"stderr": [
|
|
{
|
|
"text": "Build failed"
|
|
}
|
|
],
|
|
"stdout": [],
|
|
"timedOut": false
|
|
},
|
|
"result": {
|
|
"asm": null,
|
|
"buildStderr": "<source>:2:16: error: use of unknown declaration 'sqrt'; did you mean to import it from 'std.math'? Add 'from std.math import sqrt'\n var root = sqrt(144.0)\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.62,
|
|
"sourceSha256": "eecfe3699e19e70010dc16d266f4b8b78b0137a513be1a7958cf6e6a2f91ebfe",
|
|
"stdin": ""
|
|
}
|