Files
pplus-library/mojo/golden/4fe64c71de41b4bb5d00e41e8ca1f676cb0b9791c7a23cbeaad5c3a00261448f.json
alexm 568474d52f
Test (in pplus-core) / in-core (push) Failing after 28m44s
Initial commit
2026-11-12 22:23:48 -05:00

148 lines
5.0 KiB
JSON
Generated

{
"args": "--target-cpu x86-64-v3 --fp-mode contract=off",
"askedAt": "2026-11-12T18:29:45+00:00",
"attempts": 1,
"compiler": "mojo_1_2_0",
"firstItem": "manual/snippet/manual-parameters-index-4",
"key": "4fe64c71de41b4bb5d00e41e8ca1f676cb0b9791c7a23cbeaad5c3a00261448f",
"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": 119,
"executableFilename": "/nosym/tmp/compiler-explorer-compiler99aQCt/output.s",
"inputFilename": "example.mojo",
"instructionSet": "amd64",
"okToCache": true,
"processExecutionResultTime": 0.04784100130200386,
"stderr": [
{
"tag": {
"column": 1,
"file": "example.mojo",
"line": 2,
"severity": 3,
"text": "error: global variables are not supported; move this into a function body or use 'comptime' to declare a constant"
},
"text": "<source>:2:1: error: global variables are not supported; move this into a function body or use 'comptime' to declare a constant"
},
{
"text": "var small_vec = SIMD[DType.float32, 4](1.0, 2.0, 3.0, 4.0)"
},
{
"text": "^"
},
{
"tag": {
"column": 1,
"file": "example.mojo",
"line": 5,
"severity": 3,
"text": "error: global variables are not supported; move this into a function body or use 'comptime' to declare a constant"
},
"text": "<source>:5:1: error: global variables are not supported; move this into a function body or use 'comptime' to declare a constant"
},
{
"text": "var big_vec = SIMD[DType.float16, 32](1.0)"
},
{
"text": "^"
},
{
"tag": {
"column": 1,
"file": "example.mojo",
"line": 8,
"severity": 3,
"text": "error: global variables are not supported; move this into a function body or use 'comptime' to declare a constant"
},
"text": "<source>:8:1: error: global variables are not supported; move this into a function body or use 'comptime' to declare a constant"
},
{
"text": "var bigger_vec = (big_vec + big_vec).cast[DType.float32]()"
},
{
"text": "^"
},
{
"tag": {
"column": 1,
"file": "example.mojo",
"line": 9,
"severity": 3,
"text": "error: backtick identifier must not be empty; add content between the backticks"
},
"text": "<source>:9:1: error: backtick identifier must not be empty; add content between the backticks"
},
{
"text": "```"
},
{
"text": "^"
},
{
"tag": {
"column": 3,
"file": "example.mojo",
"line": 9,
"severity": 3,
"text": "error: unterminated backtick identifier"
},
"text": "<source>:9: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": 208,
"okToCache": false,
"queueTime": 4,
"stderr": [
{
"text": "Build failed"
}
],
"stdout": [],
"timedOut": false
},
"result": {
"asm": null,
"buildStderr": "<source>:2:1: error: global variables are not supported; move this into a function body or use 'comptime' to declare a constant\nvar small_vec = SIMD[DType.float32, 4](1.0, 2.0, 3.0, 4.0)\n^\n<source>:5:1: error: global variables are not supported; move this into a function body or use 'comptime' to declare a constant\nvar big_vec = SIMD[DType.float16, 32](1.0)\n^\n<source>:8:1: error: global variables are not supported; move this into a function body or use 'comptime' to declare a constant\nvar bigger_vec = (big_vec + big_vec).cast[DType.float32]()\n^\n<source>:9:1: error: backtick identifier must not be empty; add content between the backticks\n```\n^\n<source>:9: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.42,
"sourceSha256": "e445444f987c9e76d43a21ac448f849a1526868d14b85e5f2afe56be968ef08d",
"stdin": ""
}