Files
pplus-library/mojo/golden/cf2886ab7037e75c89d226a6e3e5d89fc4243ca7469c553e477ca6407ff20781.json
alexm 568474d52f
Test (in pplus-core) / in-core (push) Failing after 28m44s
Initial commit
2026-11-12 22:23:48 -05:00

308 lines
11 KiB
JSON
Generated

{
"args": "--target-cpu x86-64-v3 --fp-mode contract=off",
"askedAt": "2026-11-12T18:21:53+00:00",
"attempts": 1,
"compiler": "mojo_1_2_0",
"firstItem": "manual/code/manual/errors/test_typed_errors_edge_cases",
"key": "cf2886ab7037e75c89d226a6e3e5d89fc4243ca7469c553e477ca6407ff20781",
"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": 548,
"executableFilename": "/nosym/tmp/compiler-explorer-compilerJBcK8w/output.s",
"inputFilename": "example.mojo",
"instructionSet": "amd64",
"okToCache": true,
"processExecutionResultTime": 0.1586769986897707,
"stderr": [
{
"tag": {
"column": 6,
"file": "example.mojo",
"line": 15,
"severity": 3,
"text": "error: unable to locate module 'typed_errors_edge_cases'"
},
"text": "<source>:15:6: error: unable to locate module 'typed_errors_edge_cases'"
},
{
"text": "from typed_errors_edge_cases import ("
},
{
"text": " ^"
},
{
"tag": {
"column": 23,
"file": "example.mojo",
"line": 38,
"severity": 3,
"text": "error: 'Error' value has no attribute 'code'"
},
"text": "<source>:38:23: error: 'Error' value has no attribute 'code'"
},
{
"text": " assert_equal(e.code, 404)"
},
{
"text": " ~^"
},
{
"tag": {
"column": 23,
"file": "example.mojo",
"line": 39,
"severity": 3,
"text": "error: 'Error' value has no attribute 'message'"
},
"text": "<source>:39:23: error: 'Error' value has no attribute 'message'"
},
{
"text": " assert_equal(e.message, \"Resource not found\")"
},
{
"text": " ~^"
},
{
"tag": {
"column": 23,
"file": "example.mojo",
"line": 47,
"severity": 3,
"text": "error: 'Error' value has no attribute 'position'"
},
"text": "<source>:47:23: error: 'Error' value has no attribute 'position'"
},
{
"text": " assert_equal(e.position, 0)"
},
{
"text": " ~^"
},
{
"tag": {
"column": 23,
"file": "example.mojo",
"line": 48,
"severity": 3,
"text": "error: 'Error' value has no attribute 'expected'"
},
"text": "<source>:48:23: error: 'Error' value has no attribute 'expected'"
},
{
"text": " assert_equal(e.expected, \"integer\")"
},
{
"text": " ~^"
},
{
"tag": {
"column": 23,
"file": "example.mojo",
"line": 56,
"severity": 3,
"text": "error: 'Error' value has no attribute 'source'"
},
"text": "<source>:56:23: error: 'Error' value has no attribute 'source'"
},
{
"text": " assert_equal(e.source, \"network\")"
},
{
"text": " ~^"
},
{
"tag": {
"column": 22,
"file": "example.mojo",
"line": 57,
"severity": 3,
"text": "error: 'Error' value has no attribute 'details'"
},
"text": "<source>:57:22: error: 'Error' value has no attribute 'details'"
},
{
"text": " assert_true(e.details.find(\"NetworkError\") >= 0)"
},
{
"text": " ~^"
},
{
"tag": {
"column": 23,
"file": "example.mojo",
"line": 77,
"severity": 3,
"text": "error: 'Error' value has no attribute 'code'"
},
"text": "<source>:77:23: error: 'Error' value has no attribute 'code'"
},
{
"text": " assert_equal(e.code, 500)"
},
{
"text": " ~^"
},
{
"tag": {
"column": 23,
"file": "example.mojo",
"line": 78,
"severity": 3,
"text": "error: 'Error' value has no attribute 'message'"
},
"text": "<source>:78:23: error: 'Error' value has no attribute 'message'"
},
{
"text": " assert_equal(e.message, \"Server error\")"
},
{
"text": " ~^"
},
{
"tag": {
"column": 23,
"file": "example.mojo",
"line": 86,
"severity": 3,
"text": "error: 'Error' value has no attribute 'code'"
},
"text": "<source>:86:23: error: 'Error' value has no attribute 'code'"
},
{
"text": " assert_equal(e.code, 404)"
},
{
"text": " ~^"
},
{
"tag": {
"column": 23,
"file": "example.mojo",
"line": 87,
"severity": 3,
"text": "error: 'Error' value has no attribute 'message'"
},
"text": "<source>:87:23: error: 'Error' value has no attribute 'message'"
},
{
"text": " assert_equal(e.message, \"Resource not found\")"
},
{
"text": " ~^"
},
{
"tag": {
"column": 23,
"file": "example.mojo",
"line": 95,
"severity": 3,
"text": "error: 'Error' value has no attribute 'source'"
},
"text": "<source>:95:23: error: 'Error' value has no attribute 'source'"
},
{
"text": " assert_equal(e.source, \"network\")"
},
{
"text": " ~^"
},
{
"tag": {
"column": 22,
"file": "example.mojo",
"line": 96,
"severity": 3,
"text": "error: 'Error' value has no attribute 'details'"
},
"text": "<source>:96:22: error: 'Error' value has no attribute 'details'"
},
{
"text": " assert_true(e.details.find(\"404\") >= 0)"
},
{
"text": " ~^"
},
{
"tag": {
"column": 23,
"file": "example.mojo",
"line": 104,
"severity": 3,
"text": "error: 'Error' value has no attribute 'code'"
},
"text": "<source>:104:23: error: 'Error' value has no attribute 'code'"
},
{
"text": " assert_equal(e.code, 404)"
},
{
"text": " ~^"
},
{
"tag": {
"column": 22,
"file": "example.mojo",
"line": 105,
"severity": 3,
"text": "error: 'Error' value has no attribute 'message'"
},
"text": "<source>:105:22: error: 'Error' value has no attribute 'message'"
},
{
"text": " assert_true(e.message.find(\"[Modified]\") >= 0)"
},
{
"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": 627,
"okToCache": false,
"queueTime": 5,
"stderr": [
{
"text": "Build failed"
}
],
"stdout": [],
"timedOut": false
},
"result": {
"asm": null,
"buildStderr": "<source>:15:6: error: unable to locate module 'typed_errors_edge_cases'\nfrom typed_errors_edge_cases import (\n ^\n<source>:38:23: error: 'Error' value has no attribute 'code'\n assert_equal(e.code, 404)\n ~^\n<source>:39:23: error: 'Error' value has no attribute 'message'\n assert_equal(e.message, \"Resource not found\")\n ~^\n<source>:47:23: error: 'Error' value has no attribute 'position'\n assert_equal(e.position, 0)\n ~^\n<source>:48:23: error: 'Error' value has no attribute 'expected'\n assert_equal(e.expected, \"integer\")\n ~^\n<source>:56:23: error: 'Error' value has no attribute 'source'\n assert_equal(e.source, \"network\")\n ~^\n<source>:57:22: error: 'Error' value has no attribute 'details'\n assert_true(e.details.find(\"NetworkError\") >= 0)\n ~^\n<source>:77:23: error: 'Error' value has no attribute 'code'\n assert_equal(e.code, 500)\n ~^\n<source>:78:23: error: 'Error' value has no attribute 'message'\n assert_equal(e.message, \"Server error\")\n ~^\n<source>:86:23: error: 'Error' value has no attribute 'code'\n assert_equal(e.code, 404)\n ~^\n<source>:87:23: error: 'Error' value has no attribute 'message'\n assert_equal(e.message, \"Resource not found\")\n ~^\n<source>:95:23: error: 'Error' value has no attribute 'source'\n assert_equal(e.source, \"network\")\n ~^\n<source>:96:22: error: 'Error' value has no attribute 'details'\n assert_true(e.details.find(\"404\") >= 0)\n ~^\n<source>:104:23: error: 'Error' value has no attribute 'code'\n assert_equal(e.code, 404)\n ~^\n<source>:105:22: error: 'Error' value has no attribute 'message'\n assert_true(e.message.find(\"[Modified]\") >= 0)\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.85,
"sourceSha256": "781de0abd1e2c5e283fec2286bf90191f4961e38974540d5cbf0874dcd0569ca",
"stdin": ""
}