143 lines
4.0 KiB
JSON
143 lines
4.0 KiB
JSON
{
|
|
"args": "",
|
|
"askedAt": "2026-10-03T14:24:04+00:00",
|
|
"compiler": "mojo_1_1_0",
|
|
"firstItem": "manual/code/reference/decorators/deprecated/basic_deprecation",
|
|
"key": "e19657c1a5977428b5d482df0acc806c43aa9ff9a2254fdccff33caddcb0aed4",
|
|
"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": 4655,
|
|
"executableFilename": "/nosym/tmp/compiler-explorer-compilerVFB6Mu/example",
|
|
"inputFilename": "example.mojo",
|
|
"instructionSet": "amd64",
|
|
"okToCache": true,
|
|
"packageStoreTime": 45,
|
|
"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.09032600000500679,
|
|
"stderr": [
|
|
{
|
|
"tag": {
|
|
"column": 5,
|
|
"file": "example.mojo",
|
|
"line": 33,
|
|
"severity": 2,
|
|
"text": "warning: Ignore. Deprecation test. Sunsetting a"
|
|
},
|
|
"text": "<source>:33:5: warning: Ignore. Deprecation test. Sunsetting a"
|
|
},
|
|
{
|
|
"text": " a() # custom warning"
|
|
},
|
|
{
|
|
"text": " ^"
|
|
},
|
|
{
|
|
"tag": {
|
|
"column": 5,
|
|
"file": "example.mojo",
|
|
"line": 17,
|
|
"severity": 1,
|
|
"text": "note: 'a' declared here"
|
|
},
|
|
"text": "<source>:17:5: note: 'a' declared here"
|
|
},
|
|
{
|
|
"text": "def a():"
|
|
},
|
|
{
|
|
"text": " ^"
|
|
},
|
|
{
|
|
"tag": {
|
|
"column": 5,
|
|
"file": "example.mojo",
|
|
"line": 34,
|
|
"severity": 2,
|
|
"text": "warning: 'b' is deprecated, use 'c' instead"
|
|
},
|
|
"text": "<source>:34:5: warning: 'b' is deprecated, use 'c' instead"
|
|
},
|
|
{
|
|
"text": " b() # warning with recommended replacement"
|
|
},
|
|
{
|
|
"text": " ^"
|
|
},
|
|
{
|
|
"text": " c"
|
|
},
|
|
{
|
|
"tag": {
|
|
"column": 5,
|
|
"file": "example.mojo",
|
|
"line": 23,
|
|
"severity": 1,
|
|
"text": "note: 'b' declared here"
|
|
},
|
|
"text": "<source>:23:5: note: 'b' declared here"
|
|
},
|
|
{
|
|
"text": "def b():"
|
|
},
|
|
{
|
|
"text": " ^"
|
|
}
|
|
],
|
|
"stdout": [],
|
|
"timedOut": false,
|
|
"truncated": false
|
|
},
|
|
"code": 0,
|
|
"didExecute": true,
|
|
"execTime": 40,
|
|
"okToCache": true,
|
|
"processExecutionResultTime": 0.018011000007390976,
|
|
"queueTime": 4,
|
|
"stderr": [],
|
|
"stdout": [
|
|
{
|
|
"text": "This is a functioning app"
|
|
}
|
|
],
|
|
"timedOut": false,
|
|
"truncated": false
|
|
},
|
|
"result": {
|
|
"asm": null,
|
|
"buildStderr": "<source>:33:5: warning: Ignore. Deprecation test. Sunsetting a\n a() # custom warning\n ^\n<source>:17:5: note: 'a' declared here\ndef a():\n ^\n<source>:34:5: warning: 'b' is deprecated, use 'c' instead\n b() # warning with recommended replacement\n ^\n c\n<source>:23:5: note: 'b' declared here\ndef b():\n ^",
|
|
"compiled": true,
|
|
"executed": true,
|
|
"exitCode": 0,
|
|
"stderr": "",
|
|
"stdout": "This is a functioning app",
|
|
"timedOut": false
|
|
},
|
|
"seconds": 5.04,
|
|
"sourceSha256": "67ece087a36a8dd96d250ebc76ab8dc8c3c086aeea8ee61a9b8ad6a291eea8d4",
|
|
"stdin": ""
|
|
}
|