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

90 lines
3.0 KiB
JSON

{
"args": "",
"askedAt": "2026-10-03T14:25:55+00:00",
"compiler": "mojo_1_1_0",
"firstItem": "probes/check-aliasing",
"key": "cbe155ce01fb6c0f1c3e57eb9a75902ece00f32af1a46514e579f8a0acc10ed8",
"mode": "run",
"raw": {
"buildResult": {
"code": 1,
"compilationOptions": [
"build",
"/app/example.mojo"
],
"downloads": [],
"execTime": 193,
"executableFilename": "/nosym/tmp/compiler-explorer-compilersqlXlY/example",
"inputFilename": "example.mojo",
"instructionSet": "amd64",
"okToCache": true,
"processExecutionResultTime": 0.053588997572660446,
"stderr": [
{
"tag": {
"column": 17,
"file": "example.mojo",
"line": 10,
"severity": 3,
"text": "error: aliasing values passed mutably to 's' argument and passed immutably to 'other' argument in 'append_twice' call"
},
"text": "<source>:10:17: error: aliasing values passed mutably to 's' argument and passed immutably to 'other' argument in 'append_twice' call"
},
{
"text": " append_twice(my_string, my_string)"
},
{
"text": " ^~~~~~~~~~ ~~~~~~~~~"
},
{
"tag": {
"column": 17,
"file": "example.mojo",
"line": 10,
"severity": 1,
"text": "note: 'origin_of(my_string)' value is passed through aliasing 'imm' argument 'other'"
},
"text": "<source>:10:17: note: 'origin_of(my_string)' value is passed through aliasing 'imm' argument 'other'"
},
{
"text": " append_twice(my_string, my_string)"
},
{
"text": " ^ ~~~~~~~~~"
},
{
"text": "/opt/compiler-explorer/mojo-1.1.0/bin/mojo: error: failed to parse the provided Mojo source module"
}
],
"stdout": [],
"timedOut": false,
"truncated": false
},
"code": -1,
"didExecute": false,
"execTime": 273,
"okToCache": false,
"queueTime": 4,
"stderr": [
{
"text": "Build failed"
}
],
"stdout": [],
"timedOut": false
},
"result": {
"asm": null,
"buildStderr": "<source>:10:17: error: aliasing values passed mutably to 's' argument and passed immutably to 'other' argument in 'append_twice' call\n append_twice(my_string, my_string)\n ^~~~~~~~~~ ~~~~~~~~~\n<source>:10:17: note: 'origin_of(my_string)' value is passed through aliasing 'imm' argument 'other'\n append_twice(my_string, my_string)\n ^ ~~~~~~~~~\n/opt/compiler-explorer/mojo-1.1.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.49,
"sourceSha256": "3cf1402abf027299d54bb8feed28ee9317f700548d3231e4e9606e56c8445698",
"stdin": ""
}