Files
pplus-core/mojo/golden/121ad55aac3086079a7ef20a40540d3f85a023cd7c8606c6f5cf4609578e01d2.json
T
2026-10-05 03:03:38 +00:00

142 lines
3.8 KiB
JSON

{
"args": "",
"askedAt": "2026-10-03T14:17:44+00:00",
"compiler": "mojo_1_1_0",
"firstItem": "manual/code/manual/errors/conditional_context_mgr",
"key": "121ad55aac3086079a7ef20a40540d3f85a023cd7c8606c6f5cf4609578e01d2",
"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": 5575,
"executableFilename": "/nosym/tmp/compiler-explorer-compiler9JFB3K/example",
"inputFilename": "example.mojo",
"instructionSet": "amd64",
"okToCache": true,
"packageStoreTime": 46,
"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.0013689994812011719,
"stderr": [],
"stdout": [],
"timedOut": false,
"truncated": false
},
"code": 1,
"didExecute": true,
"execTime": 432,
"okToCache": true,
"processExecutionResultTime": 0.03065899759531021,
"queueTime": 4,
"stderr": [
{
"text": "stack trace was not collected. Enable stack trace collection with environment variable `MODULAR_DEBUG=stack-trace-on-error`"
},
{
"text": "Unhandled exception caught during execution: really bad"
}
],
"stdout": [
{
"text": ""
},
{
"text": "Beginning execution"
},
{
"text": "i = 1"
},
{
"text": "j = 1"
},
{
"text": "Ending execution"
},
{
"text": "Elapsed time: 100.53 milliseconds"
},
{
"text": ""
},
{
"text": "Beginning execution"
},
{
"text": "i = 2"
},
{
"text": "Suppressing error: just a warning"
},
{
"text": "Elapsed time: 100.095 milliseconds"
},
{
"text": ""
},
{
"text": "Beginning execution"
},
{
"text": "i = 3"
},
{
"text": "continue executed"
},
{
"text": "Elapsed time: 100.075 milliseconds"
},
{
"text": ""
},
{
"text": "Beginning execution"
},
{
"text": "i = 4"
},
{
"text": "Propagating error"
},
{
"text": "Elapsed time: 100.085 milliseconds"
}
],
"timedOut": false,
"truncated": false
},
"result": {
"asm": null,
"buildStderr": "",
"compiled": true,
"executed": true,
"exitCode": 1,
"stderr": "stack trace was not collected. Enable stack trace collection with environment variable `MODULAR_DEBUG=stack-trace-on-error`\nUnhandled exception caught during execution: really bad",
"stdout": "\nBeginning execution\ni = 1\nj = 1\nEnding execution\nElapsed time: 100.53 milliseconds\n\nBeginning execution\ni = 2\nSuppressing error: just a warning\nElapsed time: 100.095 milliseconds\n\nBeginning execution\ni = 3\ncontinue executed\nElapsed time: 100.075 milliseconds\n\nBeginning execution\ni = 4\nPropagating error\nElapsed time: 100.085 milliseconds",
"timedOut": false
},
"seconds": 6.36,
"sourceSha256": "7164ebb6a943df13bc34b34a8ace95bcd7d16e2842df7c01e2e8f076554b4dfb",
"stdin": ""
}