108 lines
3.7 KiB
JSON
Generated
108 lines
3.7 KiB
JSON
Generated
{
|
|
"args": "--target-cpu x86-64-v3 --fp-mode contract=off",
|
|
"askedAt": "2026-11-12T18:34:10+00:00",
|
|
"attempts": 1,
|
|
"compiler": "mojo_1_2_0",
|
|
"firstItem": "probes/min-of-list",
|
|
"key": "423d0f6609fcf44d8e69b446683ee3baa435944b47153d96b4c34a5e6d5e444b",
|
|
"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": 362,
|
|
"executableFilename": "/nosym/tmp/compiler-explorer-compiler59SDxL/output.s",
|
|
"inputFilename": "example.mojo",
|
|
"instructionSet": "amd64",
|
|
"okToCache": true,
|
|
"processExecutionResultTime": 0.07084999978542328,
|
|
"stderr": [
|
|
{
|
|
"tag": {
|
|
"column": 11,
|
|
"file": "example.mojo",
|
|
"line": 5,
|
|
"severity": 3,
|
|
"text": "error: no matching function in call to 'min'"
|
|
},
|
|
"text": "<source>:5:11: error: no matching function in call to 'min'"
|
|
},
|
|
{
|
|
"text": " print(min(xs))"
|
|
},
|
|
{
|
|
"text": " ^~~"
|
|
},
|
|
{
|
|
"text": "Imported from <source>:3:"
|
|
},
|
|
{
|
|
"text": "Mojo/stdlib/std/math/math.mojo:3654:1: note: candidate not viable: missing required argument: 'y'"
|
|
},
|
|
{
|
|
"text": "def min[dtype: DType, //](x: SIMD[dtype], y: SIMD[dtype, x.length], /) -> SIMD[dtype, x.length] # note - synthetic signature"
|
|
},
|
|
{
|
|
"text": "^"
|
|
},
|
|
{
|
|
"text": "Imported from <source>:3:"
|
|
},
|
|
{
|
|
"text": "Mojo/stdlib/std/math/math.mojo:3682:1: note: candidate not viable: value passed to 'x' cannot be converted from 'List[Int]' to 'T', argument type 'List[Int]' does not conform to trait 'Comparable & Copyable & Deinitable'"
|
|
},
|
|
{
|
|
"text": "def min[T: Comparable & Copyable & Deinitable](x: T, *ys: T) -> T # note - synthetic signature"
|
|
},
|
|
{
|
|
"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": 464,
|
|
"okToCache": false,
|
|
"queueTime": 6,
|
|
"stderr": [
|
|
{
|
|
"text": "Build failed"
|
|
}
|
|
],
|
|
"stdout": [],
|
|
"timedOut": false
|
|
},
|
|
"result": {
|
|
"asm": null,
|
|
"buildStderr": "<source>:5:11: error: no matching function in call to 'min'\n print(min(xs))\n ^~~\nImported from <source>:3:\nMojo/stdlib/std/math/math.mojo:3654:1: note: candidate not viable: missing required argument: 'y'\ndef min[dtype: DType, //](x: SIMD[dtype], y: SIMD[dtype, x.length], /) -> SIMD[dtype, x.length] # note - synthetic signature\n^\nImported from <source>:3:\nMojo/stdlib/std/math/math.mojo:3682:1: note: candidate not viable: value passed to 'x' cannot be converted from 'List[Int]' to 'T', argument type 'List[Int]' does not conform to trait 'Comparable & Copyable & Deinitable'\ndef min[T: Comparable & Copyable & Deinitable](x: T, *ys: T) -> T # note - synthetic signature\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.7,
|
|
"sourceSha256": "cf00f2efb525625c8ee79a5b05a29c274c1b9a580aedc8eba5b5269b3de3f0c2",
|
|
"stdin": ""
|
|
}
|