{ "args": "--target-cpu x86-64-v3 --fp-mode contract=off", "askedAt": "2026-11-12T18:28:01+00:00", "attempts": 1, "compiler": "mojo_1_2_0", "firstItem": "manual/code/reference/decorators/deprecated/deprecation", "key": "8047c326b04157bc0f178ebbe80f19a5600d6e940ee74145aa89128f998fdea4", "mode": "run", "raw": { "buildResult": { "code": 0, "compilationOptions": [ "build", "-g1", "-o", "/app/output.s", "--target-cpu", "x86-64-v3", "--fp-mode", "contract=off", "/app/example.mojo", "-Xlinker=-L./lib", "-Xlinker=-rpath=./lib" ], "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": 4581, "executableFilename": "/nosym/tmp/compiler-explorer-compilerEhX3LT/output.s", "inputFilename": "example.mojo", "instructionSet": "amd64", "okToCache": true, "packageStoreTime": 69, "preparedLdPaths": [ "/opt/compiler-explorer/mojo-1.2.0/lib", "/opt/compiler-explorer/mojo-1.2.0/lib32", "/opt/compiler-explorer/mojo-1.2.0/lib64" ], "processExecutionResultTime": 0.07070699986070395, "stderr": [ { "tag": { "column": 9, "file": "example.mojo", "line": 50, "severity": 2, "text": "warning: 'MyStruct' is deprecated, use 'OtherStruct' instead" }, "text": ":50:9: warning: 'MyStruct' is deprecated, use 'OtherStruct' instead" }, { "text": " _ = MyStruct(x=5)" }, { "text": " ^~~~~~~~" }, { "text": " OtherStruct" }, { "tag": { "column": 8, "file": "example.mojo", "line": 17, "severity": 1, "text": "note: 'MyStruct' declared here" }, "text": ":17:8: note: 'MyStruct' declared here" }, { "text": "struct MyStruct:" }, { "text": " ^" }, { "tag": { "column": 19, "file": "example.mojo", "line": 52, "severity": 2, "text": "warning: Ignore. Deprecation test." }, "text": ":52:19: warning: Ignore. Deprecation test." }, { "text": " OtherStruct(2).function()" }, { "text": " ~~~~~~~~~~~~~~^~~~~~~~~" }, { "tag": { "column": 9, "file": "example.mojo", "line": 37, "severity": 1, "text": "note: 'function' declared here" }, "text": ":37:9: note: 'function' declared here" }, { "text": " def function(self):" }, { "text": " ^" }, { "tag": { "column": 11, "file": "example.mojo", "line": 54, "severity": 2, "text": "warning: Ignore. Deprecation test." }, "text": ":54:11: warning: Ignore. Deprecation test." }, { "text": " print(pi)" }, { "text": " ^~" }, { "tag": { "column": 1, "file": "example.mojo", "line": 46, "severity": 1, "text": "note: 'pi' declared here" }, "text": ":46:1: note: 'pi' declared here" }, { "text": "comptime pi = 3.141592" }, { "text": "^" } ], "stdout": [], "timedOut": false, "truncated": false }, "code": 0, "didExecute": true, "execTime": 25, "okToCache": true, "processExecutionResultTime": 0.019739999901503325, "queueTime": 4, "stderr": [], "stdout": [ { "text": "3.141592" }, { "text": "This is a functioning app" } ], "timedOut": false, "truncated": false }, "result": { "asm": null, "buildStderr": ":50:9: warning: 'MyStruct' is deprecated, use 'OtherStruct' instead\n _ = MyStruct(x=5)\n ^~~~~~~~\n OtherStruct\n:17:8: note: 'MyStruct' declared here\nstruct MyStruct:\n ^\n:52:19: warning: Ignore. Deprecation test.\n OtherStruct(2).function()\n ~~~~~~~~~~~~~~^~~~~~~~~\n:37:9: note: 'function' declared here\n def function(self):\n ^\n:54:11: warning: Ignore. Deprecation test.\n print(pi)\n ^~\n:46:1: note: 'pi' declared here\ncomptime pi = 3.141592\n^", "compiled": true, "executed": true, "exitCode": 0, "stderr": "", "stdout": "3.141592\nThis is a functioning app", "timedOut": false }, "seconds": 5.0, "sourceSha256": "d8a7ce588c13852607b8785a928103a3ae7bcfb5918ca72fca424eeb8910c415", "stdin": "" }