164 lines
5.2 KiB
JSON
Generated
164 lines
5.2 KiB
JSON
Generated
{
|
|
"args": "--target-cpu x86-64-v3 --fp-mode contract=off",
|
|
"askedAt": "2026-11-12T18:29:42+00:00",
|
|
"attempts": 1,
|
|
"compiler": "mojo_1_2_0",
|
|
"firstItem": "manual/snippet/manual-errors-5",
|
|
"key": "19de0c7b0786e55a683459f1ec2bb6139153b469e7b5fc06bea05153227028c9",
|
|
"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": 417,
|
|
"executableFilename": "/nosym/tmp/compiler-explorer-compilerboWmeJ/output.s",
|
|
"inputFilename": "example.mojo",
|
|
"instructionSet": "amd64",
|
|
"okToCache": true,
|
|
"processExecutionResultTime": 0.13516599999275059,
|
|
"stderr": [
|
|
{
|
|
"tag": {
|
|
"column": 1,
|
|
"file": "example.mojo",
|
|
"line": 14,
|
|
"severity": 3,
|
|
"text": "error: backtick identifier must not be empty; add content between the backticks"
|
|
},
|
|
"text": "<source>:14:1: error: backtick identifier must not be empty; add content between the backticks"
|
|
},
|
|
{
|
|
"text": "```"
|
|
},
|
|
{
|
|
"text": "^"
|
|
},
|
|
{
|
|
"tag": {
|
|
"column": 3,
|
|
"file": "example.mojo",
|
|
"line": 14,
|
|
"severity": 3,
|
|
"text": "error: unterminated backtick identifier"
|
|
},
|
|
"text": "<source>:14:3: error: unterminated backtick identifier"
|
|
},
|
|
{
|
|
"text": "```"
|
|
},
|
|
{
|
|
"text": " ^"
|
|
},
|
|
{
|
|
"tag": {
|
|
"column": 25,
|
|
"file": "example.mojo",
|
|
"line": 4,
|
|
"severity": 3,
|
|
"text": "error: use of unknown declaration 'ValidationError'"
|
|
},
|
|
"text": "<source>:4:25: error: use of unknown declaration 'ValidationError'"
|
|
},
|
|
{
|
|
"text": "def typed_func() raises ValidationError -> Int:"
|
|
},
|
|
{
|
|
"text": " ^~~~~~~~~~~~~~~"
|
|
},
|
|
{
|
|
"tag": {
|
|
"column": 11,
|
|
"file": "example.mojo",
|
|
"line": 5,
|
|
"severity": 3,
|
|
"text": "error: use of unknown declaration 'ValidationError'"
|
|
},
|
|
"text": "<source>:5:11: error: use of unknown declaration 'ValidationError'"
|
|
},
|
|
{
|
|
"text": " raise ValidationError(field=\"x\", reason=\"invalid\")"
|
|
},
|
|
{
|
|
"text": " ^~~~~~~~~~~~~~~"
|
|
},
|
|
{
|
|
"tag": {
|
|
"column": 20,
|
|
"file": "example.mojo",
|
|
"line": 8,
|
|
"severity": 3,
|
|
"text": "error: use of unknown declaration 'ValidationError'"
|
|
},
|
|
"text": "<source>:8:20: error: use of unknown declaration 'ValidationError'"
|
|
},
|
|
{
|
|
"text": "def mixed() raises ValidationError:"
|
|
},
|
|
{
|
|
"text": " ^~~~~~~~~~~~~~~"
|
|
},
|
|
{
|
|
"tag": {
|
|
"column": 1,
|
|
"file": "example.mojo",
|
|
"line": 14,
|
|
"severity": 3,
|
|
"text": "error: backtick identifier must not be empty; add content between the backticks"
|
|
},
|
|
"text": "<source>:14:1: error: backtick identifier must not be empty; add content between the backticks"
|
|
},
|
|
{
|
|
"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": 509,
|
|
"okToCache": false,
|
|
"queueTime": 8,
|
|
"stderr": [
|
|
{
|
|
"text": "Build failed"
|
|
}
|
|
],
|
|
"stdout": [],
|
|
"timedOut": false
|
|
},
|
|
"result": {
|
|
"asm": null,
|
|
"buildStderr": "<source>:14:1: error: backtick identifier must not be empty; add content between the backticks\n```\n^\n<source>:14:3: error: unterminated backtick identifier\n```\n ^\n<source>:4:25: error: use of unknown declaration 'ValidationError'\ndef typed_func() raises ValidationError -> Int:\n ^~~~~~~~~~~~~~~\n<source>:5:11: error: use of unknown declaration 'ValidationError'\n raise ValidationError(field=\"x\", reason=\"invalid\")\n ^~~~~~~~~~~~~~~\n<source>:8:20: error: use of unknown declaration 'ValidationError'\ndef mixed() raises ValidationError:\n ^~~~~~~~~~~~~~~\n<source>:14:1: error: backtick identifier must not be empty; add content between the backticks\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.74,
|
|
"sourceSha256": "3934053cb567bfc410a8de5bcb37be3292eaf81f4a575ed15f4fdb4c2d0c15bf",
|
|
"stdin": ""
|
|
}
|