{ "args": "--target-cpu x86-64-v3 --fp-mode contract=off", "askedAt": "2026-11-12T18:22:09+00:00", "attempts": 1, "compiler": "mojo_1_2_0", "firstItem": "manual/code/manual/errors/typed_errors_testing", "key": "2ad0f1a55b237bfff98a025ddae232d7fca49634632dab04749bea71eb0e31ef", "mode": "run", "raw": { "buildResult": { "code": 0, "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" ], "defaultExecOptions": { "env": { "CPLUS_INCLUDE_PATH": "/usr/include/x86_64-linux-gnu", "C_INCLUDE_PATH": "/usr/include/x86_64-linux-gnu", "HOME": "/home/ce", "LD_LIBRARY_PATH": "", "LIBRARY_PATH": "/usr/lib/x86_64-linux-gnu", "MODULAR_CRASH_REPORTING_ENABLED": "false", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" }, "maxErrorOutput": 5000, "timeoutMs": 20000 }, "downloads": [], "execTime": 9931, "executableFilename": "/nosym/tmp/compiler-explorer-compilerrHgEVe/output.s", "inputFilename": "example.mojo", "instructionSet": "amd64", "okToCache": true, "packageStoreTime": 183, "preparedLdPaths": [ "/opt/compiler-explorer/mojo-1.2.0/lib", "/opt/compiler-explorer/mojo-1.2.0/lib32", "/opt/compiler-explorer/mojo-1.2.0/lib64" ], "processExecutionResultTime": 0.0028259996324777603, "stderr": [], "stdout": [], "timedOut": false, "truncated": false }, "code": 0, "didExecute": true, "execTime": 32, "okToCache": true, "processExecutionResultTime": 0.05518000014126301, "queueTime": 9, "stderr": [], "stdout": [ { "text": "=== Pattern 1: assert_raises ===" }, { "text": "Testing empty username..." }, { "text": " Passed: Error was raised" }, { "text": "Testing short username..." }, { "text": " Passed: Message contains expected text" }, { "text": "Testing field name in message..." }, { "text": " Passed: Field name found in message" }, { "text": "" }, { "text": "=== Pattern 2: Type verification ===" }, { "text": "Verified ValidationError with correct fields" }, { "text": "" }, { "text": "=== Pattern 3: Multiple scenarios ===" }, { "text": "Testing username validation scenarios..." }, { "text": " All scenarios passed" }, { "text": "Testing config loading..." }, { "text": " All scenarios passed" }, { "text": "" }, { "text": "=== Pattern 4: Error type workaround ===" }, { "text": "Error was raised and caught correctly" }, { "text": "" }, { "text": "All demonstrations completed successfully!" } ], "timedOut": false, "truncated": false }, "result": { "asm": null, "buildStderr": "", "compiled": true, "executed": true, "exitCode": 0, "stderr": "", "stdout": "=== Pattern 1: assert_raises ===\nTesting empty username...\n Passed: Error was raised\nTesting short username...\n Passed: Message contains expected text\nTesting field name in message...\n Passed: Field name found in message\n\n=== Pattern 2: Type verification ===\nVerified ValidationError with correct fields\n\n=== Pattern 3: Multiple scenarios ===\nTesting username validation scenarios...\n All scenarios passed\nTesting config loading...\n All scenarios passed\n\n=== Pattern 4: Error type workaround ===\nError was raised and caught correctly\n\nAll demonstrations completed successfully!", "timedOut": false }, "seconds": 10.46, "sourceSha256": "8480fe511d7912bbf0dbb1b72a776b71db3021a7eb4a85cb53035e7fc656b848", "stdin": "" }