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

86 lines
2.6 KiB
JSON

{
"args": "",
"askedAt": "2026-10-03T14:26:23+00:00",
"compiler": "mojo_1_1_0",
"firstItem": "probes/float-mixed",
"key": "0b318b0cba50736417d5b17b99db4a9399c0ad3f98dbf69de4f35bcb3ddaa327",
"mode": "run",
"raw": {
"buildResult": {
"code": 1,
"compilationOptions": [
"build",
"/app/example.mojo"
],
"downloads": [],
"execTime": 206,
"executableFilename": "/nosym/tmp/compiler-explorer-compiler7n9zRf/example",
"inputFilename": "example.mojo",
"instructionSet": "amd64",
"okToCache": true,
"processExecutionResultTime": 0.06382899964228272,
"stderr": [
{
"tag": {
"column": 15,
"file": "example.mojo",
"line": 5,
"severity": 3,
"text": "error: invalid call to '__mul__': value passed to 'rhs' cannot be converted from 'Float64' to 'Int'"
},
"text": "<source>:5:15: error: invalid call to '__mul__': value passed to 'rhs' cannot be converted from 'Float64' to 'Int'"
},
{
"text": " print(n * x)"
},
{
"text": " ~~~~^"
},
{
"text": "Imported from <source>:2:"
},
{
"text": "Mojo/stdlib/std/simd.mojo:1102:1: note: function declared here"
},
{
"text": "def __mul__(self, rhs: Self) -> Self # note - synthetic signature"
},
{
"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": 285,
"okToCache": false,
"queueTime": 4,
"stderr": [
{
"text": "Build failed"
}
],
"stdout": [],
"timedOut": false
},
"result": {
"asm": null,
"buildStderr": "<source>:5:15: error: invalid call to '__mul__': value passed to 'rhs' cannot be converted from 'Float64' to 'Int'\n print(n * x)\n ~~~~^\nImported from <source>:2:\nMojo/stdlib/std/simd.mojo:1102:1: note: function declared here\ndef __mul__(self, rhs: Self) -> Self # note - synthetic signature\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": "eab5c37fd25260c37c16f139de0a5eff661d91fe0466037753de5a40bc348407",
"stdin": ""
}