123 lines
3.3 KiB
JSON
123 lines
3.3 KiB
JSON
{
|
|
"args": "",
|
|
"askedAt": "2026-10-03T14:17:53+00:00",
|
|
"compiler": "mojo_1_1_0",
|
|
"firstItem": "manual/code/manual/errors/handle_error",
|
|
"key": "31c72d1cc9bbe94268d2686006e15d4a29632a967dde7af2ffb10f424f3358d5",
|
|
"mode": "run",
|
|
"raw": {
|
|
"buildResult": {
|
|
"code": 0,
|
|
"compilationOptions": [
|
|
"build",
|
|
"/app/example.mojo"
|
|
],
|
|
"defaultExecOptions": {
|
|
"env": {
|
|
"CPLUS_INCLUDE_PATH": "/usr/include/x86_64-linux-gnu",
|
|
"C_INCLUDE_PATH": "/usr/include/x86_64-linux-gnu",
|
|
"HOME": "/home/ce",
|
|
"LD_LIBRARY_PATH": "",
|
|
"LIBRARY_PATH": "/usr/lib/x86_64-linux-gnu",
|
|
"MODULAR_CRASH_REPORTING_ENABLED": "false",
|
|
"PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
|
|
},
|
|
"maxErrorOutput": 5000,
|
|
"timeoutMs": 20000
|
|
},
|
|
"downloads": [],
|
|
"execTime": 4904,
|
|
"executableFilename": "/nosym/tmp/compiler-explorer-compilerhhyDxR/example",
|
|
"inputFilename": "example.mojo",
|
|
"instructionSet": "amd64",
|
|
"okToCache": true,
|
|
"packageStoreTime": 44,
|
|
"preparedLdPaths": [
|
|
"/opt/compiler-explorer/mojo-1.1.0/lib",
|
|
"/opt/compiler-explorer/mojo-1.1.0/lib32",
|
|
"/opt/compiler-explorer/mojo-1.1.0/lib64"
|
|
],
|
|
"processExecutionResultTime": 0.0012760013341903687,
|
|
"stderr": [],
|
|
"stdout": [],
|
|
"timedOut": false,
|
|
"truncated": false
|
|
},
|
|
"code": 0,
|
|
"didExecute": true,
|
|
"execTime": 32,
|
|
"okToCache": true,
|
|
"processExecutionResultTime": 0.032579999417066574,
|
|
"queueTime": 4,
|
|
"stderr": [],
|
|
"stdout": [
|
|
{
|
|
"text": ""
|
|
},
|
|
{
|
|
"text": "try => id: 5"
|
|
},
|
|
{
|
|
"text": "else => success: record_5"
|
|
},
|
|
{
|
|
"text": "finally => done with id: 5"
|
|
},
|
|
{
|
|
"text": ""
|
|
},
|
|
{
|
|
"text": "try => id: 0"
|
|
},
|
|
{
|
|
"text": "finally => done with id: 0"
|
|
},
|
|
{
|
|
"text": ""
|
|
},
|
|
{
|
|
"text": "try => id: 1001"
|
|
},
|
|
{
|
|
"text": "except => handled: record not found"
|
|
},
|
|
{
|
|
"text": "finally => done with id: 1001"
|
|
},
|
|
{
|
|
"text": ""
|
|
},
|
|
{
|
|
"text": "try => id: -3"
|
|
},
|
|
{
|
|
"text": "except => fatal: invalid record ID: must be non-negative"
|
|
},
|
|
{
|
|
"text": "finally => done with id: -3"
|
|
},
|
|
{
|
|
"text": ""
|
|
},
|
|
{
|
|
"text": "re-raised error: invalid record ID: must be non-negative"
|
|
}
|
|
],
|
|
"timedOut": false,
|
|
"truncated": false
|
|
},
|
|
"result": {
|
|
"asm": null,
|
|
"buildStderr": "",
|
|
"compiled": true,
|
|
"executed": true,
|
|
"exitCode": 0,
|
|
"stderr": "",
|
|
"stdout": "\ntry => id: 5\nelse => success: record_5\nfinally => done with id: 5\n\ntry => id: 0\nfinally => done with id: 0\n\ntry => id: 1001\nexcept => handled: record not found\nfinally => done with id: 1001\n\ntry => id: -3\nexcept => fatal: invalid record ID: must be non-negative\nfinally => done with id: -3\n\nre-raised error: invalid record ID: must be non-negative",
|
|
"timedOut": false
|
|
},
|
|
"seconds": 5.31,
|
|
"sourceSha256": "905ad27a1c0277663b17797077116fc8ceee69aff16ce66844444638f105a7c8",
|
|
"stdin": ""
|
|
}
|