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

116 lines
3.5 KiB
JSON
Generated

{
"args": "--target-cpu x86-64-v3 --fp-mode contract=off",
"askedAt": "2026-11-12T18:21:52+00:00",
"attempts": 1,
"compiler": "mojo_1_2_0",
"firstItem": "manual/code/manual/errors/test_typed_errors_doc",
"key": "9444cc79c4e66bd7cdb10219493f04db2bec2a649c4cb9ebb39ea59671ff815b",
"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": 545,
"executableFilename": "/nosym/tmp/compiler-explorer-compiler4G65Qe/output.s",
"inputFilename": "example.mojo",
"instructionSet": "amd64",
"okToCache": true,
"processExecutionResultTime": 0.09370099985972047,
"stderr": [
{
"tag": {
"column": 6,
"file": "example.mojo",
"line": 15,
"severity": 3,
"text": "error: unable to locate module 'typed_errors'"
},
"text": "<source>:15:6: error: unable to locate module 'typed_errors'"
},
{
"text": "from typed_errors import ValidationError, validate_username"
},
{
"text": " ^"
},
{
"tag": {
"column": 23,
"file": "example.mojo",
"line": 36,
"severity": 3,
"text": "error: 'Error' value has no attribute 'field'"
},
"text": "<source>:36:23: error: 'Error' value has no attribute 'field'"
},
{
"text": " assert_equal(e.field, \"username\")"
},
{
"text": " ~^"
},
{
"tag": {
"column": 23,
"file": "example.mojo",
"line": 37,
"severity": 3,
"text": "error: 'Error' value has no attribute 'reason'"
},
"text": "<source>:37:23: error: 'Error' value has no attribute 'reason'"
},
{
"text": " assert_equal(e.reason, \"cannot be empty\")"
},
{
"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": 623,
"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'\nfrom typed_errors import ValidationError, validate_username\n ^\n<source>:36:23: error: 'Error' value has no attribute 'field'\n assert_equal(e.field, \"username\")\n ~^\n<source>:37:23: error: 'Error' value has no attribute 'reason'\n assert_equal(e.reason, \"cannot be empty\")\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.84,
"sourceSha256": "924e868730eaf8eb697f9f1a9655f825508e6a2c7ac10701af4f49a44336baac",
"stdin": ""
}