100 lines
2.9 KiB
JSON
Generated
100 lines
2.9 KiB
JSON
Generated
{
|
|
"args": "--target-cpu x86-64-v3 --fp-mode contract=off",
|
|
"askedAt": "2026-11-12T18:21:50+00:00",
|
|
"attempts": 1,
|
|
"compiler": "mojo_1_2_0",
|
|
"firstItem": "manual/code/manual/errors/test_error_interaction",
|
|
"key": "7464ae8ccf2a9e6144e013b26793ff138aee6ef844f8f379043a9f6f785155a6",
|
|
"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": 379,
|
|
"executableFilename": "/nosym/tmp/compiler-explorer-compilerxaP1sJ/output.s",
|
|
"inputFilename": "example.mojo",
|
|
"instructionSet": "amd64",
|
|
"okToCache": true,
|
|
"processExecutionResultTime": 0.061430998146533966,
|
|
"stderr": [
|
|
{
|
|
"tag": {
|
|
"column": 6,
|
|
"file": "example.mojo",
|
|
"line": 15,
|
|
"severity": 3,
|
|
"text": "error: unable to locate module 'error_interaction'"
|
|
},
|
|
"text": "<source>:15:6: error: unable to locate module 'error_interaction'"
|
|
},
|
|
{
|
|
"text": "from error_interaction import ("
|
|
},
|
|
{
|
|
"text": " ^"
|
|
},
|
|
{
|
|
"tag": {
|
|
"column": 23,
|
|
"file": "example.mojo",
|
|
"line": 35,
|
|
"severity": 3,
|
|
"text": "error: 'Error' value has no attribute 'field'"
|
|
},
|
|
"text": "<source>:35:23: error: 'Error' value has no attribute 'field'"
|
|
},
|
|
{
|
|
"text": " assert_equal(e.field, \"value\")"
|
|
},
|
|
{
|
|
"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": 472,
|
|
"okToCache": false,
|
|
"queueTime": 5,
|
|
"stderr": [
|
|
{
|
|
"text": "Build failed"
|
|
}
|
|
],
|
|
"stdout": [],
|
|
"timedOut": false
|
|
},
|
|
"result": {
|
|
"asm": null,
|
|
"buildStderr": "<source>:15:6: error: unable to locate module 'error_interaction'\nfrom error_interaction import (\n ^\n<source>:35:23: error: 'Error' value has no attribute 'field'\n assert_equal(e.field, \"value\")\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": "818c6d6f2f5e6926f56bd5a01b1f85df2de8c0be38bff157f7f8052c7977c888",
|
|
"stdin": ""
|
|
}
|