{ "args": "--target-cpu x86-64-v3 --fp-mode contract=off", "askedAt": "2026-11-12T18:30:14+00:00", "attempts": 1, "compiler": "mojo_1_2_0", "firstItem": "manual/snippet/manual-values-lifetimes-3", "key": "17c541cbb727427909de1694b002f983a671b247ca718b38d6ae21850814e2ff", "mode": "run", "raw": { "buildResult": { "code": 1, "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" ], "downloads": [], "execTime": 178, "executableFilename": "/nosym/tmp/compiler-explorer-compilerVEChhx/output.s", "inputFilename": "example.mojo", "instructionSet": "amd64", "okToCache": true, "processExecutionResultTime": 0.04117400199174881, "stderr": [ { "tag": { "column": 1, "file": "example.mojo", "line": 1, "severity": 3, "text": "error: global variables are not supported; move this into a function body or use 'comptime' to declare a constant" }, "text": ":1:1: error: global variables are not supported; move this into a function body or use 'comptime' to declare a constant" }, { "text": "var name_copy = list[2] # owned copy of list[2]" }, { "text": "^" }, { "tag": { "column": 1, "file": "example.mojo", "line": 3, "severity": 3, "text": "error: backtick identifier must not be empty; add content between the backticks" }, "text": ":3:1: error: backtick identifier must not be empty; add content between the backticks" }, { "text": "```" }, { "text": "^" }, { "tag": { "column": 1, "file": "example.mojo", "line": 2, "severity": 3, "text": "error: expressions must not appear at file scope; move this into a function body" }, "text": ":2:1: error: expressions must not appear at file scope; move this into a function body" }, { "text": "ref name_ref = list[2] # reference to list[2]" }, { "text": "^" }, { "tag": { "column": 3, "file": "example.mojo", "line": 3, "severity": 3, "text": "error: unterminated backtick identifier" }, "text": ":3:3: error: unterminated backtick identifier" }, { "text": "```" }, { "text": " ^" }, { "text": "/opt/compiler-explorer/mojo-1.2.0/bin/mojo: error: failed to parse the provided Mojo source module" } ], "stdout": [], "timedOut": false, "truncated": false }, "code": -1, "didExecute": false, "execTime": 365, "okToCache": false, "queueTime": 4, "stderr": [ { "text": "Build failed" } ], "stdout": [], "timedOut": false }, "result": { "asm": null, "buildStderr": ":1:1: error: global variables are not supported; move this into a function body or use 'comptime' to declare a constant\nvar name_copy = list[2] # owned copy of list[2]\n^\n:3:1: error: backtick identifier must not be empty; add content between the backticks\n```\n^\n:2:1: error: expressions must not appear at file scope; move this into a function body\nref name_ref = list[2] # reference to list[2]\n^\n:3:3: error: unterminated backtick identifier\n```\n ^\n/opt/compiler-explorer/mojo-1.2.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.59, "sourceSha256": "89fa33c4756a969aa9522dd59a0b1d96be85507c79b300b86ba6da296b1a9660", "stdin": "" }