Baseline: tree as shared
This commit is contained in:
commit
659c03bbf8
1471 files changed
+990535
No files matched your search
@@ -0,0 +1,217 @@
|
||||
{
|
||||
"args": "",
|
||||
"askedAt": "2026-10-03T14:18:10+00:00",
|
||||
"compiler": "mojo_1_1_0",
|
||||
"firstItem": "manual/code/manual/errors/test_typed_errors_testing",
|
||||
"key": "8ef817a9673d70999ef655fb3fd1d9d21161d9578a879435608375c09aa9093b",
|
||||
"mode": "run",
|
||||
"raw": {
|
||||
"buildResult": {
|
||||
"code": 1,
|
||||
"compilationOptions": [
|
||||
"build",
|
||||
"/app/example.mojo"
|
||||
],
|
||||
"downloads": [],
|
||||
"execTime": 288,
|
||||
"executableFilename": "/nosym/tmp/compiler-explorer-compiler72aD4Q/example",
|
||||
"inputFilename": "example.mojo",
|
||||
"instructionSet": "amd64",
|
||||
"okToCache": true,
|
||||
"processExecutionResultTime": 0.09195899963378906,
|
||||
"stderr": [
|
||||
{
|
||||
"tag": {
|
||||
"column": 6,
|
||||
"file": "example.mojo",
|
||||
"line": 15,
|
||||
"severity": 3,
|
||||
"text": "error: unable to locate module 'typed_errors_testing'"
|
||||
},
|
||||
"text": "<source>:15:6: error: unable to locate module 'typed_errors_testing'"
|
||||
},
|
||||
{
|
||||
"text": "from typed_errors_testing import ("
|
||||
},
|
||||
{
|
||||
"text": " ^"
|
||||
},
|
||||
{
|
||||
"tag": {
|
||||
"column": 18,
|
||||
"file": "example.mojo",
|
||||
"line": 78,
|
||||
"severity": 3,
|
||||
"text": "error: 'Error' value has no attribute 'field'"
|
||||
},
|
||||
"text": "<source>:78:18: error: 'Error' value has no attribute 'field'"
|
||||
},
|
||||
{
|
||||
"text": " field = e.field"
|
||||
},
|
||||
{
|
||||
"text": " ~^"
|
||||
},
|
||||
{
|
||||
"tag": {
|
||||
"column": 19,
|
||||
"file": "example.mojo",
|
||||
"line": 79,
|
||||
"severity": 3,
|
||||
"text": "error: 'Error' value has no attribute 'reason'"
|
||||
},
|
||||
"text": "<source>:79:19: error: 'Error' value has no attribute 'reason'"
|
||||
},
|
||||
{
|
||||
"text": " reason = e.reason"
|
||||
},
|
||||
{
|
||||
"text": " ~^"
|
||||
},
|
||||
{
|
||||
"tag": {
|
||||
"column": 16,
|
||||
"file": "example.mojo",
|
||||
"line": 93,
|
||||
"severity": 3,
|
||||
"text": "error: 'Error' value has no attribute 'key'"
|
||||
},
|
||||
"text": "<source>:93:16: error: 'Error' value has no attribute 'key'"
|
||||
},
|
||||
{
|
||||
"text": " key = e.key"
|
||||
},
|
||||
{
|
||||
"text": " ~^"
|
||||
},
|
||||
{
|
||||
"tag": {
|
||||
"column": 20,
|
||||
"file": "example.mojo",
|
||||
"line": 94,
|
||||
"severity": 3,
|
||||
"text": "error: 'Error' value has no attribute 'message'"
|
||||
},
|
||||
"text": "<source>:94:20: error: 'Error' value has no attribute 'message'"
|
||||
},
|
||||
{
|
||||
"text": " message = e.message"
|
||||
},
|
||||
{
|
||||
"text": " ~^"
|
||||
},
|
||||
{
|
||||
"tag": {
|
||||
"column": 18,
|
||||
"file": "example.mojo",
|
||||
"line": 108,
|
||||
"severity": 3,
|
||||
"text": "error: 'Error' value has no attribute 'field'"
|
||||
},
|
||||
"text": "<source>:108:18: error: 'Error' value has no attribute 'field'"
|
||||
},
|
||||
{
|
||||
"text": " field = e.field"
|
||||
},
|
||||
{
|
||||
"text": " ~^"
|
||||
},
|
||||
{
|
||||
"tag": {
|
||||
"column": 19,
|
||||
"file": "example.mojo",
|
||||
"line": 109,
|
||||
"severity": 3,
|
||||
"text": "error: 'Error' value has no attribute 'reason'"
|
||||
},
|
||||
"text": "<source>:109:19: error: 'Error' value has no attribute 'reason'"
|
||||
},
|
||||
{
|
||||
"text": " reason = e.reason"
|
||||
},
|
||||
{
|
||||
"text": " ~^"
|
||||
},
|
||||
{
|
||||
"tag": {
|
||||
"column": 14,
|
||||
"file": "example.mojo",
|
||||
"line": 127,
|
||||
"severity": 3,
|
||||
"text": "error: 'Error' value has no attribute 'field'"
|
||||
},
|
||||
"text": "<source>:127:14: error: 'Error' value has no attribute 'field'"
|
||||
},
|
||||
{
|
||||
"text": " _ = e.field # Proves type"
|
||||
},
|
||||
{
|
||||
"text": " ~^"
|
||||
},
|
||||
{
|
||||
"tag": {
|
||||
"column": 23,
|
||||
"file": "example.mojo",
|
||||
"line": 152,
|
||||
"severity": 3,
|
||||
"text": "error: 'Error' value has no attribute 'reason'"
|
||||
},
|
||||
"text": "<source>:152:23: error: 'Error' value has no attribute 'reason'"
|
||||
},
|
||||
{
|
||||
"text": " assert_equal(e.reason, \"cannot be empty\")"
|
||||
},
|
||||
{
|
||||
"text": " ~^"
|
||||
},
|
||||
{
|
||||
"tag": {
|
||||
"column": 23,
|
||||
"file": "example.mojo",
|
||||
"line": 158,
|
||||
"severity": 3,
|
||||
"text": "error: 'Error' value has no attribute 'reason'"
|
||||
},
|
||||
"text": "<source>:158:23: error: 'Error' value has no attribute 'reason'"
|
||||
},
|
||||
{
|
||||
"text": " assert_equal(e.reason, \"must be at least 3 characters\")"
|
||||
},
|
||||
{
|
||||
"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": 367,
|
||||
"okToCache": false,
|
||||
"queueTime": 7,
|
||||
"stderr": [
|
||||
{
|
||||
"text": "Build failed"
|
||||
}
|
||||
],
|
||||
"stdout": [],
|
||||
"timedOut": false
|
||||
},
|
||||
"result": {
|
||||
"asm": null,
|
||||
"buildStderr": "<source>:15:6: error: unable to locate module 'typed_errors_testing'\nfrom typed_errors_testing import (\n ^\n<source>:78:18: error: 'Error' value has no attribute 'field'\n field = e.field\n ~^\n<source>:79:19: error: 'Error' value has no attribute 'reason'\n reason = e.reason\n ~^\n<source>:93:16: error: 'Error' value has no attribute 'key'\n key = e.key\n ~^\n<source>:94:20: error: 'Error' value has no attribute 'message'\n message = e.message\n ~^\n<source>:108:18: error: 'Error' value has no attribute 'field'\n field = e.field\n ~^\n<source>:109:19: error: 'Error' value has no attribute 'reason'\n reason = e.reason\n ~^\n<source>:127:14: error: 'Error' value has no attribute 'field'\n _ = e.field # Proves type\n ~^\n<source>:152:23: error: 'Error' value has no attribute 'reason'\n assert_equal(e.reason, \"cannot be empty\")\n ~^\n<source>:158:23: error: 'Error' value has no attribute 'reason'\n assert_equal(e.reason, \"must be at least 3 characters\")\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.58,
|
||||
"sourceSha256": "6ed21a4bbcd317b1b3931cfe9b96054d777ba78a5327ca8ee673bce5839fc727",
|
||||
"stdin": ""
|
||||
}
|
||||
Reference in new issue
Block a user